Get constraint ODRL
GET/api/management/policy/constraint/:id/odrl
Get constraint based on its identifier and convert to ODRL
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"
}