Retrieve a Role
get
/api/v2/roles/{id}/
Make GET request to this resource to retrieve a single role record containing the following fields:
id: Database ID for this role. (integer)type: Data type for this role. (choice)url: URL for this role. (string)related: Data structure with URLs of related resources. (object)summary_fields: Data structure with name/description for related resources. The output for some objects may be limited for performance reasons. (object)name: Name of this role. (field)description: Optional description of this role. (field)
Request
Supported Media Types
- application/json
Path Parameters
Back to Top
Response
Supported Media Types
- application/json
200 Response
Root Schema : Role
Type:
Show Source
object-
description:
string
Title:
DescriptionRead Only:true -
id:
integer
Title:
IDRead Only:true -
name:
string
Title:
NameRead Only:true - related: string
-
summary_fields:
string
Title:
Summary fieldsRead Only:true -
type:
string
Title:
TypeRead Only:true -
url:
string
Title:
UrlRead Only:true