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