/v1/uploads
POST
/v1/uploads
const url = 'https://example.com/v1/uploads';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"max_resolution_tier":"1080p","test":true,"normalize_audio":true,"overlays":[{"url":"example","overlay_settings":{"width":"example","height":"example","horizontal_align":"left","vertical_align":"top","horizontal_margin":"example","vertical_margin":"example","opacity":"example"}}],"filename":"example","sizeBytes":1,"contentType":"example","title":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/v1/uploads \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "max_resolution_tier": "1080p", "test": true, "normalize_audio": true, "overlays": [ { "url": "example", "overlay_settings": { "width": "example", "height": "example", "horizontal_align": "left", "vertical_align": "top", "horizontal_margin": "example", "vertical_margin": "example", "opacity": "example" } } ], "filename": "example", "sizeBytes": 1, "contentType": "example", "title": "example" }'Authorizations
Sección titulada «Authorizations»Request Bodyrequired
Sección titulada «Request Bodyrequired»Media typeapplication/json
object
max_resolution_tier
string
test
boolean
normalize_audio
boolean
overlays
Array<object>
object
url
required
string
overlay_settings
required
object
width
string
height
string
horizontal_align
string
vertical_align
string
horizontal_margin
string
vertical_margin
string
opacity
string
filename
required
string
sizeBytes
required
integer
contentType
required
string
title
required
string
Responses
Sección titulada «Responses»Default Response