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