Pure Storage · Capability

FlashArray REST API — Ports

FlashArray REST API — Ports. 2 operations. Lead operation: Pure Storage List Ports. Self-contained Naftiko capability covering one Pure Storage business surface.

Run with Naftiko Pure StoragePorts

What You Can Do

GET
Get — Pure Storage List Ports
/v1/api/2-52/ports
GET
Get — Pure Storage List Port Initiators
/v1/api/2-52/ports/initiators

MCP Tools

pure-storage-list-ports

Pure Storage List Ports

read-only idempotent
pure-storage-list-port-initiators

Pure Storage List Port Initiators

read-only idempotent

Capability Spec

flasharray-rest-ports.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: FlashArray REST API — Ports
  description: 'FlashArray REST API — Ports. 2 operations. Lead operation: Pure Storage List Ports. Self-contained Naftiko
    capability covering one Pure Storage business surface.'
  tags:
  - Pure Storage
  - Ports
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PURE_STORAGE_API_KEY: PURE_STORAGE_API_KEY
capability:
  consumes:
  - type: http
    namespace: flasharray-rest-ports
    baseUri: ''
    description: FlashArray REST API — Ports business capability. Self-contained, no shared references.
    resources:
    - name: api-2.52-ports
      path: /api/2.52/ports
      operations:
      - name: get
        method: GET
        description: Pure Storage List Ports
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-2.52-ports-initiators
      path: /api/2.52/ports/initiators
      operations:
      - name: get
        method: GET
        description: Pure Storage List Port Initiators
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: flasharray-rest-ports-rest
    port: 8080
    description: REST adapter for FlashArray REST API — Ports. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/2-52/ports
      name: api-2-52-ports
      description: REST surface for api-2.52-ports.
      operations:
      - method: GET
        name: get
        description: Pure Storage List Ports
        call: flasharray-rest-ports.get
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/2-52/ports/initiators
      name: api-2-52-ports-initiators
      description: REST surface for api-2.52-ports-initiators.
      operations:
      - method: GET
        name: get
        description: Pure Storage List Port Initiators
        call: flasharray-rest-ports.get
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: flasharray-rest-ports-mcp
    port: 9090
    transport: http
    description: MCP adapter for FlashArray REST API — Ports. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: pure-storage-list-ports
      description: Pure Storage List Ports
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flasharray-rest-ports.get
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-list-port-initiators
      description: Pure Storage List Port Initiators
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flasharray-rest-ports.get
      outputParameters:
      - type: object
        mapping: $.