List storage classes

Virtual Storage Platform One Object API Reference Guide

Version
3.0.x
File Size
270 KB
Audience
anonymous
Part Number
MK-24VSP1OB002-01

Lists all of the storage classes on your system, as well as their parameters.

Endpoint

POST /storage_class/list

Request structure

{
  "pageSize": 0,
  "pageToken": "string"
}
Parameter Type Description
pageSize Integer The maximum amount of domains to return in a single response.
pageToken String Used to retrieve the next page of results beyond the limit set in the pageSize value.

Response structure

{
  "storageClasses": [
    {
      "id": "string",
      "name": "string",
      "dataCount": 0,
      "parityCount": 0
    }
  ],
  "pageToken": "string"
}
Parameter Type Description
storageClasses Array A list of available storage classes.
id String The ID of the storage class.
name String The name of the storage class.
dataCount Integer The number of data fragments of the storage class.
parityCount Integer The number of parity fragments of the storage class.
pageToken String

The value of the token used view the next page of results beyond the limit set in the pageSize value.

Return codes

Status code

HTTP name

Description

200 OK The list of storage classes was returned successfully.
default Error An error has occurred while attempting to list the storage classes.