naftiko: 1.0.0-alpha2 info: label: QuantCDN API — Backup Management description: 'QuantCDN API — Backup Management. 4 operations. Lead operation: List backups for an environment. Self-contained Naftiko capability covering one Quantcdn business surface.' tags: - Quantcdn - Backup Management created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: QUANTCDN_API_KEY: QUANTCDN_API_KEY capability: consumes: - type: http namespace: quantcdn-backup-management baseUri: https://dashboard.quantcdn.io description: QuantCDN API — Backup Management business capability. Self-contained, no shared references. resources: - name: api-v3-organizations-organisation-applications-application-environments-environm path: /api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/backups/{type} operations: - name: listbackups method: GET description: List backups for an environment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: organisation in: path type: string description: The organisation ID required: true - name: application in: path type: string description: The application ID required: true - name: environment in: path type: string description: The environment ID required: true - name: type in: path type: string description: The backup type required: true - name: order in: query type: string description: Sort order for backups by creation date (asc = oldest first, desc = newest first) - name: limit in: query type: integer description: Maximum number of backups to return (max 100) - name: createdBefore in: query type: string description: Only return backups created before this ISO 8601 timestamp (e.g., 2025-01-01T00:00:00Z) - name: createdAfter in: query type: string description: Only return backups created after this ISO 8601 timestamp (e.g., 2024-12-01T00:00:00Z) - name: status in: query type: string description: Filter backups by status - name: nextToken in: query type: string description: Token for retrieving the next page of results - name: createbackup method: POST description: Create a backup for an environment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: organisation in: path type: string description: The organisation ID required: true - name: application in: path type: string description: The application ID required: true - name: environment in: path type: string description: The environment ID required: true - name: type in: path type: string description: The backup type required: true - name: body in: body type: object description: Request body (JSON). required: false - name: api-v3-organizations-organisation-applications-application-environments-environm path: /api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/backups/{type}/{backupId} operations: - name: deletebackup method: DELETE description: Delete a backup outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: organisation in: path type: string description: The organisation ID required: true - name: application in: path type: string description: The application ID required: true - name: environment in: path type: string description: The environment ID required: true - name: type in: path type: string description: The backup type required: true - name: backupId in: path type: string description: The backup ID required: true - name: api-v3-organizations-organisation-applications-application-environments-environm path: /api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/backups/{type}/{backupId}/download operations: - name: downloadbackup method: GET description: Generate a download URL for a backup outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: organisation in: path type: string description: The organisation ID required: true - name: application in: path type: string description: The application ID required: true - name: environment in: path type: string description: The environment ID required: true - name: type in: path type: string description: The backup type required: true - name: backupId in: path type: string description: The backup ID required: true authentication: type: bearer token: '{{env.QUANTCDN_API_KEY}}' exposes: - type: rest namespace: quantcdn-backup-management-rest port: 8080 description: REST adapter for QuantCDN API — Backup Management. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/backups/{type} name: api-v3-organizations-organisation-applications-application-environments-environm description: REST surface for api-v3-organizations-organisation-applications-application-environments-environm. operations: - method: GET name: listbackups description: List backups for an environment call: quantcdn-backup-management.listbackups with: organisation: rest.organisation application: rest.application environment: rest.environment type: rest.type order: rest.order limit: rest.limit createdBefore: rest.createdBefore createdAfter: rest.createdAfter status: rest.status nextToken: rest.nextToken outputParameters: - type: object mapping: $. - method: POST name: createbackup description: Create a backup for an environment call: quantcdn-backup-management.createbackup with: organisation: rest.organisation application: rest.application environment: rest.environment type: rest.type body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/backups/{type}/{backupid} name: api-v3-organizations-organisation-applications-application-environments-environm description: REST surface for api-v3-organizations-organisation-applications-application-environments-environm. operations: - method: DELETE name: deletebackup description: Delete a backup call: quantcdn-backup-management.deletebackup with: organisation: rest.organisation application: rest.application environment: rest.environment type: rest.type backupId: rest.backupId outputParameters: - type: object mapping: $. - path: /v1/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/backups/{type}/{backupid}/download name: api-v3-organizations-organisation-applications-application-environments-environm description: REST surface for api-v3-organizations-organisation-applications-application-environments-environm. operations: - method: GET name: downloadbackup description: Generate a download URL for a backup call: quantcdn-backup-management.downloadbackup with: organisation: rest.organisation application: rest.application environment: rest.environment type: rest.type backupId: rest.backupId outputParameters: - type: object mapping: $. - type: mcp namespace: quantcdn-backup-management-mcp port: 9090 transport: http description: MCP adapter for QuantCDN API — Backup Management. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-backups-environment description: List backups for an environment hints: readOnly: true destructive: false idempotent: true call: quantcdn-backup-management.listbackups with: organisation: tools.organisation application: tools.application environment: tools.environment type: tools.type order: tools.order limit: tools.limit createdBefore: tools.createdBefore createdAfter: tools.createdAfter status: tools.status nextToken: tools.nextToken outputParameters: - type: object mapping: $. - name: create-backup-environment description: Create a backup for an environment hints: readOnly: false destructive: false idempotent: false call: quantcdn-backup-management.createbackup with: organisation: tools.organisation application: tools.application environment: tools.environment type: tools.type body: tools.body outputParameters: - type: object mapping: $. - name: delete-backup description: Delete a backup hints: readOnly: false destructive: true idempotent: true call: quantcdn-backup-management.deletebackup with: organisation: tools.organisation application: tools.application environment: tools.environment type: tools.type backupId: tools.backupId outputParameters: - type: object mapping: $. - name: generate-download-url-backup description: Generate a download URL for a backup hints: readOnly: true destructive: false idempotent: true call: quantcdn-backup-management.downloadbackup with: organisation: tools.organisation application: tools.application environment: tools.environment type: tools.type backupId: tools.backupId outputParameters: - type: object mapping: $.