List volumes

This call lists all the volumes you've registered.

See also Get details of a volume for a detailed explanation of the fields in the response.

Learn more about using the Volumes API for Amazon S3 and for Google Cloud Storage.

https://cavatica-api.sbgenomics.com/v2/storage/volumes

Request

Example request

GET /v2/storage/volumes HTTP/1.1
Host: cavatica-api.sbgenomics.com
X-SBG-Auth-Token: 3259c50e1ac5426ea8f1273259740f74
Content-Type: application/json
curl -s -H "X-SBG-Auth-Token: 6282d5e2121d43e7900e9d52b15845e7" -H "Content-Type: application/json" -X GET "https://cavatica-api.sbgenomics.com/v2/storage/volumes"

Header Fields

KeyDescription of value
X-SBG-Auth-Token
required
Your CAVATICA authentication token.
Content-type
required
application/json

Response

See a list of CAVATICA-specific response codes that may be contained in the body of the response.

Example response body

{
  "href": "https://cavatica-api.sbgenomics.com/v2/storage/volumes?offset=0&limit=3",
  "items": [
    {
      "href": "https://cavatica-api.sbgenomics.com/v2/storage/volumes/rfranklin/gcs_ro",
      "id": "rfranklin/gcs_ro",
      "name": "gcs_ro"
    },
    {
      "href": "https://cavatica-api.sbgenomics.com/v2/storage/volumes/rfranklin/gcs_rw",
      "id": "rfranklin/gcs_rw",
      "name": "gcs_rw"
    },
    {
      "href": "https://cavatica-api.sbgenomics.com/v2/storage/volumes/rfranklin/my_s3_volume",
      "id": "rfranklin/my_s3_volume",
      "name": "my_s3_volume"
    }
  ],
  "links": []
}
Language