Apps & SurfacesMu Mutation

publishCustomApp

Topics: Apps

Publish a specific version of a custom app, making it visible to end users. Requires customapp:write permission.

Returns

UpsertCustomAppPayload!

Arguments

id

CustomAppID!Required

TypeID of the custom app to publish (prefix cap).

TypeID of the version to make live (prefix cav). Fails with a field error when the version is unknown or belongs to another app. Its content and engine version are copied onto the app — this is what makes it serve.

Exact field SDL
"""
Publish a specific version of a custom app, making it visible to end users. Requires customapp:write permission.
"""
publishCustomApp(
  """TypeID of the custom app to publish (prefix `cap`)."""
  id: CustomAppID!
  """
  TypeID of the version to make live (prefix `cav`). Fails with a field error when the version is unknown or belongs to another app. Its content and engine version are copied onto the app — this is what makes it serve.
  """
  versionId: CustomAppVersionID!
): UpsertCustomAppPayload! @topic(names: ["apps"])

Declared on Mutation. Access is checked by the platform for each operation.