URLs
GET api/v1/{application}/{id}/roles/{roleid}.xml (or .json)
SHOW details for a role for an application.
GET api/v1/{application}/{id}/roles/{roleid}/permissions.xml (or .json)
SHOW details for a role with permissions for an application.
GET api/v1/roles/{roleid}.xml (or .json)
SHOW details for a role.
GET api/v1/roles/{roleid}/permissions.xml (or .json)
SHOW permissions for role.
请求参数
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
Application |
string |
Application |
是 |
||
Id |
int? |
Id |
是 |
||
RoleId |
int? |
Role Id |
是 |
||
IncludePermissions |
bool |
Include Permissions |
否 |
||
Include |
string |
Options for include are granted or denied. Ex: include=granted |
否 |