advancePrivateAppRollout
Requires permission settings:apps:manage.
Widen a running rollout to a larger share of installations, or to all of them.
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
mutation AdvancePrivateAppRollout($input: AdvancePrivateAppRolloutInputGql!) {
advancePrivateAppRollout(input: $input) {
canaryInstallationId
failed
fromVersionId
moved
percent
stage
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "mutation AdvancePrivateAppRollout($input: AdvancePrivateAppRolloutInputGql!) {\n advancePrivateAppRollout(input: $input) {\n canaryInstallationId\n failed\n fromVersionId\n moved\n percent\n stage\n }\n}",
"variables": {
"input": {
"appId": "id"
}
}
}
EOF
Variables:
{
"input": {
"appId": "id"
}
}
Response:
{
"data": {
"advancePrivateAppRollout": {
"canaryInstallationId": "id",
"failed": 0,
"fromVersionId": "id",
"moved": 0,
"percent": 0,
"stage": "string"
}
}
}
advancePrivateAppRollout(
input: AdvancePrivateAppRolloutInputGql!
): AppRolloutResult!
Arguments
advancePrivateAppRollout.input ● AdvancePrivateAppRolloutInputGql! non-null input
The app and the new share.
Type
AppRolloutResult object
A staged rollout of an app version: one installation, then a percentage, then all.