A revision replaces the live version of a photo with a new file while preserving the history. When you upload a revision, Shootbin automatically archives the current photo (file, web variant, and all active annotations) as a numbered revision entry, then promotes the new file as the live version. The approval state is reset and all annotations are cleared from the new current photo. This workflow is designed for photographers who need to deliver retouched or corrected files after an initial review round without losing the annotation context from the previous version.Documentation Index
Fetch the complete documentation index at: https://docs.shootbin.com/llms.txt
Use this file to discover all available pages before exploring further.
Upload a revision
Archives the current photo and replaces it with a new file.Path parameters
The project ID.
The album ID.
The ID of the photo to replace with a new revision.
Request body
Send asmultipart/form-data:
The new image file. Must be a valid image. Maximum size: 10 MB.
Override the filename stored as
original_filename on the new live photo. Useful when your HTTP client reports a temporary path instead of the real filename. When omitted, the filename reported by the upload is used.Example request
Example response
201 Created
Response fields
Always
true on a successful revision upload.A human-readable confirmation message.
The full photo payload reflecting the new live state.
approved_at is null (approval reset), annotations is empty (cleared), and revisions includes the newly archived previous version.ISO 8601 timestamp of when this revision was uploaded. Updates each time a new revision is pushed.
All previously archived versions. Each entry includes
revision_number, original_filename, uploaded_at, archived_annotations_count, and image_url.Errors
| Status | Reason |
|---|---|
403 | Token lacks update scope, user is not the project owner, or project is locked for review |
404 | Photo, album, or project not found |
409 | Revision history is not available on your Shootbin instance — contact your administrator |
422 | Validation failed — revision file is missing, not an image, or exceeds 10 MB |
If you receive a
409 response, the revision history feature may not be enabled on your Shootbin instance. Contact your account administrator to ensure you are running the latest version.