Get constraint
GET/api/management/policy/constraint/:id
Get constraint based on its identifier
Request
Path Parameters
id numberrequired
Responses
- 200
- 403
- 404
- application/json
- Schema
- Example (from schema)
Schema
idnumber
typeConstraintType (string)required
Possible values: [ATOMIC
, LOGICAL
]
titlestringrequired
descriptionstring
{
"id": 0,
"type": "ATOMIC",
"title": "string",
"description": "string"
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
namestringrequired
statusstringrequired
codenumberrequired
messageobject
errorstring
{
"name": "string",
"status": "string",
"code": 0,
"message": {},
"error": "string"
}
Resource not found
- application/json
- Schema
- Example (from schema)
Schema
namestringrequired
statusstringrequired
codenumberrequired
messageobject
errorstring
{
"name": "string",
"status": "string",
"code": 0,
"message": {},
"error": "string"
}