Roles
Role Get
Retreives a role and all its permissions.
Retreives a role and all its permissions.
GET
/roles/{role_id}storyden-session<token>
In: cookie
Path Parameters
role_idstring
Role ID
Format
xidResponse Body
curl -X GET "https://loading/api/roles/cc5lnd2s1s4652adtu50"{
"id": "cc5lnd2s1s4652adtu50",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"deletedAt": "2019-08-24T14:15:22Z",
"misc": {},
"name": "string",
"colour": "string",
"permissions": [
"CREATE_POST"
]
}Empty
Empty
{
"error": "string",
"message": "string",
"suggested": "string",
"metadata": {}
}