naftiko: 1.0.0-alpha2 info: label: FlashArray REST API — Vchosts description: 'FlashArray REST API — Vchosts. 12 operations. Lead operation: Pure Storage List Vchosts. Self-contained Naftiko capability covering one Pure Storage business surface.' tags: - Pure Storage - Vchosts 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-vchosts baseUri: '' description: FlashArray REST API — Vchosts business capability. Self-contained, no shared references. resources: - name: api-2.52-vchosts path: /api/2.52/vchosts operations: - name: get method: GET description: Pure Storage List Vchosts outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Pure Storage Create a Vchost 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 Vchost outputRawFormat: json outputParameters: - name: result type: object value: $. - name: patch method: PATCH description: Pure Storage Modify a Vchost 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-vchosts-certificates path: /api/2.52/vchosts/certificates operations: - name: get method: GET description: Pure Storage List Vchost Certificates outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Pure Storage Create a Vchost Certificate 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 Vchost Certificate outputRawFormat: json outputParameters: - name: result type: object value: $. - name: patch method: PATCH description: Pure Storage Modify a Vchost Certificate 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-vchosts-endpoints path: /api/2.52/vchosts/endpoints operations: - name: get method: GET description: Pure Storage List Vchost Endpoints outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Pure Storage Create a Vchost Endpoint 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 Vchost Endpoint outputRawFormat: json outputParameters: - name: result type: object value: $. - name: patch method: PATCH description: Pure Storage Modify a Vchost Endpoint 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-vchosts-rest port: 8080 description: REST adapter for FlashArray REST API — Vchosts. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/2-52/vchosts name: api-2-52-vchosts description: REST surface for api-2.52-vchosts. operations: - method: GET name: get description: Pure Storage List Vchosts call: flasharray-rest-vchosts.get outputParameters: - type: object mapping: $. - method: POST name: post description: Pure Storage Create a Vchost call: flasharray-rest-vchosts.post with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Pure Storage Delete a Vchost call: flasharray-rest-vchosts.delete outputParameters: - type: object mapping: $. - method: PATCH name: patch description: Pure Storage Modify a Vchost call: flasharray-rest-vchosts.patch with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/2-52/vchosts/certificates name: api-2-52-vchosts-certificates description: REST surface for api-2.52-vchosts-certificates. operations: - method: GET name: get description: Pure Storage List Vchost Certificates call: flasharray-rest-vchosts.get outputParameters: - type: object mapping: $. - method: POST name: post description: Pure Storage Create a Vchost Certificate call: flasharray-rest-vchosts.post with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Pure Storage Delete a Vchost Certificate call: flasharray-rest-vchosts.delete outputParameters: - type: object mapping: $. - method: PATCH name: patch description: Pure Storage Modify a Vchost Certificate call: flasharray-rest-vchosts.patch with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/2-52/vchosts/endpoints name: api-2-52-vchosts-endpoints description: REST surface for api-2.52-vchosts-endpoints. operations: - method: GET name: get description: Pure Storage List Vchost Endpoints call: flasharray-rest-vchosts.get outputParameters: - type: object mapping: $. - method: POST name: post description: Pure Storage Create a Vchost Endpoint call: flasharray-rest-vchosts.post with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Pure Storage Delete a Vchost Endpoint call: flasharray-rest-vchosts.delete outputParameters: - type: object mapping: $. - method: PATCH name: patch description: Pure Storage Modify a Vchost Endpoint call: flasharray-rest-vchosts.patch with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: flasharray-rest-vchosts-mcp port: 9090 transport: http description: MCP adapter for FlashArray REST API — Vchosts. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: pure-storage-list-vchosts description: Pure Storage List Vchosts hints: readOnly: true destructive: false idempotent: true call: flasharray-rest-vchosts.get outputParameters: - type: object mapping: $. - name: pure-storage-create-vchost description: Pure Storage Create a Vchost hints: readOnly: false destructive: false idempotent: false call: flasharray-rest-vchosts.post with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-delete-vchost description: Pure Storage Delete a Vchost hints: readOnly: false destructive: true idempotent: true call: flasharray-rest-vchosts.delete outputParameters: - type: object mapping: $. - name: pure-storage-modify-vchost description: Pure Storage Modify a Vchost hints: readOnly: false destructive: false idempotent: true call: flasharray-rest-vchosts.patch with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-list-vchost-certificates description: Pure Storage List Vchost Certificates hints: readOnly: true destructive: false idempotent: true call: flasharray-rest-vchosts.get outputParameters: - type: object mapping: $. - name: pure-storage-create-vchost-certificate description: Pure Storage Create a Vchost Certificate hints: readOnly: false destructive: false idempotent: false call: flasharray-rest-vchosts.post with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-delete-vchost-certificate description: Pure Storage Delete a Vchost Certificate hints: readOnly: false destructive: true idempotent: true call: flasharray-rest-vchosts.delete outputParameters: - type: object mapping: $. - name: pure-storage-modify-vchost-certificate description: Pure Storage Modify a Vchost Certificate hints: readOnly: false destructive: false idempotent: true call: flasharray-rest-vchosts.patch with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-list-vchost-endpoints description: Pure Storage List Vchost Endpoints hints: readOnly: true destructive: false idempotent: true call: flasharray-rest-vchosts.get outputParameters: - type: object mapping: $. - name: pure-storage-create-vchost-endpoint description: Pure Storage Create a Vchost Endpoint hints: readOnly: false destructive: false idempotent: false call: flasharray-rest-vchosts.post with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-delete-vchost-endpoint description: Pure Storage Delete a Vchost Endpoint hints: readOnly: false destructive: true idempotent: true call: flasharray-rest-vchosts.delete outputParameters: - type: object mapping: $. - name: pure-storage-modify-vchost-endpoint description: Pure Storage Modify a Vchost Endpoint hints: readOnly: false destructive: false idempotent: true call: flasharray-rest-vchosts.patch with: body: tools.body outputParameters: - type: object mapping: $.