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