Pure Storage · Capability

FlashBlade REST API — Legal Holds

FlashBlade REST API — Legal Holds. 7 operations. Lead operation: Pure Storage List Legal Holds. Self-contained Naftiko capability covering one Pure Storage business surface.

Run with Naftiko Pure StorageLegal Holds

What You Can Do

GET
Get — Pure Storage List Legal Holds
/v1/api/2-26/legal-holds
POST
Post — Pure Storage Create a Legal Hold
/v1/api/2-26/legal-holds
DELETE
Delete — Pure Storage Delete a Legal Hold
/v1/api/2-26/legal-holds
PATCH
Patch — Pure Storage Update a Legal Hold
/v1/api/2-26/legal-holds
GET
Get — Pure Storage List Held Entities
/v1/api/2-26/legal-holds/held-entities
POST
Post — Pure Storage Apply This Legal Hold to a New Entity
/v1/api/2-26/legal-holds/held-entities
PATCH
Patch — Pure Storage Release This Legal Hold from the Given Entity
/v1/api/2-26/legal-holds/held-entities

MCP Tools

pure-storage-list-legal-holds

Pure Storage List Legal Holds

read-only idempotent
pure-storage-create-legal-hold

Pure Storage Create a Legal Hold

pure-storage-delete-legal-hold

Pure Storage Delete a Legal Hold

idempotent
pure-storage-update-legal-hold

Pure Storage Update a Legal Hold

idempotent
pure-storage-list-held-entities

Pure Storage List Held Entities

read-only idempotent
pure-storage-apply-this-legal

Pure Storage Apply This Legal Hold to a New Entity

pure-storage-release-this-legal

Pure Storage Release This Legal Hold from the Given Entity

idempotent

Capability Spec

flashblade-rest-legal-holds.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: FlashBlade REST API — Legal Holds
  description: 'FlashBlade REST API — Legal Holds. 7 operations. Lead operation: Pure Storage List Legal Holds. Self-contained
    Naftiko capability covering one Pure Storage business surface.'
  tags:
  - Pure Storage
  - Legal Holds
  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-legal-holds
    baseUri: http://[array]
    description: FlashBlade REST API — Legal Holds business capability. Self-contained, no shared references.
    resources:
    - name: api-2.26-legal-holds
      path: /api/2.26/legal-holds
      operations:
      - name: get
        method: GET
        description: Pure Storage List Legal Holds
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: post
        method: POST
        description: Pure Storage Create a Legal Hold
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: delete
        method: DELETE
        description: Pure Storage Delete a Legal Hold
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: patch
        method: PATCH
        description: Pure Storage Update a Legal Hold
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-2.26-legal-holds-held-entities
      path: /api/2.26/legal-holds/held-entities
      operations:
      - name: get
        method: GET
        description: Pure Storage List Held Entities
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: post
        method: POST
        description: Pure Storage Apply This Legal Hold to a New Entity
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: patch
        method: PATCH
        description: Pure Storage Release This Legal Hold from the Given Entity
        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-legal-holds-rest
    port: 8080
    description: REST adapter for FlashBlade REST API — Legal Holds. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/2-26/legal-holds
      name: api-2-26-legal-holds
      description: REST surface for api-2.26-legal-holds.
      operations:
      - method: GET
        name: get
        description: Pure Storage List Legal Holds
        call: flashblade-rest-legal-holds.get
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Pure Storage Create a Legal Hold
        call: flashblade-rest-legal-holds.post
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: Pure Storage Delete a Legal Hold
        call: flashblade-rest-legal-holds.delete
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patch
        description: Pure Storage Update a Legal Hold
        call: flashblade-rest-legal-holds.patch
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/2-26/legal-holds/held-entities
      name: api-2-26-legal-holds-held-entities
      description: REST surface for api-2.26-legal-holds-held-entities.
      operations:
      - method: GET
        name: get
        description: Pure Storage List Held Entities
        call: flashblade-rest-legal-holds.get
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Pure Storage Apply This Legal Hold to a New Entity
        call: flashblade-rest-legal-holds.post
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patch
        description: Pure Storage Release This Legal Hold from the Given Entity
        call: flashblade-rest-legal-holds.patch
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: flashblade-rest-legal-holds-mcp
    port: 9090
    transport: http
    description: MCP adapter for FlashBlade REST API — Legal Holds. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: pure-storage-list-legal-holds
      description: Pure Storage List Legal Holds
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flashblade-rest-legal-holds.get
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-create-legal-hold
      description: Pure Storage Create a Legal Hold
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: flashblade-rest-legal-holds.post
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-delete-legal-hold
      description: Pure Storage Delete a Legal Hold
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: flashblade-rest-legal-holds.delete
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-update-legal-hold
      description: Pure Storage Update a Legal Hold
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: flashblade-rest-legal-holds.patch
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-list-held-entities
      description: Pure Storage List Held Entities
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flashblade-rest-legal-holds.get
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-apply-this-legal
      description: Pure Storage Apply This Legal Hold to a New Entity
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: flashblade-rest-legal-holds.post
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-release-this-legal
      description: Pure Storage Release This Legal Hold from the Given Entity
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: flashblade-rest-legal-holds.patch
      outputParameters:
      - type: object
        mapping: $.