ImportableFileResource Resource

GET /importablefiles

Request Parameters
name type description
importableFileIds query
importableTrackIds query
Response Codes
code condition
200 The importable track for the provided importable track batch id was returned.
500 An error occured.
Response Body
media type data type description
application/xml;charset=utf-8 (custom)

Example

Request
GET /importablefiles
Content-Type: */*
Accept: application/xml;charset=utf-8

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/xml;charset=utf-8

                
...
                
              

POST /importablefiles

Creates an importable file. Regardless of the provided state of the fields id and updated, scheme and uri these fields will be automatically populated upon creation.

Request Parameters
name type description
data formdata the SerialImportableFile which is to be created.
file formdata the audio data for the audio file which is to be created. See https://www.ietf.org/rfc/rfc2388.txt for more details.
Request Body
media type data type
multipart/form-data (custom)
Response Codes
code condition
200 The importable file was created.
500 An error occured.
Response Body
media type data type description
application/xml;charset=utf-8 (custom) the created SerialImportableTrack.

Example

Request
POST /importablefiles
Content-Type: multipart/form-data
Accept: application/xml;charset=utf-8

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/xml;charset=utf-8

                
...
                
              

DELETE /importablefiles/{importableFileId}

Deletes an importable file.

Request Parameters
name type description
importableFileId path a String holding an id which represents the importable file which is to be deleted.
Response Codes
code condition
204 The importable file was deleted.
404 The importable file does not exist.
500 An error occured.

Example

Request
DELETE /importablefiles/{importableFileId}
Content-Type: */*

                
...
                
              
Response
HTTP/1.1 204 No Content