/api/v2/bpm/permissions/{permission_id}
Метод возвращает разрешение по ID
Path Parameters
- permission_id integer required
ID разрешения. Чаще всего это запрет или разрешение на использование какого-то эндпоинта
Example: 341246
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 1,
"message": "",
"response": {
"id": 8,
"name": "permission_generate_permission",
"description": "The XML feed is down, bypass the wireless array so we can copy the RAM hard drive!"
},
"preparingsTime": 0.054
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 0,
"message": "Permission not found",
"response": {},
"preparingsTime": 0.052
}
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...