Pure Storage · Capability

FlashBlade REST API — Lifecycle Rules

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

Run with Naftiko Pure StorageLifecycle Rules

What You Can Do

GET
Get — Pure Storage GET Lifecycle-rules
/v1/api/2-26/lifecycle-rules
POST
Post — Pure Storage POST Lifecycle-rules
/v1/api/2-26/lifecycle-rules
DELETE
Delete — Pure Storage DELETE Lifecycle-rules
/v1/api/2-26/lifecycle-rules
PATCH
Patch — Pure Storage PATCH Lifecycle-rules
/v1/api/2-26/lifecycle-rules

MCP Tools

pure-storage-get-lifecycle-rules

Pure Storage GET Lifecycle-rules

read-only idempotent
pure-storage-post-lifecycle-rules

Pure Storage POST Lifecycle-rules

pure-storage-delete-lifecycle-rules

Pure Storage DELETE Lifecycle-rules

idempotent
pure-storage-patch-lifecycle-rules

Pure Storage PATCH Lifecycle-rules

idempotent

Capability Spec

flashblade-rest-lifecycle-rules.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: FlashBlade REST API — Lifecycle Rules
  description: 'FlashBlade REST API — Lifecycle Rules. 4 operations. Lead operation: Pure Storage GET Lifecycle-rules. Self-contained
    Naftiko capability covering one Pure Storage business surface.'
  tags:
  - Pure Storage
  - Lifecycle Rules
  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-lifecycle-rules
    baseUri: http://[array]
    description: FlashBlade REST API — Lifecycle Rules business capability. Self-contained, no shared references.
    resources:
    - name: api-2.26-lifecycle-rules
      path: /api/2.26/lifecycle-rules
      operations:
      - name: get
        method: GET
        description: Pure Storage GET Lifecycle-rules
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: post
        method: POST
        description: Pure Storage POST Lifecycle-rules
        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 Lifecycle-rules
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: patch
        method: PATCH
        description: Pure Storage PATCH Lifecycle-rules
        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-lifecycle-rules-rest
    port: 8080
    description: REST adapter for FlashBlade REST API — Lifecycle Rules. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/2-26/lifecycle-rules
      name: api-2-26-lifecycle-rules
      description: REST surface for api-2.26-lifecycle-rules.
      operations:
      - method: GET
        name: get
        description: Pure Storage GET Lifecycle-rules
        call: flashblade-rest-lifecycle-rules.get
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Pure Storage POST Lifecycle-rules
        call: flashblade-rest-lifecycle-rules.post
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: Pure Storage DELETE Lifecycle-rules
        call: flashblade-rest-lifecycle-rules.delete
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patch
        description: Pure Storage PATCH Lifecycle-rules
        call: flashblade-rest-lifecycle-rules.patch
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: flashblade-rest-lifecycle-rules-mcp
    port: 9090
    transport: http
    description: MCP adapter for FlashBlade REST API — Lifecycle Rules. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: pure-storage-get-lifecycle-rules
      description: Pure Storage GET Lifecycle-rules
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flashblade-rest-lifecycle-rules.get
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-post-lifecycle-rules
      description: Pure Storage POST Lifecycle-rules
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: flashblade-rest-lifecycle-rules.post
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-delete-lifecycle-rules
      description: Pure Storage DELETE Lifecycle-rules
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: flashblade-rest-lifecycle-rules.delete
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-patch-lifecycle-rules
      description: Pure Storage PATCH Lifecycle-rules
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: flashblade-rest-lifecycle-rules.patch
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.