engine
policy list
Changed onlist policies of ids or between min-max ids
get/api/v1/engine/policies
Request
- The document declares no server URL.
- Auth
- API key in header X-Bk-App-Code
- or API key in header X-Bk-App-Secret
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"
}
]
}
}Changes
- info
added the new optional
queryrequest parametertype
- info
- warning
deleted the
queryrequest parametertype
- warning