v1
File Manager
File Manager
Confirm File Revision
Changed onAfter the client PUTs the new revision's bytes to the signed URL, snapshot the file's current (about-to-be-superseded) state into file_revisions, then overwrite the files row with the new revision and log a 'revision' event onto the Timeline feed.
post/api/v1/files/{file_id}/revisions/confirm
Request
- Base URLhttps://api.jeevyfabrication.com (the document declares no server; this is the origin it was published from)
- Authnone declared
Path parameters
file_id, integer required
files.id
Request body
File Revision Confirm Request required
Body for POST .../revisions/confirm — mirrors the deliverable-sources upload-url/confirm-upload two-phase contract (client PUTs to the signed URL first, then this call records the new revision server-side).
storage_path, string required
file_name, string required
mime_type, string nullable
size, integer
keep_current, boolean nullable
expected_content_generation, integer nullable
idempotency_key, string nullable
Response
Successful Response
object required
Changes
- info
added the new optional request property
expected_content_generation - info
added the new optional request property
idempotency_key
- info
- info
added the new optional request property
keep_current
- info