Update file
Changed onUpdates a file's mutable metadata. The stored bytes are immutable — re-upload to change a file's contents.
All fields are optional and follow PATCH semantics: only the fields you send are changed. For files you can rename via filename and set a description or tags. For external-video embeds you can update the source url.
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Path parameters
File ID (e.g., "file_abc123")
Request body
Human-readable display title. Pass null to clear it.
Rename the file (updates the stored blob filename). Files only.
Free-text description. Pass null to clear it.
Replaces the tag list. Pass an empty array to clear all tags.
New source URL for an external-video embed (YouTube, Vimeo, or Wistia).
Response
Updated file
Changes
- warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status
4 more changes in this revision
- warning