GET/trusted-policies-registry/v3/policies/:policyName
Returns a trusted policy identified by its name.
Request
Path Parameters
Responses
- 200
- 404
- 500
Success
- application/json
- Schema
- Success
Schema
Unique policy ID
policy description
Name of the policy
Status of the policy (false = inactive, true = active)
{
"policyId": "0",
"description": "description-test-036ccfd98b88a9c3ad1a23e730bc414f",
"policyName": "policy-test-fd0010fa07c2ff3eba04a46547687d17",
"status": true
}
Not found
- application/problem+json
- Schema
- Policy Not Found
Schema
Default value: about:blank
An absolute URI that identifies the problem type. When dereferenced, it SHOULD provide human-readable documentation for the problem type.
A short summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code generated by the origin server for this occurrence of the problem.
A human readable explanation specific to this occurrence of the problem.
An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"title": "Not found",
"status": 404,
"detail": "Not found"
}
Internal Error
- application/problem+json
- Schema
- Internal Server Error
Schema
Default value: about:blank
An absolute URI that identifies the problem type. When dereferenced, it SHOULD provide human-readable documentation for the problem type.
A short summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code generated by the origin server for this occurrence of the problem.
A human readable explanation specific to this occurrence of the problem.
An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"title": "Internal Server Error",
"status": 500,
"detail": "The server encountered an internal error and was unable to process your request."
}