policy

policy query/策略查询

query the policy by conditions: system/subject/action and resources[optional]

post/api/v1/policy/query

Request body

systemstring required

Example request

{
  "action": {
    "id": "edit"
  },
  "resources": [
    {
      "id": "framework",
      "system": "bk_paas",
      "type": "app"
    }
  ],
  "system": "bk_paas"
}

Response

OK

codeinteger
dataobject
messagestring

Changes