v1
latestSwagger 2.02026-07-175271155.8 KBengine
policy list
list policies of ids or between min-max ids
get/api/v1/engine/policies
Query parameters
idsstring
max_idinteger
min_idinteger
timestampinteger
type'abac' | 'rbac'
Response
OK
Example response
{
"data": {
"metadata": {
"ids": "1,2,3",
"max_id": 10001,
"min_id": 1,
"timestamp": 1592899208,
"type": "abac"
},
"results": [
{
"actions": [
{
"id": "edit"
}
],
"expired_at": 4102444800,
"id": 100,
"subject": {
"id": "admin",
"name": "Administer",
"type": "user"
},
"system": "bk_cmdb",
"updated_at": 4102444800,
"version": "1"
}
]
}
}