roles (usersService)
Get roles list.
Get roles list.
get/company/v1/roles
Response
OK
Example response
{
"data": [
{
"title": "Admin",
"code": "ADMIN",
"userlist": [
{
"firstName": "Stas",
"lastName": "Raranetskyi",
"avatar": "path to avatar",
"dateUpdate": 1654180120
}
],
"departmentlist": [
{
"name": "Employee",
"dateUpdate": 1654180120
}
]
}
],
"meta": {
"currentPage": 1,
"from": 1,
"lastPage": 1,
"links": [
{
"label": "Previous"
}
],
"path": "https://domain.uspacy.ua/groups/v1/groups",
"perPage": 20,
"to": 2,
"total": 2
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.