Convert a file to fit a platform's media limits

Embed
Preview of the card
<a href="https://indrava.forumulate.com/docs/ref-mediajobs-adjust"><img src="https://indrava.forumulate.com/docs/_api/public/orgs/e421ace4-3e78-4ed8-9818-7b4899cf3aa0/spaces/2bcc7f09-4489-40af-85d8-9fdd3f3da314/pages/3574f385-b84f-40b6-9058-375b1bcf5863/social-card.svg?v=3e7ae33eec8b" alt="Convert a file to fit a platform's media limits" width="600" height="315"></a>
POST http://localhost:4000/api/v1/media/{id}/adjust

Answers ready when the file already fits, else processing: poll GET /media/{id}/status.

Parameters

id
string
path
required

Request body

application/json
provider
string
required
replace
boolean
= false
{
  "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