Path: / staging / request / {id}

Get a request by Id

Path parameters:
id - the request ID

Resource Methods
Method Summary
NameDescription
GET /staging/request/{id}Get a request by Id
DELETE /staging/request/{id}Cancel a request (terminates the request with status ENDED/CANCELLED).

Method Detail

GET /staging/request/{id}

Get a request by Id

HTTP Example:
GET /staging/request/{id}
Output:
TreqsRequest - the request
Produces:
application/json
Consumes:
text/plain
HTTP return codes:
200 - if the request exists
404 - if no request exist with this Id

DELETE /staging/request/{id}

Cancel a request (terminates the request with status ENDED/CANCELLED). If the file related to the request was requested by another request, it will still be staged.

HTTP Example:
DELETE /staging/request/{id}
Output:
TreqsRequest - the cancelled request
Produces:
application/json
Consumes:
text/plain
HTTP return codes:
202 - if no error occured
404 - if no request exist with this Id
405 - if the request is already in final state