naftiko: 1.0.0-alpha2 info: label: Veritas InfoScale REST API — Disk Groups description: 'Veritas InfoScale REST API — Disk Groups. 4 operations. Lead operation: Veritas InfoScale List Disk Groups. Self-contained Naftiko capability covering one Veritas Infoscale business surface.' tags: - Veritas Infoscale - Disk Groups created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: VERITAS_INFOSCALE_API_KEY: VERITAS_INFOSCALE_API_KEY capability: consumes: - type: http namespace: rest-disk-groups baseUri: https://{infoscale-server}:14149/api/v1 description: Veritas InfoScale REST API — Disk Groups business capability. Self-contained, no shared references. resources: - name: diskgroups path: /diskgroups operations: - name: listdiskgroups method: GET description: Veritas InfoScale List Disk Groups outputRawFormat: json outputParameters: - name: result type: object value: $. - name: creatediskgroup method: POST description: Veritas InfoScale Create Disk Group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: diskgroups-diskGroupName path: /diskgroups/{diskGroupName} operations: - name: getdiskgroup method: GET description: Veritas InfoScale Get Disk Group outputRawFormat: json outputParameters: - name: result type: object value: $. - name: deletediskgroup method: DELETE description: Veritas InfoScale Delete Disk Group outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.VERITAS_INFOSCALE_API_KEY}}' exposes: - type: rest namespace: rest-disk-groups-rest port: 8080 description: REST adapter for Veritas InfoScale REST API — Disk Groups. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/diskgroups name: diskgroups description: REST surface for diskgroups. operations: - method: GET name: listdiskgroups description: Veritas InfoScale List Disk Groups call: rest-disk-groups.listdiskgroups outputParameters: - type: object mapping: $. - method: POST name: creatediskgroup description: Veritas InfoScale Create Disk Group call: rest-disk-groups.creatediskgroup with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/diskgroups/{diskgroupname} name: diskgroups-diskgroupname description: REST surface for diskgroups-diskGroupName. operations: - method: GET name: getdiskgroup description: Veritas InfoScale Get Disk Group call: rest-disk-groups.getdiskgroup outputParameters: - type: object mapping: $. - method: DELETE name: deletediskgroup description: Veritas InfoScale Delete Disk Group call: rest-disk-groups.deletediskgroup outputParameters: - type: object mapping: $. - type: mcp namespace: rest-disk-groups-mcp port: 9090 transport: http description: MCP adapter for Veritas InfoScale REST API — Disk Groups. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: veritas-infoscale-list-disk-groups description: Veritas InfoScale List Disk Groups hints: readOnly: true destructive: false idempotent: true call: rest-disk-groups.listdiskgroups outputParameters: - type: object mapping: $. - name: veritas-infoscale-create-disk-group description: Veritas InfoScale Create Disk Group hints: readOnly: false destructive: false idempotent: false call: rest-disk-groups.creatediskgroup with: body: tools.body outputParameters: - type: object mapping: $. - name: veritas-infoscale-get-disk-group description: Veritas InfoScale Get Disk Group hints: readOnly: true destructive: false idempotent: true call: rest-disk-groups.getdiskgroup outputParameters: - type: object mapping: $. - name: veritas-infoscale-delete-disk-group description: Veritas InfoScale Delete Disk Group hints: readOnly: false destructive: true idempotent: true call: rest-disk-groups.deletediskgroup outputParameters: - type: object mapping: $.