Pure Storage · Capability

FlashBlade REST API — Subnets

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

Run with Naftiko Pure StorageSubnets

What You Can Do

GET
Get — Pure Storage GET Subnets
/v1/api/2-26/subnets
POST
Post — Pure Storage POST Subnets
/v1/api/2-26/subnets
DELETE
Delete — Pure Storage DELETE Subnets
/v1/api/2-26/subnets
PATCH
Patch — Pure Storage PATCH Subnets
/v1/api/2-26/subnets

MCP Tools

pure-storage-get-subnets

Pure Storage GET Subnets

read-only idempotent
pure-storage-post-subnets

Pure Storage POST Subnets

pure-storage-delete-subnets

Pure Storage DELETE Subnets

idempotent
pure-storage-patch-subnets

Pure Storage PATCH Subnets

idempotent

Capability Spec

flashblade-rest-subnets.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: FlashBlade REST API — Subnets
  description: 'FlashBlade REST API — Subnets. 4 operations. Lead operation: Pure Storage GET 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: flashblade-rest-subnets
    baseUri: http://[array]
    description: FlashBlade REST API — Subnets business capability. Self-contained, no shared references.
    resources:
    - name: api-2.26-subnets
      path: /api/2.26/subnets
      operations:
      - name: get
        method: GET
        description: Pure Storage GET Subnets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: post
        method: POST
        description: Pure Storage POST Subnets
        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 Subnets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: patch
        method: PATCH
        description: Pure Storage PATCH Subnets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: x-auth-token
      value: '{{env.PURE_STORAGE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: flashblade-rest-subnets-rest
    port: 8080
    description: REST adapter for FlashBlade REST API — Subnets. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/2-26/subnets
      name: api-2-26-subnets
      description: REST surface for api-2.26-subnets.
      operations:
      - method: GET
        name: get
        description: Pure Storage GET Subnets
        call: flashblade-rest-subnets.get
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Pure Storage POST Subnets
        call: flashblade-rest-subnets.post
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: Pure Storage DELETE Subnets
        call: flashblade-rest-subnets.delete
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patch
        description: Pure Storage PATCH Subnets
        call: flashblade-rest-subnets.patch
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: flashblade-rest-subnets-mcp
    port: 9090
    transport: http
    description: MCP adapter for FlashBlade REST API — Subnets. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: pure-storage-get-subnets
      description: Pure Storage GET Subnets
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flashblade-rest-subnets.get
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-post-subnets
      description: Pure Storage POST Subnets
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: flashblade-rest-subnets.post
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-delete-subnets
      description: Pure Storage DELETE Subnets
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: flashblade-rest-subnets.delete
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-patch-subnets
      description: Pure Storage PATCH Subnets
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: flashblade-rest-subnets.patch
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.