naftiko: 1.0.0-alpha2 info: label: Serverless Containers API — Namespaces description: 'Serverless Containers API — Namespaces. 5 operations. Lead operation: List all namespaces the caller can access (read permission).. Self-contained Naftiko capability covering one Scaleway business surface.' tags: - Scaleway - Namespaces 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-namespaces baseUri: https://api.scaleway.com description: Serverless Containers API — Namespaces business capability. Self-contained, no shared references. resources: - name: containers-v1-regions-region-namespaces path: /containers/v1/regions/{region}/namespaces operations: - name: listnamespaces method: GET description: List all namespaces 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: name in: query type: string - name: createnamespace method: POST description: Create a new namespace. 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-namespaces-namespace_id path: /containers/v1/regions/{region}/namespaces/{namespace_id} operations: - name: getnamespace method: GET description: Get the namespace 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: namespace_id in: path type: string required: true - name: updatenamespace method: PATCH description: Update the namespace 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: namespace_id in: path type: string description: UUID of the namespace to update. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deletenamespace method: DELETE description: Delete the namespace 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: namespace_id in: path type: string description: UUID of the namespace to delete. required: true authentication: type: apikey key: X-Auth-Token value: '{{env.SCALEWAY_API_KEY}}' placement: header exposes: - type: rest namespace: serverless-containers-namespaces-rest port: 8080 description: REST adapter for Serverless Containers API — Namespaces. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/containers/v1/regions/{region}/namespaces name: containers-v1-regions-region-namespaces description: REST surface for containers-v1-regions-region-namespaces. operations: - method: GET name: listnamespaces description: List all namespaces the caller can access (read permission). call: serverless-containers-namespaces.listnamespaces 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 name: rest.name outputParameters: - type: object mapping: $. - method: POST name: createnamespace description: Create a new namespace. call: serverless-containers-namespaces.createnamespace with: region: rest.region body: rest.body outputParameters: - type: object mapping: $. - path: /v1/containers/v1/regions/{region}/namespaces/{namespace-id} name: containers-v1-regions-region-namespaces-namespace-id description: REST surface for containers-v1-regions-region-namespaces-namespace_id. operations: - method: GET name: getnamespace description: Get the namespace associated with the specified ID. call: serverless-containers-namespaces.getnamespace with: region: rest.region namespace_id: rest.namespace_id outputParameters: - type: object mapping: $. - method: PATCH name: updatenamespace description: Update the namespace associated with the specified ID. call: serverless-containers-namespaces.updatenamespace with: region: rest.region namespace_id: rest.namespace_id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletenamespace description: Delete the namespace associated with the specified ID. call: serverless-containers-namespaces.deletenamespace with: region: rest.region namespace_id: rest.namespace_id outputParameters: - type: object mapping: $. - type: mcp namespace: serverless-containers-namespaces-mcp port: 9090 transport: http description: MCP adapter for Serverless Containers API — Namespaces. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-all-namespaces-caller-can description: List all namespaces the caller can access (read permission). hints: readOnly: true destructive: false idempotent: true call: serverless-containers-namespaces.listnamespaces 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 name: tools.name outputParameters: - type: object mapping: $. - name: create-new-namespace description: Create a new namespace. hints: readOnly: false destructive: false idempotent: false call: serverless-containers-namespaces.createnamespace with: region: tools.region body: tools.body outputParameters: - type: object mapping: $. - name: get-namespace-associated-specified-id description: Get the namespace associated with the specified ID. hints: readOnly: true destructive: false idempotent: true call: serverless-containers-namespaces.getnamespace with: region: tools.region namespace_id: tools.namespace_id outputParameters: - type: object mapping: $. - name: update-namespace-associated-specified-id description: Update the namespace associated with the specified ID. hints: readOnly: false destructive: false idempotent: true call: serverless-containers-namespaces.updatenamespace with: region: tools.region namespace_id: tools.namespace_id body: tools.body outputParameters: - type: object mapping: $. - name: delete-namespace-associated-specified-id description: Delete the namespace associated with the specified ID. hints: readOnly: false destructive: true idempotent: true call: serverless-containers-namespaces.deletenamespace with: region: tools.region namespace_id: tools.namespace_id outputParameters: - type: object mapping: $.