Read a policy
Changed onReads a policy.
Request
- Base URLhttps://api.nullplatform.com
- URLhttps://api.nullplatform.com/approval/policy/{id}
- AuthHTTP bearer
Path parameters
The ID of the policy.
Response
The operation was successful.
Example response
{
"id": 5678,
"nrn": "organization=1:account=2:namespace=3:application=4",
"name": "Crypto Kong Policies",
"slug": "crypto-kong-policies",
"status": "active",
"conditions": {
"scope.requested_spec.memory_in_gb": {
"$lte": 4
}
},
"selector": {
"service.spec.id": {
"$eq": 2
}
}
}Changes
- breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - info
media type
application/jsonwas changed to a more specific media typeapplication/problem+jsonfor the response status - info
media type
application/jsonwas changed to a more specific media typeapplication/problem+jsonfor the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
response property
messagedeprecated - info
response property
messagedeprecated - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking