publishAppToShared
Publishes an app to the shared game-api environment. Free under the org's app-slot quota (result.free = true); beyond the quota, publish still succeeds and hourly usage is debited from the org wallet. Requires the 'manage_apps' permission on the app's org. Blocked when SHARED_GAME_API_URL is not configured.
publishAppToShared(
appId: BigInt!
planId: BigInt
provider: PaymentProvider
successUrl: String
cancelUrl: String
idempotencyKey: String
): PublishAppResult!
Arguments
publishAppToShared.appId ● BigInt! non-null scalar
App id (BigInt) to publish to the shared environment.
publishAppToShared.planId ● BigInt scalar
@deprecated Ignored. Shared app subscriptions are replaced by org wallet usage billing.
publishAppToShared.provider ● PaymentProvider enum
@deprecated Ignored. Shared app subscriptions are replaced by org wallet usage billing.
publishAppToShared.successUrl ● String scalar
@deprecated Ignored.
publishAppToShared.cancelUrl ● String scalar
@deprecated Ignored.
publishAppToShared.idempotencyKey ● String scalar
Optional idempotency key. Recommended for retries: replaying with the same key and identical arguments returns the first result instead of re-applying; the same key with different arguments returns IDEMPOTENCY_CONFLICT. Keys expire after 24h.
Type
PublishAppResult object
Result of publishing an app to the shared environment. All paths publish immediately; usage above the free hourly allowance is wallet-billed.