Convert a file to fit a platform's media limits
POST
http://localhost:4000/api/v1 /media/{id}/adjust Answers ready when the file already fits, else processing: poll GET /media/{id}/status.
Parameters
idstring
path
required
Request body
application/json
providerstring
required
replaceboolean
{
"provider": "string",
"replace": false
}Code samples
cURL
curl -X POST "http://localhost:4000/api/v1/media/{id}/adjust" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"provider":"string","replace":false}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
{}Option 1
{}Option 2
{}Updated