Upload a build
upload_buildSend the browser build for a version and publish it. One HTML file, or a zip with index.html at its root. A build that passes the sandbox checks goes live immediately: the result has live: true and the play URL. Otherwise live: false and waiting says why, either a list of things to fix or that this arcade reviews that upload by hand. Also returns file count, size, engine and whether the arcade SDK was detected. If the zip has several pages and no index.html, the result asks which page starts it — answer with set_entry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The game's manage key. | |
| entry | No | Start page inside a zip, if it is not index.html. | |
| threads | No | True if the build needs SharedArrayBuffer. Threaded builds open in their own tab and cannot use the SDK bridge. Omit to work it out from the files. | |
| version | Yes | Version id from create_experience or start_version. | |
| filename | Yes | The file's name, so the type is read correctly: e.g. index.html or build.zip. | |
| content_base64 | Yes | The .html or .zip file, base64 encoded. Up to 24 MB decoded. |