naftiko: 1.0.0-alpha2 info: label: FlashArray REST API — Fleets description: 'FlashArray REST API — Fleets. 9 operations. Lead operation: Pure Storage List Fleets. Self-contained Naftiko capability covering one Pure Storage business surface.' tags: - Pure Storage - Fleets 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-fleets baseUri: '' description: FlashArray REST API — Fleets business capability. Self-contained, no shared references. resources: - name: api-2.52-fleets path: /api/2.52/fleets operations: - name: get method: GET description: Pure Storage List Fleets outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Pure Storage Create a Fleet outputRawFormat: json outputParameters: - name: result type: object value: $. - name: delete method: DELETE description: Pure Storage Delete a Fleet outputRawFormat: json outputParameters: - name: result type: object value: $. - name: patch method: PATCH description: Pure Storage Modify a Fleet outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-2.52-fleets-fleet-key path: /api/2.52/fleets/fleet-key operations: - name: get method: GET description: Pure Storage Get Fleet Key Information outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Pure Storage Create a Fleet Key outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-2.52-fleets-members path: /api/2.52/fleets/members operations: - name: get method: GET description: Pure Storage List Fleet Members outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Pure Storage Add Members to a Fleet 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 Fleet Members outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: flasharray-rest-fleets-rest port: 8080 description: REST adapter for FlashArray REST API — Fleets. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/2-52/fleets name: api-2-52-fleets description: REST surface for api-2.52-fleets. operations: - method: GET name: get description: Pure Storage List Fleets call: flasharray-rest-fleets.get outputParameters: - type: object mapping: $. - method: POST name: post description: Pure Storage Create a Fleet call: flasharray-rest-fleets.post outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Pure Storage Delete a Fleet call: flasharray-rest-fleets.delete outputParameters: - type: object mapping: $. - method: PATCH name: patch description: Pure Storage Modify a Fleet call: flasharray-rest-fleets.patch with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/2-52/fleets/fleet-key name: api-2-52-fleets-fleet-key description: REST surface for api-2.52-fleets-fleet-key. operations: - method: GET name: get description: Pure Storage Get Fleet Key Information call: flasharray-rest-fleets.get outputParameters: - type: object mapping: $. - method: POST name: post description: Pure Storage Create a Fleet Key call: flasharray-rest-fleets.post outputParameters: - type: object mapping: $. - path: /v1/api/2-52/fleets/members name: api-2-52-fleets-members description: REST surface for api-2.52-fleets-members. operations: - method: GET name: get description: Pure Storage List Fleet Members call: flasharray-rest-fleets.get outputParameters: - type: object mapping: $. - method: POST name: post description: Pure Storage Add Members to a Fleet call: flasharray-rest-fleets.post with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Pure Storage Delete Fleet Members call: flasharray-rest-fleets.delete outputParameters: - type: object mapping: $. - type: mcp namespace: flasharray-rest-fleets-mcp port: 9090 transport: http description: MCP adapter for FlashArray REST API — Fleets. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: pure-storage-list-fleets description: Pure Storage List Fleets hints: readOnly: true destructive: false idempotent: true call: flasharray-rest-fleets.get outputParameters: - type: object mapping: $. - name: pure-storage-create-fleet description: Pure Storage Create a Fleet hints: readOnly: false destructive: false idempotent: false call: flasharray-rest-fleets.post outputParameters: - type: object mapping: $. - name: pure-storage-delete-fleet description: Pure Storage Delete a Fleet hints: readOnly: false destructive: true idempotent: true call: flasharray-rest-fleets.delete outputParameters: - type: object mapping: $. - name: pure-storage-modify-fleet description: Pure Storage Modify a Fleet hints: readOnly: false destructive: false idempotent: true call: flasharray-rest-fleets.patch with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-get-fleet-key description: Pure Storage Get Fleet Key Information hints: readOnly: true destructive: false idempotent: true call: flasharray-rest-fleets.get outputParameters: - type: object mapping: $. - name: pure-storage-create-fleet-key description: Pure Storage Create a Fleet Key hints: readOnly: false destructive: false idempotent: false call: flasharray-rest-fleets.post outputParameters: - type: object mapping: $. - name: pure-storage-list-fleet-members description: Pure Storage List Fleet Members hints: readOnly: true destructive: false idempotent: true call: flasharray-rest-fleets.get outputParameters: - type: object mapping: $. - name: pure-storage-add-members-fleet description: Pure Storage Add Members to a Fleet hints: readOnly: false destructive: false idempotent: false call: flasharray-rest-fleets.post with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-delete-fleet-members description: Pure Storage Delete Fleet Members hints: readOnly: false destructive: true idempotent: true call: flasharray-rest-fleets.delete outputParameters: - type: object mapping: $.