Ir al contenido

/v1/uploads

POST
/v1/uploads
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" }'
Media typeapplication/json
object
max_resolution_tier
string
Allowed values: 1080p 1440p 2160p
test
boolean
normalize_audio
boolean
overlays
Array<object>
<= 5 items
object
url
required
string
>= 1 characters <= 8192 characters
overlay_settings
required
object
width
string
/^[0-9]+(\.[0-9]+)?(%|px)$/
height
string
/^[0-9]+(\.[0-9]+)?(%|px)$/
horizontal_align
string
Allowed values: left center right
vertical_align
string
Allowed values: top middle bottom
horizontal_margin
string
/^-?[0-9]+(\.[0-9]+)?(%|px)$/
vertical_margin
string
/^-?[0-9]+(\.[0-9]+)?(%|px)$/
opacity
string
/^[0-9]+(\.[0-9]+)?%$/
filename
required
string
>= 1 characters <= 255 characters
sizeBytes
required
integer
>= 1 <= 5368709120
contentType
required
string
<= 100 characters
title
required
string
>= 1 characters <= 200 characters

Default Response