VAST Data ports API

Ports represent switch ports.

Operations 2

GET /ports/ List Switch Ports #
GET /ports/{id}/ Return Details of One Switch Port #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/vastdata-ports-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

vastdata-ports-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: VAST Management API definition
  title: VAST API Swagger Schema activedirectory Ports API
  version: '1.0'
security:
- ApiToken: []
tags:
- description: Ports represent switch ports.
  name: ports
paths:
  /ports/:
    get:
      description: This endpoint lists switch ports.
      operationId: ports_list
      parameters:
      - description: Filter by port state
        in: query
        name: state
        schema:
          enum:
          - UNKNOWN
          - HEALTHY
          - FAILED
          - LOGIN_FAILED
          - ACTIVATING
          - INACTIVE
          - DEACTIVATING
          - FAILING
          - PHASING_OUT
          - ENTER_PHASING_OUT
          - EXIT_PHASING_OUT
          - ACTIVE
          type: string
      - description: Filter by port model
        in: query
        name: model
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/Port'
                title: Ports
                type: array
          description: Port information
      summary: List Switch Ports
      tags:
      - ports
  /ports/{id}/:
    get:
      description: This endpoint returns details of a specific switch port.
      operationId: ports_read
      parameters:
      - description: Port ID
        in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Port'
          description: ''
      summary: Return Details of One Switch Port
      tags:
      - ports
components:
  schemas:
    Port:
      properties:
        cluster:
          description: Parent Cluster
          type: string
        cluster_id:
          type: integer
        display_name:
          type: string
        fw_version:
          type: string
        guid:
          type: string
        id:
          type: integer
          x-cli-header: ID
        model:
          description: Port role
          type: string
        mtu:
          description: Port MTU
          type: string
          x-cli-header: MTU
        name:
          type: string
        sn:
          type: string
        speed:
          description: Port speed
          type: string
        state:
          description: Port state
          enum:
          - UNKNOWN
          - HEALTHY
          - FAILED
          - LOGIN_FAILED
          - ACTIVATING
          - INACTIVE
          - DEACTIVATING
          - FAILING
          - PHASING_OUT
          - ENTER_PHASING_OUT
          - EXIT_PHASING_OUT
          - ACTIVE
          type: string
        switch:
          description: Parent Switch
          type: string
        title:
          description: Port title
          type: string
      type: object
  securitySchemes:
    ApiToken:
      description: Send current valid API token in an Authorization header with format Api-Token <token>.
      in: header
      name: ApiToken
      type: apiKey
    basicAuth:
      description: Basic authentication using VMS user name and password
      scheme: basic
      type: http