/api/v2/bpm/permissions
Метод возвращает список всех возможных разрешений для ролей
Query Parameters
- offset integer
Параметр содержащий порядковый номер элемента, после которого будут показаны остальные результаты
Example: 9 - limit integer
Параметр содержащий максимальное кол-во элементов в ответе
Example: 100
Header Parameters
- Authorization stringExample: {{token}}
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 1,
"message": "",
"response": {
"permissions": [
{
"id": 341236,
"name": "allow: all",
"description": "All accesses. Admin"
},
{
"id": 341238,
"name": "deny: method[get] /nodes/<id>",
"description": "nodes"
},
{
"id": 341241,
"name": "deny: method[delete] /nodes",
"description": null
},
{
"id": 341235,
"name": "allow: method[get] /health/<any>",
"description": null
},
{
"id": 6,
"name": "allow: method[post] /step",
"description": "Allow to read process parts"
},
{
"id": 341242,
"name": "allow: method[get] /users/devices",
"description": null
},
{
"id": 341243,
"name": "allow: method[delete] /users/devices/<id>",
"description": null
},
{
"id": 341244,
"name": "allow: method /auth/jwt/3",
"description": "test"
}
],
"offset": 9,
"total": 17,
"all": 8
},
"preparingsTime": 0.279
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 0,
"message": "Authentication credentials were not provided.",
"response": {
"detail": "Authentication credentials were not provided."
},
"preparingsTime": 0.002
}
Loading...