asc_upload_screenshot
Upload screenshot images to App Store Connect using the full reserve, upload, and commit sequence. Computes and verifies MD5 checksums to prevent stuck assets from failed API calls.
Instructions
Upload a screenshot image, performing Apple’s full reserve → upload → commit sequence: reserve a slot, PUT each byte range to Apple’s asset host with the headers Apple supplies, then commit with an MD5 checksum. The raw API cannot do this in one call, and a wrong checksum or offset does not error — it leaves the asset stuck, which looks like nothing happened.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Confirmation token from a previous gated call. Not needed when the user is prompted directly. | |
| dry_run | No | Report what would be sent, including the checksum, without sending it. | |
| file_name | No | Name to store it under. Defaults to the file’s own name. | |
| file_path | Yes | Absolute path to the image on this machine. | |
| screenshot_set_id | Yes | From asc_listing_screenshots. |