文章 Show Role REST 端点

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