approveAppListing
Requires permission platform:apps:review.
Approve the version in review: it becomes the only version public installs may pin. Every checklist item must be confirmed.
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 ApproveAppListing($input: ApproveAppListingInputGql!) {
approveAppListing(input: $input) {
appName
status
appHandle
appId
description
dpaAcceptedAt
scopeJustifications {
justification
scope
}
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "mutation ApproveAppListing($input: ApproveAppListingInputGql!) {\n approveAppListing(input: $input) {\n appName\n status\n appHandle\n appId\n description\n dpaAcceptedAt\n scopeJustifications {\n justification\n scope\n }\n }\n}",
"variables": {
"input": {
"appId": "id",
"checklist": {},
"versionId": "id"
}
}
}
EOF
Variables:
{
"input": {
"appId": "id",
"checklist": {},
"versionId": "id"
}
}
Response:
{
"data": {
"approveAppListing": {
"appName": "string",
"status": "string",
"appHandle": "string",
"appId": "id",
"description": "string",
"dpaAcceptedAt": "2025-01-15T00:00:00Z",
"scopeJustifications": [
{
"justification": "string",
"scope": "string"
}
]
}
}
}
approveAppListing(
input: ApproveAppListingInputGql!
): AppReviewListing!
Arguments
approveAppListing.input ● ApproveAppListingInputGql! non-null input
The version and the reviewer's checklist.
Type
AppReviewListing object
A public app's listing as Growmax review sees it.