naftiko: 1.0.0-alpha2 info: label: FlashArray REST API — Protection Group Snapshots description: 'FlashArray REST API — Protection Group Snapshots. 10 operations. Lead operation: Pure Storage List Protection Group Snapshots. Self-contained Naftiko capability covering one Pure Storage business surface.' tags: - Pure Storage - Protection Group 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-protection-group-snapshots baseUri: '' description: FlashArray REST API — Protection Group Snapshots business capability. Self-contained, no shared references. resources: - name: api-2.52-protection-group-snapshots path: /api/2.52/protection-group-snapshots operations: - name: get method: GET description: Pure Storage List Protection Group Snapshots outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Pure Storage Create a Protection Group Snapshot and Create Tags. 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 a Protection Group Snapshot outputRawFormat: json outputParameters: - name: result type: object value: $. - name: patch method: PATCH description: Pure Storage Modify a Protection Group Snapshot 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-protection-group-snapshots-replica path: /api/2.52/protection-group-snapshots/replica operations: - name: post method: POST description: Pure Storage Create an Action to Send Protection Group Snapshots outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-2.52-protection-group-snapshots-tags path: /api/2.52/protection-group-snapshots/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-protection-group-snapshots-tags-batch path: /api/2.52/protection-group-snapshots/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 - name: api-2.52-protection-group-snapshots-test path: /api/2.52/protection-group-snapshots/test operations: - name: post method: POST description: Pure Storage Create an Attempt to Take Protection Group Snapshot 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-protection-group-snapshots-transfer path: /api/2.52/protection-group-snapshots/transfer operations: - name: get method: GET description: Pure Storage List Protection Group Snapshots with Transfer Statistics outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: flasharray-rest-protection-group-snapshots-rest port: 8080 description: REST adapter for FlashArray REST API — Protection Group Snapshots. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/2-52/protection-group-snapshots name: api-2-52-protection-group-snapshots description: REST surface for api-2.52-protection-group-snapshots. operations: - method: GET name: get description: Pure Storage List Protection Group Snapshots call: flasharray-rest-protection-group-snapshots.get outputParameters: - type: object mapping: $. - method: POST name: post description: Pure Storage Create a Protection Group Snapshot and Create Tags. call: flasharray-rest-protection-group-snapshots.post with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Pure Storage Delete a Protection Group Snapshot call: flasharray-rest-protection-group-snapshots.delete outputParameters: - type: object mapping: $. - method: PATCH name: patch description: Pure Storage Modify a Protection Group Snapshot call: flasharray-rest-protection-group-snapshots.patch with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/2-52/protection-group-snapshots/replica name: api-2-52-protection-group-snapshots-replica description: REST surface for api-2.52-protection-group-snapshots-replica. operations: - method: POST name: post description: Pure Storage Create an Action to Send Protection Group Snapshots call: flasharray-rest-protection-group-snapshots.post outputParameters: - type: object mapping: $. - path: /v1/api/2-52/protection-group-snapshots/tags name: api-2-52-protection-group-snapshots-tags description: REST surface for api-2.52-protection-group-snapshots-tags. operations: - method: GET name: get description: Pure Storage List Tags call: flasharray-rest-protection-group-snapshots.get outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Pure Storage Delete Tags call: flasharray-rest-protection-group-snapshots.delete outputParameters: - type: object mapping: $. - path: /v1/api/2-52/protection-group-snapshots/tags/batch name: api-2-52-protection-group-snapshots-tags-batch description: REST surface for api-2.52-protection-group-snapshots-tags-batch. operations: - method: PUT name: put description: Pure Storage Update Tags call: flasharray-rest-protection-group-snapshots.put with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/2-52/protection-group-snapshots/test name: api-2-52-protection-group-snapshots-test description: REST surface for api-2.52-protection-group-snapshots-test. operations: - method: POST name: post description: Pure Storage Create an Attempt to Take Protection Group Snapshot call: flasharray-rest-protection-group-snapshots.post with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/2-52/protection-group-snapshots/transfer name: api-2-52-protection-group-snapshots-transfer description: REST surface for api-2.52-protection-group-snapshots-transfer. operations: - method: GET name: get description: Pure Storage List Protection Group Snapshots with Transfer Statistics call: flasharray-rest-protection-group-snapshots.get outputParameters: - type: object mapping: $. - type: mcp namespace: flasharray-rest-protection-group-snapshots-mcp port: 9090 transport: http description: MCP adapter for FlashArray REST API — Protection Group Snapshots. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: pure-storage-list-protection-group description: Pure Storage List Protection Group Snapshots hints: readOnly: true destructive: false idempotent: true call: flasharray-rest-protection-group-snapshots.get outputParameters: - type: object mapping: $. - name: pure-storage-create-protection-group description: Pure Storage Create a Protection Group Snapshot and Create Tags. hints: readOnly: false destructive: false idempotent: false call: flasharray-rest-protection-group-snapshots.post with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-delete-protection-group description: Pure Storage Delete a Protection Group Snapshot hints: readOnly: false destructive: true idempotent: true call: flasharray-rest-protection-group-snapshots.delete outputParameters: - type: object mapping: $. - name: pure-storage-modify-protection-group description: Pure Storage Modify a Protection Group Snapshot hints: readOnly: false destructive: false idempotent: true call: flasharray-rest-protection-group-snapshots.patch with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-create-action-send description: Pure Storage Create an Action to Send Protection Group Snapshots hints: readOnly: false destructive: false idempotent: false call: flasharray-rest-protection-group-snapshots.post outputParameters: - type: object mapping: $. - name: pure-storage-list-tags description: Pure Storage List Tags hints: readOnly: true destructive: false idempotent: true call: flasharray-rest-protection-group-snapshots.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-protection-group-snapshots.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-protection-group-snapshots.put with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-create-attempt-take description: Pure Storage Create an Attempt to Take Protection Group Snapshot hints: readOnly: false destructive: false idempotent: false call: flasharray-rest-protection-group-snapshots.post with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-list-protection-group-2 description: Pure Storage List Protection Group Snapshots with Transfer Statistics hints: readOnly: true destructive: false idempotent: true call: flasharray-rest-protection-group-snapshots.get outputParameters: - type: object mapping: $.