Path: / staging / request

Get a list of requests possibly filtered by status (main status or sub status)


Sub-Resources
Resources
NameDescription
{id}Get a request by Id

Resource Methods
Method Summary
NameDescription
POST /staging/requestSubmit a new request on a file
GET /staging/request?status=…Get a list of requests possibly filtered by status (main status or sub status)

Method Detail

POST /staging/request

Submit a new request on a file

HTTP Example:
POST /staging/request
Input:
TreqsRequest
Output:
TreqsRequest - the newly created request
Produces:
application/json
Consumes:
application/json
HTTP return codes:
201 - the TreqsRequest has been successfully created
400 - if filename is not provided or empty
HTTP response headers:
Location - The URI of the newly created request

GET /staging/request

Get a list of requests possibly filtered by status (main status or sub status)

HTTP Example:
GET /staging/request?status=…
Output:
List<TreqsRequest> - the list of requests (can be empty)
Query parameters:
status
Produces:
application/json
Consumes:
text/plain
HTTP return codes:
200 - if no error occurs
400 - if status if not valid