Retrieve an Application
get
/api/v2/applications/{id}/
Make GET request to this resource to retrieve a single application record containing the following fields:
id: Database ID for this application. (integer)type: Data type for this application. (choice)url: URL for this application. (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)created: Timestamp when this application was created. (datetime)modified: Timestamp when this application was last modified. (datetime)name: Name of this application. (string)description: Optional description of this application. (string)client_id: (string)client_secret: Used for more stringent verification of access to an application when creating a token. (string)client_type: Set to Public or Confidential depending on how secure the client device is. (choice)confidential: Confidentialpublic: Public
redirect_uris: Allowed URIs list, space separated (string)authorization_grant_type: The Grant type the user must use for acquire tokens for this application. (choice)authorization-code: Authorization codepassword: Resource owner password-based
skip_authorization: Set True to skip authorization step for completely trusted applications. (boolean)organization: Organization containing this application. (id)
Request
Supported Media Types
- application/json
Path Parameters
Query Parameters
-
search(optional): string
A search term.
Response
Supported Media Types
- application/json
200 Response
Example Response (application/json)
{
"authorization_grant_type":"password",
"client_id":"xxxx",
"client_secret":"************",
"client_type":"confidential",
"created":"2018-02-01T08:00:00.000000Z",
"description":"",
"id":1,
"modified":"2018-02-01T08:00:00.000000Z",
"name":"test app",
"organization":null,
"redirect_uris":"",
"related":{
"activity_stream":"/api/v2/applications/1/activity_stream/",
"tokens":"/api/v2/applications/1/tokens/"
},
"skip_authorization":false,
"summary_fields":{
"tokens":{
"count":0,
"results":[
]
},
"user":{
"first_name":"",
"id":1,
"last_name":"",
"username":"admin"
},
"user_capabilities":{
"delete":true,
"edit":true
}
},
"type":"o_auth2_application",
"url":"/api/v2/applications/1/"
}