Get rule ODRL
GET/api/management/policy/rule/:id/odrl
Get rule ODRL based on its identifier
Request
Path Parameters
id numberrequired
ruleType stringrequired
target stringrequired
Responses
- 200
- 403
- 404
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
idnumber
actionstring[]required
assigneestring[]
constraints
object[]
required
idnumber
typeConstraintType (string)required
Possible values: [ATOMIC
, LOGICAL
]
titlestringrequired
descriptionstring
dutiesundefined[]required
typeRuleType (string)
Possible values: [PERMISSION
, PROHIBITION
, DUTY
]
targetstring
{
"id": 0,
"action": [
"string"
],
"assignee": [
"string"
],
"constraints": [
{
"id": 0,
"type": "ATOMIC",
"title": "string",
"description": "string"
}
],
"duties": [
null
],
"type": "PERMISSION",
"target": "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"
}