ServicesStorageHTTP APIVolumes

List volumes

GET
/api/storage/volumes

List usable Volumes. Organization owners also see configuration and inactive Volumes.

This operation returns results in pages. To get the next page, send the nextPageToken value of the response as pageToken in a new request with the same parameters. When the response has no nextPageToken, there are no more pages. A page can have an empty items list before the last page.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Query Parameters

pageSize?|null
pageToken?string|null

Response Body

Success

application/json
  1. response
items*array<|>
nextPageToken?string|null
curl -X GET 'https://api.spiraldb.dev/api/storage/volumes'
{  "items": [    {      "organization": {        "details": {          "credential": {            "awsAccessKey": {              "accessKeyId": "string",              "region": "string"            },            "type": "awsAccessKey"          },          "identity": {            "audience": "string",            "issuer": "string",            "subject": "string",            "trustPolicy": "string"          },          "region": "string",          "status": "active",          "uri": "string"        },        "id": "string",        "name": "string",        "orgId": "string"      },      "type": "organization"    }  ],  "nextPageToken": "string"}