Path: / administration / tapemodel

get the list of tape models


Sub-Resources
Resources
NameDescription
{name}Get a tape model by name

Resource Methods
Method Summary
NameDescription
GET /administration/tapemodelget the list of tape models
POST /administration/tapemodelCreate a tape model

Method Detail

GET /administration/tapemodel

get the list of tape models

HTTP Example:
GET /administration/tapemodel
Output:
List<TreqsTapeModel> - a list of models
Produces:
application/json
Consumes:
text/plain
HTTP return codes:
200 - if no error occurred

POST /administration/tapemodel

Create a tape model

HTTP Example:
POST /administration/tapemodel
Input:
TreqsTapeModel
Output:
TreqsTapeModel
Produces:
application/json
Consumes:
application/json
HTTP return codes:
201 - if the tape was successfully created
400 - if mandatory parameters are not provided
409 - if a model with the same name already exists
HTTP response headers:
Location - the URI of the newly created model