# Tape Library Controller Resource

The API allows you list and view Tapes.

### GET /tape-libraries

Returns list of tape libraries filtered by specified query parameters.

Request Parameters
name | type | description
--- | --- | ---
direction | query |
filter | query |
nameLike | query |
orderBy | query |
page | query |
size | query |
tape-manager | query |

Response Body
media type | data type | description
--- | --- | ---
application/json | array of TapeLibraryDetails (JSON) | list of tape libraries filtered by specified query parameters

#### Example

##### Request

    GET /tape-libraries
    Content-Type: */*
    Accept: application/json

    ...

##### Response

    HTTP/1.1 200 OK
    Content-Type: application/json

    [ { } ]

### DELETE /tape-libraries/{guid}

Request Parameters
name | type | description
--- | --- | ---
guid | path |

#### Example

##### Request

    DELETE /tape-libraries/{guid}
    Content-Type: */*

    ...

##### Response

    HTTP/1.1 204 No Content

### GET /tape-libraries/{guid}

Get a single tape library.

Request Parameters
name | type | description
--- | --- | ---
guid | path | specify local unique identifier for tape library (use by vProtect)

Response Body
media type | data type | description
--- | --- | ---
application/json | TapeLibraryDetails (JSON) | tape library details

#### Example

##### Request

    GET /tape-libraries/{guid}
    Content-Type: */*
    Accept: application/json

    ...

##### Response

    HTTP/1.1 200 OK
    Content-Type: application/json

    { }