Pure Storage · Capability

FlashArray REST API — Subnets

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

Run with Naftiko Pure StorageSubnets

What You Can Do

GET
Get — Pure Storage List Subnets
/v1/api/2-52/subnets
POST
Post — Pure Storage Create Subnet
/v1/api/2-52/subnets
DELETE
Delete — Pure Storage Delete Subnet
/v1/api/2-52/subnets
PATCH
Patch — Pure Storage Modify Subnet
/v1/api/2-52/subnets

MCP Tools

pure-storage-list-subnets

Pure Storage List Subnets

read-only idempotent
pure-storage-create-subnet

Pure Storage Create Subnet

pure-storage-delete-subnet

Pure Storage Delete Subnet

idempotent
pure-storage-modify-subnet

Pure Storage Modify Subnet

idempotent

Capability Spec

flasharray-rest-subnets.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: FlashArray REST API — Subnets
  description: 'FlashArray REST API — Subnets. 4 operations. Lead operation: Pure Storage List Subnets. Self-contained Naftiko
    capability covering one Pure Storage business surface.'
  tags:
  - Pure Storage
  - Subnets
  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-subnets
    baseUri: ''
    description: FlashArray REST API — Subnets business capability. Self-contained, no shared references.
    resources:
    - name: api-2.52-subnets
      path: /api/2.52/subnets
      operations:
      - name: get
        method: GET
        description: Pure Storage List Subnets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: post
        method: POST
        description: Pure Storage Create Subnet
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: delete
        method: DELETE
        description: Pure Storage Delete Subnet
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: patch
        method: PATCH
        description: Pure Storage Modify Subnet
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: flasharray-rest-subnets-rest
    port: 8080
    description: REST adapter for FlashArray REST API — Subnets. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/2-52/subnets
      name: api-2-52-subnets
      description: REST surface for api-2.52-subnets.
      operations:
      - method: GET
        name: get
        description: Pure Storage List Subnets
        call: flasharray-rest-subnets.get
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Pure Storage Create Subnet
        call: flasharray-rest-subnets.post
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: Pure Storage Delete Subnet
        call: flasharray-rest-subnets.delete
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patch
        description: Pure Storage Modify Subnet
        call: flasharray-rest-subnets.patch
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: flasharray-rest-subnets-mcp
    port: 9090
    transport: http
    description: MCP adapter for FlashArray REST API — Subnets. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: pure-storage-list-subnets
      description: Pure Storage List Subnets
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flasharray-rest-subnets.get
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-create-subnet
      description: Pure Storage Create Subnet
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: flasharray-rest-subnets.post
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-delete-subnet
      description: Pure Storage Delete Subnet
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: flasharray-rest-subnets.delete
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-modify-subnet
      description: Pure Storage Modify Subnet
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: flasharray-rest-subnets.patch
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.