In order to upload a file, make a request to the
files endpoint using the
POST Method. The content type in the request headers should be set to
If the request was successful, the server should respond with the HTTP Status Code: 202 (Accepted).
At this point the file is queued for processing. The response headers will contain a location header that contains a link to an entry in the queue that can be polled for the status of the uploaded file.
Once the file has been successfully processed, the queue entry will provide a link to the actual file resource.