/api/v2/bpm/roles/{role_id}
Метод возвращает информацию о роли по ID
Path Parameters
- role_id integer required
ID роли
Example: 3
Header Parameters
- Authorization stringExample: {{token}}
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 1,
"message": "",
"response": {
"id": 3,
"name": "User",
"description": null,
"permissions": [
6,
341242,
341243,
341244,
341247,
341248,
341236
]
},
"preparingsTime": 0.015
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 0,
"message": "Not found",
"response": {},
"preparingsTime": 0.042
}
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...