Logo
3Play V3 API API Documentation

Media Files

Number of APIs: 11


1. List Media Files

GET {{host}}/v3/files/?api_key={{api_key}}&sort_by=created_at&sort_dir=desc



2. Get Media File by ID

GET {{host}}/v3/files/{{media_file_id}}?api_key={{api_key}}



3. Create Media File (Download URL)

POST {{host}}/v3/files/?api_key={{api_key}}



4. Update Media File

PATCH {{host}}/v3/files/{{media_file_id}}/?api_key={{api_key}}



5. Upload Source File to 3Play Media File

POST {{host}}/v3/files/9204797/source?api_key={{api_key}}



6. Add Source URL to 3Play Media File

POST {{host}}/v3/files/9204869/source/set_url?api_key={{api_key}}&source_url=https://www.sample-videos.com/video123/mp4/720/big_buck_bunny_720p_1mb.mp4



7. Remove Source File/Url from 3Play Media File

DELETE {{host}}/v3/files/5649163/source?api_key={{api_key}}



8. Set File Language

POST {{host}}/v3/files/9204794/set_language?api_key={{api_key}}&language_id=1



9. Set File Settings

POST {{host}}/v3/files/9204794/configuration?api_key={{api_key}}



10. Archive File(s)

POST {{host}}/v3/files/archive?api_key={{api_key}}&media_file_id=9204794



11. Unarchive File(s)

POST {{host}}/v3/files/unarchive?api_key={{api_key}}&media_file_id=9204794



ENDPOINTS