Upload an App Store asset
upload_store_assetUpload a new Apple screenshot, preview, purchase image, supplemental reviewer attachment or encryption document. Discover its createInstance operation/body with get_store_capabilities and copy the parent scope. Hosted calls accept data_base64 up to 2 MiB; use CLI file_path for larger files. Preview by default. confirm:true reserves, uploads and commits this file. Preserve request_key and identical file/body to resume; ready:true requires Apple processing COMPLETE. App Review message attachments remain a browser workflow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Exact JSON:API request body, following the operation's schema from get_store_capabilities. | |
| scope | No | Parent resource chain copied from earlier read_store results, as [{relationship, id}]. Start with [] for app-level reads. | |
| confirm | No | false (default) returns a preview and changes nothing. true performs the change; set it only after the user approves that exact preview. | |
| operation | Yes | App Store Connect operation name from get_store_capabilities, for example appInfos_getInstance. | |
| project_id | Yes | NoMac project ID (prj_…). push_project and connect_status list your projects. | |
| references | No | Related resource references the body needs, copied from read_store results. | |
| data_base64 | Yes | The file's contents, base64-encoded, up to 2 MiB. | |
| request_key | No | Idempotency key you choose (letters, digits, dash, underscore). Retry a lost response with the same key and identical arguments; use a new key for new work. | |
| asset_sha256 | No | Set by upload_store_asset for exact file-reservation recovery. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed |