getApplicationID
get
/ccadmin/v1/applicationIds/{id}
Get Application ID. Returns an Application ID of type the specified type
Request
Supported Media Types
- application/json
Path Parameters
-
id: string
The ID of the Application ID to retrieve.
Query Parameters
-
type: string
The type of Application to retrieve.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : getApplicationID_response
Type:
Show Source
object
-
createdBy(optional):
object createdBy
information about the user who created the application.
-
creationTime(optional):
string
time application was creating in ISO 8601 format.
-
expirationTime(optional):
integer
The expiration time in seconds since epoch, after which the auth token for this application can no longer be used to acquire an access token. Only applicable for type application.
-
external(optional):
boolean
true if the application ID is external.
-
inUse(optional):
boolean
true if the application ID is currently being used.
-
name(optional):
string
the name of the application.
-
repositoryId(optional):
string
the id of the application ID item.
-
token(optional):
string
The auth token for the application, if of type application.
-
type(optional):
string
the type of application; can be application or extension.
Nested Schema : createdBy
Type:
object
information about the user who created the application.
Show Source
-
firstName(optional):
string
first name of the user.
-
lastName(optional):
string
last name of user.
-
repositoryId(optional):
string
the repository id of the user
Example Response (application/json)
{
"external":false,
"creationTime":"2014-05-08 17:17:02.399",
"createdBy":{
"lastName":"Admin",
"firstName":"Amber",
"repositoryId":"admin",
"id":"admin"
},
"expirationTime":1653596492,
"inUse":true,
"name":"another application name",
"repositoryId":"12c26908-6545-4947-a46c-9917236583c5",
"id":"12c26908-6545-4947-a46c-9917236583c5",
"type":"application",
"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0MDk4NTY1OTEsInN1YiI6ImFkbWluIiwiaXNzIjoiYWRtaW4iLCJpYXQiOjE0MDk3NzAxOTF9.T0kaE8Ib35R2XZzp0xk4FRP/266KD1cieZFpPijtniw="
}
Default Response
The error response
Root Schema : errorModel
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
errors(optional):
array errors
An optional list of errors if multiple errors were encountered
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code
-
type(optional):
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code