Get constraint by ODRL
POST/api/management/policy/constraint/odrl
Get constraint based on an ODRL constraint
Request
- application/json
Body
required
string
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"
}