naftiko: 1.0.0-alpha2 info: label: Veritas NetBackup REST API — Images description: 'Veritas NetBackup REST API — Images. 4 operations. Lead operation: Veritas Netbackup List Backup Images. Self-contained Naftiko capability covering one Veritas Netbackup business surface.' tags: - Veritas Netbackup - Images created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: VERITAS_NETBACKUP_API_KEY: VERITAS_NETBACKUP_API_KEY capability: consumes: - type: http namespace: rest-images baseUri: https://{primaryServer}:1556/netbackup description: Veritas NetBackup REST API — Images business capability. Self-contained, no shared references. resources: - name: catalog-images path: /catalog/images operations: - name: listimages method: GET description: Veritas Netbackup List Backup Images outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: page[limit] in: query type: integer description: Maximum number of images to return - name: page[offset] in: query type: integer description: Number of images to skip for pagination - name: filter in: query type: string description: 'OData-style filter expression. Supported fields include policyName, clientName, scheduleName, backupId, and backupTime. Example: policyName eq ''daily-backup'' an' - name: sort in: query type: string description: 'Comma-separated list of fields to sort by. Prefix with a hyphen for descending order. Example: -backupTime' - name: catalog-images-backupId path: /catalog/images/{backupId} operations: - name: getimage method: GET description: Veritas Netbackup Get Backup Image Details outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: backupId in: path type: string description: The unique backup ID of the image required: true - name: expireimage method: DELETE description: Veritas Netbackup Expire a Backup Image outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: backupId in: path type: string description: The unique backup ID of the image to expire required: true - name: catalog-images-backupId-contents path: /catalog/images/{backupId}/contents operations: - name: getimagecontents method: GET description: Veritas Netbackup Get Backup Image File Contents outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: backupId in: path type: string description: The unique backup ID of the image required: true - name: page[limit] in: query type: integer description: Maximum number of content entries to return - name: page[offset] in: query type: integer description: Number of entries to skip for pagination - name: path in: query type: string description: Directory path to list contents from within the backup image. Defaults to the root of the backup selection. authentication: type: bearer token: '{{env.VERITAS_NETBACKUP_API_KEY}}' exposes: - type: rest namespace: rest-images-rest port: 8080 description: REST adapter for Veritas NetBackup REST API — Images. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/catalog/images name: catalog-images description: REST surface for catalog-images. operations: - method: GET name: listimages description: Veritas Netbackup List Backup Images call: rest-images.listimages with: page[limit]: rest.page[limit] page[offset]: rest.page[offset] filter: rest.filter sort: rest.sort outputParameters: - type: object mapping: $. - path: /v1/catalog/images/{backupid} name: catalog-images-backupid description: REST surface for catalog-images-backupId. operations: - method: GET name: getimage description: Veritas Netbackup Get Backup Image Details call: rest-images.getimage with: backupId: rest.backupId outputParameters: - type: object mapping: $. - method: DELETE name: expireimage description: Veritas Netbackup Expire a Backup Image call: rest-images.expireimage with: backupId: rest.backupId outputParameters: - type: object mapping: $. - path: /v1/catalog/images/{backupid}/contents name: catalog-images-backupid-contents description: REST surface for catalog-images-backupId-contents. operations: - method: GET name: getimagecontents description: Veritas Netbackup Get Backup Image File Contents call: rest-images.getimagecontents with: backupId: rest.backupId page[limit]: rest.page[limit] page[offset]: rest.page[offset] path: rest.path outputParameters: - type: object mapping: $. - type: mcp namespace: rest-images-mcp port: 9090 transport: http description: MCP adapter for Veritas NetBackup REST API — Images. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: veritas-netbackup-list-backup-images description: Veritas Netbackup List Backup Images hints: readOnly: true destructive: false idempotent: true call: rest-images.listimages with: page[limit]: tools.page[limit] page[offset]: tools.page[offset] filter: tools.filter sort: tools.sort outputParameters: - type: object mapping: $. - name: veritas-netbackup-get-backup-image description: Veritas Netbackup Get Backup Image Details hints: readOnly: true destructive: false idempotent: true call: rest-images.getimage with: backupId: tools.backupId outputParameters: - type: object mapping: $. - name: veritas-netbackup-expire-backup-image description: Veritas Netbackup Expire a Backup Image hints: readOnly: false destructive: true idempotent: true call: rest-images.expireimage with: backupId: tools.backupId outputParameters: - type: object mapping: $. - name: veritas-netbackup-get-backup-image-2 description: Veritas Netbackup Get Backup Image File Contents hints: readOnly: true destructive: false idempotent: true call: rest-images.getimagecontents with: backupId: tools.backupId page[limit]: tools.page[limit] page[offset]: tools.page[offset] path: tools.path outputParameters: - type: object mapping: $.