naftiko: 1.0.0-alpha2 info: label: FlashArray REST API — Software description: 'FlashArray REST API — Software. 16 operations. Lead operation: Pure Storage List Software Packages. Self-contained Naftiko capability covering one Pure Storage business surface.' tags: - Pure Storage - Software 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-software baseUri: '' description: FlashArray REST API — Software business capability. Self-contained, no shared references. resources: - name: api-2.52-software path: /api/2.52/software operations: - name: get method: GET description: Pure Storage List Software Packages outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Pure Storage Create a Software Package 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 Software Package outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-2.52-software-bundle path: /api/2.52/software-bundle operations: - name: get method: GET description: Pure Storage List Software-bundle outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Pure Storage Create Software-bundle 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-software-check path: /api/2.52/software-check operations: - name: get method: GET description: Pure Storage List Software Check Tasks outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Pure Storage Create a Software Check Task outputRawFormat: json outputParameters: - name: result type: object value: $. - name: delete method: DELETE description: Pure Storage Delete a Software Check Task outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-2.52-software-installation-steps path: /api/2.52/software-installation-steps operations: - name: get method: GET description: Pure Storage List Software Upgrade Steps outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-2.52-software-installations path: /api/2.52/software-installations operations: - name: get method: GET description: Pure Storage List Software Upgrades outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Pure Storage Create a Software Upgrade outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: patch method: PATCH description: Pure Storage Modify Software Upgrade outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: api-2.52-software-patches path: /api/2.52/software-patches operations: - name: get method: GET description: Pure Storage List Software Patches outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Pure Storage Create a Software Patch outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: allow_ha_reduction in: query type: boolean description: If Software Patch has ha_reduction_required set to true, `allow_ha_reduction` must be - name: name in: query type: string description: Name of software patch to install required: true - name: api-2.52-software-patches-catalog path: /api/2.52/software-patches/catalog operations: - name: get method: GET description: Pure Storage List Available Software Patches outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-2.52-software-versions path: /api/2.52/software-versions operations: - name: get method: GET description: Pure Storage List Software Versions outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: flasharray-rest-software-rest port: 8080 description: REST adapter for FlashArray REST API — Software. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/2-52/software name: api-2-52-software description: REST surface for api-2.52-software. operations: - method: GET name: get description: Pure Storage List Software Packages call: flasharray-rest-software.get outputParameters: - type: object mapping: $. - method: POST name: post description: Pure Storage Create a Software Package call: flasharray-rest-software.post with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Pure Storage Delete a Software Package call: flasharray-rest-software.delete outputParameters: - type: object mapping: $. - path: /v1/api/2-52/software-bundle name: api-2-52-software-bundle description: REST surface for api-2.52-software-bundle. operations: - method: GET name: get description: Pure Storage List Software-bundle call: flasharray-rest-software.get outputParameters: - type: object mapping: $. - method: POST name: post description: Pure Storage Create Software-bundle call: flasharray-rest-software.post with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/2-52/software-check name: api-2-52-software-check description: REST surface for api-2.52-software-check. operations: - method: GET name: get description: Pure Storage List Software Check Tasks call: flasharray-rest-software.get outputParameters: - type: object mapping: $. - method: POST name: post description: Pure Storage Create a Software Check Task call: flasharray-rest-software.post outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Pure Storage Delete a Software Check Task call: flasharray-rest-software.delete outputParameters: - type: object mapping: $. - path: /v1/api/2-52/software-installation-steps name: api-2-52-software-installation-steps description: REST surface for api-2.52-software-installation-steps. operations: - method: GET name: get description: Pure Storage List Software Upgrade Steps call: flasharray-rest-software.get outputParameters: - type: object mapping: $. - path: /v1/api/2-52/software-installations name: api-2-52-software-installations description: REST surface for api-2.52-software-installations. operations: - method: GET name: get description: Pure Storage List Software Upgrades call: flasharray-rest-software.get outputParameters: - type: object mapping: $. - method: POST name: post description: Pure Storage Create a Software Upgrade call: flasharray-rest-software.post with: body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: patch description: Pure Storage Modify Software Upgrade call: flasharray-rest-software.patch with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/2-52/software-patches name: api-2-52-software-patches description: REST surface for api-2.52-software-patches. operations: - method: GET name: get description: Pure Storage List Software Patches call: flasharray-rest-software.get outputParameters: - type: object mapping: $. - method: POST name: post description: Pure Storage Create a Software Patch call: flasharray-rest-software.post with: allow_ha_reduction: rest.allow_ha_reduction name: rest.name outputParameters: - type: object mapping: $. - path: /v1/api/2-52/software-patches/catalog name: api-2-52-software-patches-catalog description: REST surface for api-2.52-software-patches-catalog. operations: - method: GET name: get description: Pure Storage List Available Software Patches call: flasharray-rest-software.get outputParameters: - type: object mapping: $. - path: /v1/api/2-52/software-versions name: api-2-52-software-versions description: REST surface for api-2.52-software-versions. operations: - method: GET name: get description: Pure Storage List Software Versions call: flasharray-rest-software.get outputParameters: - type: object mapping: $. - type: mcp namespace: flasharray-rest-software-mcp port: 9090 transport: http description: MCP adapter for FlashArray REST API — Software. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: pure-storage-list-software-packages description: Pure Storage List Software Packages hints: readOnly: true destructive: false idempotent: true call: flasharray-rest-software.get outputParameters: - type: object mapping: $. - name: pure-storage-create-software-package description: Pure Storage Create a Software Package hints: readOnly: false destructive: false idempotent: false call: flasharray-rest-software.post with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-delete-software-package description: Pure Storage Delete a Software Package hints: readOnly: false destructive: true idempotent: true call: flasharray-rest-software.delete outputParameters: - type: object mapping: $. - name: pure-storage-list-software-bundle description: Pure Storage List Software-bundle hints: readOnly: true destructive: false idempotent: true call: flasharray-rest-software.get outputParameters: - type: object mapping: $. - name: pure-storage-create-software-bundle description: Pure Storage Create Software-bundle hints: readOnly: false destructive: false idempotent: false call: flasharray-rest-software.post with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-list-software-check description: Pure Storage List Software Check Tasks hints: readOnly: true destructive: false idempotent: true call: flasharray-rest-software.get outputParameters: - type: object mapping: $. - name: pure-storage-create-software-check description: Pure Storage Create a Software Check Task hints: readOnly: true destructive: false idempotent: false call: flasharray-rest-software.post outputParameters: - type: object mapping: $. - name: pure-storage-delete-software-check description: Pure Storage Delete a Software Check Task hints: readOnly: false destructive: true idempotent: true call: flasharray-rest-software.delete outputParameters: - type: object mapping: $. - name: pure-storage-list-software-upgrade description: Pure Storage List Software Upgrade Steps hints: readOnly: true destructive: false idempotent: true call: flasharray-rest-software.get outputParameters: - type: object mapping: $. - name: pure-storage-list-software-upgrades description: Pure Storage List Software Upgrades hints: readOnly: true destructive: false idempotent: true call: flasharray-rest-software.get outputParameters: - type: object mapping: $. - name: pure-storage-create-software-upgrade description: Pure Storage Create a Software Upgrade hints: readOnly: false destructive: false idempotent: false call: flasharray-rest-software.post with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-modify-software-upgrade description: Pure Storage Modify Software Upgrade hints: readOnly: false destructive: false idempotent: true call: flasharray-rest-software.patch with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-list-software-patches description: Pure Storage List Software Patches hints: readOnly: true destructive: false idempotent: true call: flasharray-rest-software.get outputParameters: - type: object mapping: $. - name: pure-storage-create-software-patch description: Pure Storage Create a Software Patch hints: readOnly: false destructive: false idempotent: false call: flasharray-rest-software.post with: allow_ha_reduction: tools.allow_ha_reduction name: tools.name outputParameters: - type: object mapping: $. - name: pure-storage-list-available-software description: Pure Storage List Available Software Patches hints: readOnly: true destructive: false idempotent: true call: flasharray-rest-software.get outputParameters: - type: object mapping: $. - name: pure-storage-list-software-versions description: Pure Storage List Software Versions hints: readOnly: true destructive: false idempotent: true call: flasharray-rest-software.get outputParameters: - type: object mapping: $.