Pure Storage · Capability

FlashArray REST API — Offloads

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

Run with Naftiko Pure StorageOffloads

What You Can Do

GET
Get — Pure Storage List Offload Targets
/v1/api/2-52/offloads
POST
Post — Pure Storage Create Offload Target
/v1/api/2-52/offloads
DELETE
Delete — Pure Storage Delete Offload Target
/v1/api/2-52/offloads
PATCH
Patch — Pure Storage Patch Offload Target
/v1/api/2-52/offloads

MCP Tools

pure-storage-list-offload-targets

Pure Storage List Offload Targets

read-only idempotent
pure-storage-create-offload-target

Pure Storage Create Offload Target

pure-storage-delete-offload-target

Pure Storage Delete Offload Target

idempotent
pure-storage-patch-offload-target

Pure Storage Patch Offload Target

idempotent

Capability Spec

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