Read the sandbox state
get_sandbox_stateThe game’s sandbox — a public page anyone with the link can play: site (link, status, live revision), or null if never published — a sandbox Playgama blocked is shown with status BLOCKED even then; what is live now is always site.revision, and how a publish request went is get_publications. With archiveId it adds publish: allowed, reason, message and the refusal’s own fields (failedAt, details, emptySlots, limit/used/resetsAt) — the refusal publish_sandbox would give, in the same words — changeStatus (CHANGED: this archive or the form differs from the live revision; UNCHANGED: they match, and a publish still builds and publishes them again as a new revision; UNKNOWN: cannot tell; none of them refuses) and archiveChanged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archiveId | No | Optional. When given, the answer also says whether publishing this archive would be refused and whether it differs from the live revision | |
| applicationId | Yes | Application (game) id, as returned by list_applications |