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:
Description
Read Only:true
-
id:
integer
Title:
ID
Read Only:true
-
name:
string
Title:
Name
Read Only:true
- related: string
-
summary_fields:
string
Title:
Summary fields
Read Only:true
-
type:
string
Title:
Type
Read Only:true
-
url:
string
Title:
Url
Read Only:true