Skip to main content

publishPublicAppVersion

Requires permission settings:apps:manage.

Publish a new version of a public app draft, to test it on this dev tenant. The manifest is validated; versions cannot be changed afterwards.

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:

mutation PublishPublicAppVersion($input: PublishPublicAppVersionInputGql!) {
publishPublicAppVersion(input: $input) {
id
createdAt
apiVersion
appId
hasPackage
manifest
}
}

Variables:

{
"input": {
"appId": "id",
"manifest": {}
}
}

Response:

{
"data": {
"publishPublicAppVersion": {
"id": "id",
"createdAt": "2025-01-15T00:00:00Z",
"apiVersion": "string",
"appId": "id",
"hasPackage": true,
"manifest": {}
}
}
}
publishPublicAppVersion(
input: PublishPublicAppVersionInputGql!
): RegistryAppVersion!

Arguments​

publishPublicAppVersion.input ● PublishPublicAppVersionInputGql! non-null input​

The version to publish.

Type​

RegistryAppVersion object​

One immutable version of an app's manifest.