cURL
curl --request POST \ --url https://api.olie.ai/api/management/projects/{id}/medias \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "audio": "<binary>", "file[0]": "<binary>", "text": "<string>", "type": 3 } '
{ "media": { "created_at": "<dateTime>", "deleted_at": "<dateTime>", "extension": "<string>", "file_url": "<uri>", "frame_id": "<uuid>", "id": "<uuid>", "log": "<string>", "name": "<string>", "project_id": "<uuid>", "technical_name": "<string>", "text": "<string>", "type": "<integer>", "updated_at": "<dateTime>", "user": {}, "user_id": "<uuid>" }, "response": "<boolean>" }
Envia um novo conteúdo para o projeto.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID do projeto
"<string>"
"<binary>"
3
Conteúdo enviado com sucesso
Show child attributes
"<boolean>"
Was this page helpful?