Path: / staging / tape / {tape}

Get the list of files requested by users and located on a particular tape.

Path parameters:
tape -

Resource Methods
Method Summary
NameDescription
GET /staging/tape/{tape}Get the list of files requested by users and located on a particular tape.
DELETE /staging/tape/{tape}Cancel the staging of all files located on a tape and terminates all related requests.

Method Detail

GET /staging/tape/{tape}

Get the list of files requested by users and located on a particular tape.

HTTP Example:
GET /staging/tape/{tape}
Output:
List<TreqsFile> - a list of files (can be empty)
Produces:
application/json
Consumes:
text/plain
HTTP return codes:
200 - if no error occurred
404 - if this tape was/is not handled by Treqs

DELETE /staging/tape/{tape}

Cancel the staging of all files located on a tape and terminates all related requests.

HTTP Example:
DELETE /staging/tape/{tape}
Output:
Response
Produces:
application/json
Consumes:
text/plain
HTTP return codes:
202 - if the tape is currently being staged, current file will not be cancelled (staging will go on) remaining files will not be staged (marked as ENDED/CANCELLED)
404 - if this tape was/is not handled by Treqs
405 - if all staging operations on this tape are finished