Skip to main content
A newer release of this product is available.

Retrieve counter table details

Contributors

GET /cluster/counter/tables/{name}

Introduced In: 9.11

Returns the information about a single counter table.

Parameters

Name Type In Required Description

name

string

path

True

Counter table name.

fields

array[string]

query

False

Specify the fields to return.

Response

Status: 200, Ok
Name Type Description

_links

_links

counter_schemas

array[counter_schema]

Array of counter schema definitions.

description

string

Description of the table.

name

string

Table name.

Example response
{
  "_links": {
    "self": {
      "href": "/api/resourcelink"
    }
  },
  "counter_schemas": [
    {
      "denominator": {
        "name": "string"
      },
      "description": "string",
      "name": "string",
      "type": "string",
      "unit": "string"
    }
  ],
  "description": "string",
  "name": "string"
}

Error

Status: Default

ONTAP Error Response Codes

Error Code Description

8585320

Table requested is not found

8585368

The system has not completed it's initialization

Name Type Description

error

error

Example error
{
  "error": {
    "arguments": [
      {
        "code": "string",
        "message": "string"
      }
    ],
    "code": "4",
    "message": "entry doesn't exist",
    "target": "uuid"
  }
}

Definitions

See Definitions

href

Name Type Description

href

string

Name Type Description

self

href

counter_denominator

Counter used as the denominator in calculating the resulting value of averages and percentages.

Name Type Description

name

string

Counter name.

counter_schema

Schema definition of a single counter or property.

Name Type Description

denominator

counter_denominator

Counter used as the denominator in calculating the resulting value of averages and percentages.

description

string

Counter or property description.

name

string

Counter or property name.

type

string

Type of counter or property. Properties will always set this field to 'string'.

unit

string

Counter unit.

error_arguments

Name Type Description

code

string

Argument code

message

string

Message argument

error

Name Type Description

arguments

array[error_arguments]

Message arguments

code

string

Error code

message

string

Error message

target

string

The target parameter that caused the error.