Retrieve rules
GET/api/management/policy/rule
Retrieve rule templates registered in this control plane
Request
Responses
- 200
- 403
- application/json
- Schema
- Example (from schema)
Schema
Array [
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"
}