Pure Storage · Capability

FlashBlade REST API — Targets

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

Run with Naftiko Pure StorageTargets

What You Can Do

GET
Get — Pure Storage GET Targets
/v1/api/2-26/targets
POST
Post — Pure Storage POST Targets
/v1/api/2-26/targets
DELETE
Delete — Pure Storage DELETE Targets
/v1/api/2-26/targets
PATCH
Patch — Pure Storage PATCH Targets
/v1/api/2-26/targets
GET
Get — Pure Storage GET Targets/performance/replication
/v1/api/2-26/targets/performance/replication

MCP Tools

pure-storage-get-targets

Pure Storage GET Targets

read-only idempotent
pure-storage-post-targets

Pure Storage POST Targets

pure-storage-delete-targets

Pure Storage DELETE Targets

idempotent
pure-storage-patch-targets

Pure Storage PATCH Targets

idempotent
pure-storage-get-targets-performance

Pure Storage GET Targets/performance/replication

read-only idempotent

Capability Spec

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