query ApplicationById($id: ID!) {
applicationById(id: $id) {
accessToken {
expiresIn
token
}
apiVersionId
clientId
clientSecret
createdAt
createdBy
}
}{
"id": "id"
}{
"data": {
"applicationById": {
"accessToken": {
"expiresIn": 1,
"token": "string"
},
"apiVersionId": "value",
"clientId": "string",
"clientSecret": "string",
"createdAt": "value",
"createdBy": "value"
}
}
}applicationById
Gets an application made with createApplication by its global id. Fails with NotFoundError when no such application has it.
applicationById(id: ID!): Application!Arguments
Global id of the application (Application.id).
Returns
New bearer token for the version's API, issued to this application on every read. Send it when the version is PROTECTED.
Raw id (a UUID) of the API version the application calls. apiVersionById takes the global ApiVersion.id.
Client id of the application's credentials. Null when it has none.
Client secret that goes with clientId. Keep it private.
When the application was created (UTC).
Id of the user or application that created the application.
Name of the application.
Version tag for optimistic concurrency. Pass back the value you last read when you change the item.
Global id of the application. applicationById and the application mutations take it; applicationById finds only applications made with createApplication.
When the application last changed (UTC).
Id of the user or application that last changed the item. Null if not recorded.
Labels for grouping and filtering applications.
query ApplicationById($id: ID!) {
applicationById(id: $id) {
accessToken {
expiresIn
token
}
apiVersionId
clientId
clientSecret
createdAt
createdBy
}
}{
"id": "id"
}{
"data": {
"applicationById": {
"accessToken": {
"expiresIn": 1,
"token": "string"
},
"apiVersionId": "value",
"clientId": "string",
"clientSecret": "string",
"createdAt": "value",
"createdBy": "value"
}
}
}Was this page helpful?