Create Media File (Download URL)
POST
{{host}}/v3/files/?api_key={{api_key}}
Body
PARAM
Key |
Datatype |
Required |
Description |
api_key
|
string |
|
|
HEADERS
Key |
Datatype |
Required |
Description |
RESPONSES
status
curl -X POST 'http://api.3play.com/v3/files/?api_key=undefined?api_key=undefined' -F '{"name"=>"name", "value"=>"My File", "datatype"=>"string"}=' -F '{"name"=>"language_id", "value"=>"1", "datatype"=>"number"}=' -F '{"name"=>"source_url", "value"=>"undefined", "datatype"=>"string"}=' -F '{"name"=>"batch_id", "value"=>"undefined", "datatype"=>"string"}=' -F '{"name"=>"label", "value"=>"test-file", "datatype"=>"string"}=' -F '{"name"=>"attribute1", "value"=>"", "datatype"=>"null"}=' -F '{"name"=>"attribute2", "value"=>"", "datatype"=>"null"}=' -F '{"name"=>"attribute3", "value"=>"", "datatype"=>"null"}=' -F '{"name"=>"reference_id", "value"=>"", "datatype"=>"null"}=' -F '{"name"=>"integration_id", "value"=>"", "datatype"=>"null"}=' -F '{"name"=>"vic_parent_id", "value"=>"", "datatype"=>"null"}='