Create Files Job
POST/qlibs/:qlibid/q/:qwtoken/file_jobs
Create a new Files Job and optionally advertise file operations.
The request to create a files job can take two forms:
- single batch: the request specifies
seq_completeas true (or omits the field entirely) and provides the complete list of operations in the 'ops' field. - multi batch: the request specifies a sequence number - and optionally a list of
opsTheseq_completefield is false and therefore allows to complete thefiles jobby submitting more requests via further POST using the files job ID returned by this request.
Request
Responses
- 201
- 400
- 401
- default
Id of the 'files job' and list of upload jobs in case of a single batch request.
the request contains both an non-zero ops and a seq field
Authentication information is missing or invalid
Response Headers
WWW-Authenticate
A standard "WWW Authenticate" header of the form Basic realm="Eluvio Content Fabric API"
A generic error message.