Summary
Get an individual role.
Description
Get an individual role
Route
GET /authorization/roles/:roleId
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
roleId |
string |
yes |
The id for the requested role. |
Copied to Clipboard
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
The individual role document. |
Copied to Clipboard
{
"provenance": "Custom",
"name": "role_1",
"description": "description of role_1",
"allowedMethods": [
{
"name": "methodName",
"provenance": "ApplicationName"
},
{
"name": "methodName",
"provenance": "ApplicationName"
},
{
"name": "methodName",
"provenance": "ApplicationName"
},
{
"name": "methodName",
"provenance": "ApplicationName"
},
{
"name": "methodName",
"provenance": "ApplicationName"
}
],
"allowedViews": [
{
"path": "/manual/task/path",
"provenance": "ApplicationName"
},
{
"path": "/manual/task/path",
"provenance": "ApplicationName"
},
{
"path": "/manual/task/path",
"provenance": "ApplicationName"
}
],
"_meta": {
"created": "2018-08-02T15:56:12.912Z",
"updated": "2018-08-02T15:56:12.912Z"
}
}