mobileAppStoreLinks
Public: no authentication required.
Returns the Android and iOS store links for a mobile app, so a person can share the one that suits a colleague. Needs no sign-in.
Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.
Example:
- GraphQL
- cURL
query MobileAppStoreLinks($bundleId: String!) {
mobileAppStoreLinks(bundleId: $bundleId) {
androidUrl
iosUrl
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query MobileAppStoreLinks($bundleId: String!) {\n mobileAppStoreLinks(bundleId: $bundleId) {\n androidUrl\n iosUrl\n }\n}",
"variables": {
"bundleId": "string"
}
}
EOF
Variables:
{
"bundleId": "string"
}
Response:
{
"data": {
"mobileAppStoreLinks": {
"androidUrl": "string",
"iosUrl": "string"
}
}
}
mobileAppStoreLinks(
bundleId: String!
): MobileAppStoreLinks!
Arguments
mobileAppStoreLinks.bundleId ● String! non-null scalar
The app's bundle identifier.
Type
MobileAppStoreLinks object
Public store listing links for one published app, BOTH platforms at once. Separate from mobileAppUpdateStatus, which answers a version question for the CALLING platform only — 'share this app' needs the other platform's link too, and 'rate this app' must work for a client that is already up to date (where the update query legitimately has nothing to say).