Files
Confirm file upload
Changed onConfirms a file upload after it has been uploaded to storage
post/files/{id}/uploaded
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Path parameters
id, string required
The resource's ID, as returned in its id field
Headers
Idempotency-Key, string
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
Response
Upload confirmed
File required
object, string required
id, string required
kind, 'file' | 'external_video' required
upload_status, 'pending' | 'processing' | 'ready' | 'failed' required
upload_error, string nullable required
source, 'upload' | 'url_import' | 'external_video' | 'generation' required
title, string nullable required
description, string nullable required
created_at, string date-time required
updated_at, string date-time required
url, string nullable required
tags, string[] nullable required
source_job_id, string nullable required
filename, string nullable required
content_type, string nullable required
size, integer nullable required
provider, string nullable required
file_url, string nullable required
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
3 more changes in this revision
- warning