naftiko: 1.0.0-alpha2 info: label: Serverless Containers API — Domains description: 'Serverless Containers API — Domains. 5 operations. Lead operation: List all custom domains the caller can access (read permission).. Self-contained Naftiko capability covering one Scaleway business surface.' tags: - Scaleway - Domains created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SCALEWAY_API_KEY: SCALEWAY_API_KEY capability: consumes: - type: http namespace: serverless-containers-domains baseUri: https://api.scaleway.com description: Serverless Containers API — Domains business capability. Self-contained, no shared references. resources: - name: containers-v1-regions-region-domains path: /containers/v1/regions/{region}/domains operations: - name: listdomains method: GET description: List all custom domains the caller can access (read permission). outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: region in: path type: string description: The region you want to target required: true - name: page in: query type: integer - name: page_size in: query type: integer - name: order_by in: query type: string - name: organization_id in: query type: string - name: project_id in: query type: string - name: namespace_id in: query type: string - name: container_id in: query type: string - name: createdomain method: POST description: Create a new custom domain for the container with the specified ID. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: region in: path type: string description: The region you want to target required: true - name: body in: body type: object description: Request body (JSON). required: true - name: containers-v1-regions-region-domains-domain_id path: /containers/v1/regions/{region}/domains/{domain_id} operations: - name: getdomain method: GET description: Get the custom domain associated with the specified ID. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: region in: path type: string description: The region you want to target required: true - name: domain_id in: path type: string required: true - name: updatedomain method: PATCH description: Update the domain associated with the specified ID. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: region in: path type: string description: The region you want to target required: true - name: domain_id in: path type: string description: UUID of the domain to update. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deletedomain method: DELETE description: Delete the custom domain associated with the specified ID. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: region in: path type: string description: The region you want to target required: true - name: domain_id in: path type: string description: UUID of the domain to delete. required: true authentication: type: apikey key: X-Auth-Token value: '{{env.SCALEWAY_API_KEY}}' placement: header exposes: - type: rest namespace: serverless-containers-domains-rest port: 8080 description: REST adapter for Serverless Containers API — Domains. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/containers/v1/regions/{region}/domains name: containers-v1-regions-region-domains description: REST surface for containers-v1-regions-region-domains. operations: - method: GET name: listdomains description: List all custom domains the caller can access (read permission). call: serverless-containers-domains.listdomains with: region: rest.region page: rest.page page_size: rest.page_size order_by: rest.order_by organization_id: rest.organization_id project_id: rest.project_id namespace_id: rest.namespace_id container_id: rest.container_id outputParameters: - type: object mapping: $. - method: POST name: createdomain description: Create a new custom domain for the container with the specified ID. call: serverless-containers-domains.createdomain with: region: rest.region body: rest.body outputParameters: - type: object mapping: $. - path: /v1/containers/v1/regions/{region}/domains/{domain-id} name: containers-v1-regions-region-domains-domain-id description: REST surface for containers-v1-regions-region-domains-domain_id. operations: - method: GET name: getdomain description: Get the custom domain associated with the specified ID. call: serverless-containers-domains.getdomain with: region: rest.region domain_id: rest.domain_id outputParameters: - type: object mapping: $. - method: PATCH name: updatedomain description: Update the domain associated with the specified ID. call: serverless-containers-domains.updatedomain with: region: rest.region domain_id: rest.domain_id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletedomain description: Delete the custom domain associated with the specified ID. call: serverless-containers-domains.deletedomain with: region: rest.region domain_id: rest.domain_id outputParameters: - type: object mapping: $. - type: mcp namespace: serverless-containers-domains-mcp port: 9090 transport: http description: MCP adapter for Serverless Containers API — Domains. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-all-custom-domains-caller description: List all custom domains the caller can access (read permission). hints: readOnly: true destructive: false idempotent: true call: serverless-containers-domains.listdomains with: region: tools.region page: tools.page page_size: tools.page_size order_by: tools.order_by organization_id: tools.organization_id project_id: tools.project_id namespace_id: tools.namespace_id container_id: tools.container_id outputParameters: - type: object mapping: $. - name: create-new-custom-domain-container description: Create a new custom domain for the container with the specified ID. hints: readOnly: false destructive: false idempotent: false call: serverless-containers-domains.createdomain with: region: tools.region body: tools.body outputParameters: - type: object mapping: $. - name: get-custom-domain-associated-specified description: Get the custom domain associated with the specified ID. hints: readOnly: true destructive: false idempotent: true call: serverless-containers-domains.getdomain with: region: tools.region domain_id: tools.domain_id outputParameters: - type: object mapping: $. - name: update-domain-associated-specified-id description: Update the domain associated with the specified ID. hints: readOnly: false destructive: false idempotent: true call: serverless-containers-domains.updatedomain with: region: tools.region domain_id: tools.domain_id body: tools.body outputParameters: - type: object mapping: $. - name: delete-custom-domain-associated-specified description: Delete the custom domain associated with the specified ID. hints: readOnly: false destructive: true idempotent: true call: serverless-containers-domains.deletedomain with: region: tools.region domain_id: tools.domain_id outputParameters: - type: object mapping: $.