Skip to content
gist.link ↗

recordAppLaunch

Mutation Dashboard API — POST https://dashboard.api.gist.link/graphql

Record that the current user opened an app; returns the updated recents list (newest first). Any authenticated user.

dashboard:mutation:recordAppLaunch

The calling IAM key must hold this permission (or a wildcard that covers it: dashboard:mutation:* or dashboard:*) and the access token must have been minted with audience=dashboard. See Permissions.

type Mutation {
recordAppLaunch(key: String!): [String!]!
}
Argument Type Required Description
key String! Yes —

[String!]!.

Terminal window
curl https://dashboard.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "mutation RecordAppLaunch($key: String!) { recordAppLaunch(key: $key) }",
"variables": {
"key": "example"
}
}
JSON