naftiko: 1.0.0-alpha2 info: label: FlashArray REST API — Realms description: 'FlashArray REST API — Realms. 10 operations. Lead operation: Pure Storage List Realms. Self-contained Naftiko capability covering one Pure Storage business surface.' tags: - Pure Storage - Realms 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-realms baseUri: '' description: FlashArray REST API — Realms business capability. Self-contained, no shared references. resources: - name: api-2.52-realms path: /api/2.52/realms operations: - name: get method: GET description: Pure Storage List Realms outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Pure Storage Create Realms 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 Realms outputRawFormat: json outputParameters: - name: result type: object value: $. - name: patch method: PATCH description: Pure Storage Modify Realms 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-realms-performance path: /api/2.52/realms/performance operations: - name: get method: GET description: Pure Storage List Realm Performance Data outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-2.52-realms-qos path: /api/2.52/realms/qos operations: - name: get method: GET description: Pure Storage List Realm QoS Config outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-2.52-realms-space path: /api/2.52/realms/space operations: - name: get method: GET description: Pure Storage List Realm Space Information outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-2.52-realms-tags path: /api/2.52/realms/tags operations: - name: get method: GET description: Pure Storage List Tags outputRawFormat: json outputParameters: - name: result type: object value: $. - name: delete method: DELETE description: Pure Storage Delete Tags outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-2.52-realms-tags-batch path: /api/2.52/realms/tags/batch operations: - name: put method: PUT description: Pure Storage Update Tags 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-realms-rest port: 8080 description: REST adapter for FlashArray REST API — Realms. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/2-52/realms name: api-2-52-realms description: REST surface for api-2.52-realms. operations: - method: GET name: get description: Pure Storage List Realms call: flasharray-rest-realms.get outputParameters: - type: object mapping: $. - method: POST name: post description: Pure Storage Create Realms call: flasharray-rest-realms.post with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Pure Storage Delete Realms call: flasharray-rest-realms.delete outputParameters: - type: object mapping: $. - method: PATCH name: patch description: Pure Storage Modify Realms call: flasharray-rest-realms.patch with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/2-52/realms/performance name: api-2-52-realms-performance description: REST surface for api-2.52-realms-performance. operations: - method: GET name: get description: Pure Storage List Realm Performance Data call: flasharray-rest-realms.get outputParameters: - type: object mapping: $. - path: /v1/api/2-52/realms/qos name: api-2-52-realms-qos description: REST surface for api-2.52-realms-qos. operations: - method: GET name: get description: Pure Storage List Realm QoS Config call: flasharray-rest-realms.get outputParameters: - type: object mapping: $. - path: /v1/api/2-52/realms/space name: api-2-52-realms-space description: REST surface for api-2.52-realms-space. operations: - method: GET name: get description: Pure Storage List Realm Space Information call: flasharray-rest-realms.get outputParameters: - type: object mapping: $. - path: /v1/api/2-52/realms/tags name: api-2-52-realms-tags description: REST surface for api-2.52-realms-tags. operations: - method: GET name: get description: Pure Storage List Tags call: flasharray-rest-realms.get outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Pure Storage Delete Tags call: flasharray-rest-realms.delete outputParameters: - type: object mapping: $. - path: /v1/api/2-52/realms/tags/batch name: api-2-52-realms-tags-batch description: REST surface for api-2.52-realms-tags-batch. operations: - method: PUT name: put description: Pure Storage Update Tags call: flasharray-rest-realms.put with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: flasharray-rest-realms-mcp port: 9090 transport: http description: MCP adapter for FlashArray REST API — Realms. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: pure-storage-list-realms description: Pure Storage List Realms hints: readOnly: true destructive: false idempotent: true call: flasharray-rest-realms.get outputParameters: - type: object mapping: $. - name: pure-storage-create-realms description: Pure Storage Create Realms hints: readOnly: false destructive: false idempotent: false call: flasharray-rest-realms.post with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-delete-realms description: Pure Storage Delete Realms hints: readOnly: false destructive: true idempotent: true call: flasharray-rest-realms.delete outputParameters: - type: object mapping: $. - name: pure-storage-modify-realms description: Pure Storage Modify Realms hints: readOnly: false destructive: false idempotent: true call: flasharray-rest-realms.patch with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-list-realm-performance description: Pure Storage List Realm Performance Data hints: readOnly: true destructive: false idempotent: true call: flasharray-rest-realms.get outputParameters: - type: object mapping: $. - name: pure-storage-list-realm-qos description: Pure Storage List Realm QoS Config hints: readOnly: true destructive: false idempotent: true call: flasharray-rest-realms.get outputParameters: - type: object mapping: $. - name: pure-storage-list-realm-space description: Pure Storage List Realm Space Information hints: readOnly: true destructive: false idempotent: true call: flasharray-rest-realms.get outputParameters: - type: object mapping: $. - name: pure-storage-list-tags description: Pure Storage List Tags hints: readOnly: true destructive: false idempotent: true call: flasharray-rest-realms.get outputParameters: - type: object mapping: $. - name: pure-storage-delete-tags description: Pure Storage Delete Tags hints: readOnly: false destructive: true idempotent: true call: flasharray-rest-realms.delete outputParameters: - type: object mapping: $. - name: pure-storage-update-tags description: Pure Storage Update Tags hints: readOnly: false destructive: false idempotent: true call: flasharray-rest-realms.put with: body: tools.body outputParameters: - type: object mapping: $.