---
title: "OpenVibe.Space API · OpenVibe.Services"
canonical: "https://openvibe.services/docs/api/space"
updated: null
---

# OpenVibe.Space API · OpenVibe.Services

HTML: [OpenVibe.Space API · OpenVibe.Services](https://openvibe.services/docs/api/space)

# OpenVibe.Space API

Generated at 2026-12-01 05:42:00 UTC from [`openvibe-contracts v0.454.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.454.0) and [`openvibe-sdk v0.193.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.193.0).

Server `https://openvibe.space`. 46 routes performing 10 capabilities. [OpenAPI 3.1 document](/docs/api/space.json).

  only routes apps can be granted (public, partner)  

### POST `/api/v1/agent/approvals/{id}/decide`

Ask to publish one of a person's own spaces, as their agent (OpenVibe.Actor) built it (plan 2026-10-22 §Z stage Z1).

- Capabilities: [space.build.publish](/docs/capabilities/space.build.publish)
- Visibility: first-party
- Parameters: - `id` (path, required)
- Response: `application/json` [space.build-publish@1](/docs/contracts/space.build-publish)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.build.publish</strong> (first-party): Ask to publish one of a person&#39;s own spaces, as their agent (OpenVibe.Actor) built it (plan 2026-10-22 §Z stage Z1). POST /api/v1/builder/spaces/:id/publish asks and answers { state: &#39;pending&#39; } with the request the person answers in the Dock; Space never publishes without that answer, and the agent is told to wait. The person&#39;s answer reaches Space through POST /api/v1/agent/approvals/:id/decide.</p>

### GET `/api/v1/builder/spaces`

Read a person's own spaces and their source files, as their agent (OpenVibe.Actor) works on them (plan 2026-10-22 §Z stage Z1: Space's builder becomes a task of the person's one agent).

- Capabilities: [space.build.read](/docs/capabilities/space.build.read)
- Visibility: first-party
- Response: `application/json` [space.build-list@1](/docs/contracts/space.build-list)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.build.read</strong> (first-party): Read a person&#39;s own spaces and their source files, as their agent (OpenVibe.Actor) works on them (plan 2026-10-22 §Z stage Z1: Space&#39;s builder becomes a task of the person&#39;s one agent). GET /api/v1/builder/spaces lists the person&#39;s spaces, GET /api/v1/builder/spaces/:id reads one, GET /api/v1/builder/spaces/:id/files reads its files, GET /api/v1/builder/spaces/:id/files/:path reads one of them, GET /api/v1/builder/spaces/:id/preview says where it can be seen. A first-party service names the person in X-OV-Subject; Space reads only that person&#39;s own spaces, and another person&#39;s space is the same 404 as one that does not exist.</p>

### POST `/api/v1/builder/spaces`

Make one of a person's own spaces, as their agent (OpenVibe.Actor) builds it (plan 2026-10-22 §Z stage Z1).

- Capabilities: [space.build.create](/docs/capabilities/space.build.create)
- Visibility: first-party
- Request body: `application/json` [space.build-create@1](/docs/contracts/space.build-create)
- Response: `application/json` [space.build-list@1](/docs/contracts/space.build-list)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.build.create</strong> (first-party): Make one of a person&#39;s own spaces, as their agent (OpenVibe.Actor) builds it (plan 2026-10-22 §Z stage Z1). POST /api/v1/builder/spaces makes a new space of the person named in X-OV-Subject, from Space&#39;s blank template; the agent then fills its files with space.build.write.</p>

### GET `/api/v1/builder/spaces/{id}`

Read a person's own spaces and their source files, as their agent (OpenVibe.Actor) works on them (plan 2026-10-22 §Z stage Z1: Space's builder becomes a task of the person's one agent).

- Capabilities: [space.build.read](/docs/capabilities/space.build.read)
- Visibility: first-party
- Parameters: - `id` (path, required)
- Response: `application/json` [space.build-list@1](/docs/contracts/space.build-list)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.build.read</strong> (first-party): Read a person&#39;s own spaces and their source files, as their agent (OpenVibe.Actor) works on them (plan 2026-10-22 §Z stage Z1: Space&#39;s builder becomes a task of the person&#39;s one agent). GET /api/v1/builder/spaces lists the person&#39;s spaces, GET /api/v1/builder/spaces/:id reads one, GET /api/v1/builder/spaces/:id/files reads its files, GET /api/v1/builder/spaces/:id/files/:path reads one of them, GET /api/v1/builder/spaces/:id/preview says where it can be seen. A first-party service names the person in X-OV-Subject; Space reads only that person&#39;s own spaces, and another person&#39;s space is the same 404 as one that does not exist.</p>

### GET `/api/v1/builder/spaces/{id}/files`

Read a person's own spaces and their source files, as their agent (OpenVibe.Actor) works on them (plan 2026-10-22 §Z stage Z1: Space's builder becomes a task of the person's one agent).

- Capabilities: [space.build.read](/docs/capabilities/space.build.read)
- Visibility: first-party
- Parameters: - `id` (path, required)
- Response: `application/json` [space.build-list@1](/docs/contracts/space.build-list)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.build.read</strong> (first-party): Read a person&#39;s own spaces and their source files, as their agent (OpenVibe.Actor) works on them (plan 2026-10-22 §Z stage Z1: Space&#39;s builder becomes a task of the person&#39;s one agent). GET /api/v1/builder/spaces lists the person&#39;s spaces, GET /api/v1/builder/spaces/:id reads one, GET /api/v1/builder/spaces/:id/files reads its files, GET /api/v1/builder/spaces/:id/files/:path reads one of them, GET /api/v1/builder/spaces/:id/preview says where it can be seen. A first-party service names the person in X-OV-Subject; Space reads only that person&#39;s own spaces, and another person&#39;s space is the same 404 as one that does not exist.</p>

### PUT `/api/v1/builder/spaces/{id}/files`

Write the files of one of a person's own spaces, as their agent (OpenVibe.Actor) builds it (plan 2026-10-22 §Z stage Z1).

- Capabilities: [space.build.write](/docs/capabilities/space.build.write)
- Visibility: first-party
- Parameters: - `id` (path, required)
- Request body: `application/json` [space.build-files@1](/docs/contracts/space.build-files)
- Response: `application/json` [space.build-files@1](/docs/contracts/space.build-files)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.build.write</strong> (first-party): Write the files of one of a person&#39;s own spaces, as their agent (OpenVibe.Actor) builds it (plan 2026-10-22 §Z stage Z1). PUT /api/v1/builder/spaces/:id/files replaces the space&#39;s files with the ones in the body. Every write is audited like Space&#39;s own editor writes are, and the space&#39;s own limits (files, bytes) are the same ones.</p>

### GET `/api/v1/builder/spaces/{id}/files/{path}`

Read a person's own spaces and their source files, as their agent (OpenVibe.Actor) works on them (plan 2026-10-22 §Z stage Z1: Space's builder becomes a task of the person's one agent).

- Capabilities: [space.build.read](/docs/capabilities/space.build.read)
- Visibility: first-party
- Parameters: - `id` (path, required)
- `path` (path, required)
- Response: `application/json` [space.build-list@1](/docs/contracts/space.build-list)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.build.read</strong> (first-party): Read a person&#39;s own spaces and their source files, as their agent (OpenVibe.Actor) works on them (plan 2026-10-22 §Z stage Z1: Space&#39;s builder becomes a task of the person&#39;s one agent). GET /api/v1/builder/spaces lists the person&#39;s spaces, GET /api/v1/builder/spaces/:id reads one, GET /api/v1/builder/spaces/:id/files reads its files, GET /api/v1/builder/spaces/:id/files/:path reads one of them, GET /api/v1/builder/spaces/:id/preview says where it can be seen. A first-party service names the person in X-OV-Subject; Space reads only that person&#39;s own spaces, and another person&#39;s space is the same 404 as one that does not exist.</p>

### GET `/api/v1/builder/spaces/{id}/preview`

Read a person's own spaces and their source files, as their agent (OpenVibe.Actor) works on them (plan 2026-10-22 §Z stage Z1: Space's builder becomes a task of the person's one agent).

- Capabilities: [space.build.read](/docs/capabilities/space.build.read)
- Visibility: first-party
- Parameters: - `id` (path, required)
- Response: `application/json` [space.build-list@1](/docs/contracts/space.build-list)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.build.read</strong> (first-party): Read a person&#39;s own spaces and their source files, as their agent (OpenVibe.Actor) works on them (plan 2026-10-22 §Z stage Z1: Space&#39;s builder becomes a task of the person&#39;s one agent). GET /api/v1/builder/spaces lists the person&#39;s spaces, GET /api/v1/builder/spaces/:id reads one, GET /api/v1/builder/spaces/:id/files reads its files, GET /api/v1/builder/spaces/:id/files/:path reads one of them, GET /api/v1/builder/spaces/:id/preview says where it can be seen. A first-party service names the person in X-OV-Subject; Space reads only that person&#39;s own spaces, and another person&#39;s space is the same 404 as one that does not exist.</p>

### POST `/api/v1/builder/spaces/{id}/publish`

Ask to publish one of a person's own spaces, as their agent (OpenVibe.Actor) built it (plan 2026-10-22 §Z stage Z1).

- Capabilities: [space.build.publish](/docs/capabilities/space.build.publish)
- Visibility: first-party
- Parameters: - `id` (path, required)
- Response: `application/json` [space.build-publish@1](/docs/contracts/space.build-publish)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.build.publish</strong> (first-party): Ask to publish one of a person&#39;s own spaces, as their agent (OpenVibe.Actor) built it (plan 2026-10-22 §Z stage Z1). POST /api/v1/builder/spaces/:id/publish asks and answers { state: &#39;pending&#39; } with the request the person answers in the Dock; Space never publishes without that answer, and the agent is told to wait. The person&#39;s answer reaches Space through POST /api/v1/agent/approvals/:id/decide.</p>

### GET `/api/v1/deploys/{id}`

Upload an immutable static deploy (tar/tar.gz or multipart files; validated for path traversal, links, special and hidden files, server-side code, file types and quotas; never executed), list deploys 

- Capabilities: [space.deploy.create](/docs/capabilities/space.deploy.create)
- Visibility: public
- Parameters: - `id` (path, required)
- Input: [space.deploy-create-request@1](/docs/contracts/space.deploy-create-request)
- Response: `application/json` [space.deploy-create-result@1](/docs/contracts/space.deploy-create-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.deploy.create</strong> (public): Upload an immutable static deploy (tar/tar.gz or multipart files; validated for path traversal, links, special and hidden files, server-side code, file types and quotas; never executed), list deploys and their upload logs, activate a deploy and roll a site back to any earlier ready deploy (one atomic pointer switch). Also judged by the acting principal&#39;s project role (deployer or above); an app principal added to a project as deployer can deploy from CI. A site with a Git source also accepts a CI-built deploy at /sites/:id/source/deploys naming the ref and full commit\_sha; it is always a preview and records that commit as immutable provenance.</p>

### DELETE `/api/v1/deploys/{id}`

Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner

- Capabilities: [space.site.manage](/docs/capabilities/space.site.manage)
- Visibility: public
- Parameters: - `id` (path, required)
- Input: [space.site-manage-request@1](/docs/contracts/space.site-manage-request)
- Response: `application/json` [space.site-manage-result@1](/docs/contracts/space.site-manage-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.site.manage</strong> (public): Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner role), create and delete sites, delete a deploy that is not active. Also judged by the acting principal&#39;s project role; a sandbox token (env=sandbox) is refused on production projects. Quota changes and takedowns (stop serving a site or a whole project while keeping its content for review; lift) additionally need a Network staff user. Read, set or remove a site&#39;s Git source (provider, public repository URL and branch; never a credential).</p>

### POST `/api/v1/deploys/{id}/activate`

Upload an immutable static deploy (tar/tar.gz or multipart files; validated for path traversal, links, special and hidden files, server-side code, file types and quotas; never executed), list deploys 

- Capabilities: [space.deploy.create](/docs/capabilities/space.deploy.create)
- Visibility: public
- Parameters: - `id` (path, required)
- Request body: `application/json` [space.deploy-create-request@1](/docs/contracts/space.deploy-create-request)
- Response: `application/json` [space.deploy-create-result@1](/docs/contracts/space.deploy-create-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.deploy.create</strong> (public): Upload an immutable static deploy (tar/tar.gz or multipart files; validated for path traversal, links, special and hidden files, server-side code, file types and quotas; never executed), list deploys and their upload logs, activate a deploy and roll a site back to any earlier ready deploy (one atomic pointer switch). Also judged by the acting principal&#39;s project role (deployer or above); an app principal added to a project as deployer can deploy from CI. A site with a Git source also accepts a CI-built deploy at /sites/:id/source/deploys naming the ref and full commit\_sha; it is always a preview and records that commit as immutable provenance.</p>

### GET `/api/v1/deploys/{id}/log`

Upload an immutable static deploy (tar/tar.gz or multipart files; validated for path traversal, links, special and hidden files, server-side code, file types and quotas; never executed), list deploys 

- Capabilities: [space.deploy.create](/docs/capabilities/space.deploy.create)
- Visibility: public
- Parameters: - `id` (path, required)
- Input: [space.deploy-create-request@1](/docs/contracts/space.deploy-create-request)
- Response: `application/json` [space.deploy-create-result@1](/docs/contracts/space.deploy-create-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.deploy.create</strong> (public): Upload an immutable static deploy (tar/tar.gz or multipart files; validated for path traversal, links, special and hidden files, server-side code, file types and quotas; never executed), list deploys and their upload logs, activate a deploy and roll a site back to any earlier ready deploy (one atomic pointer switch). Also judged by the acting principal&#39;s project role (deployer or above); an app principal added to a project as deployer can deploy from CI. A site with a Git source also accepts a CI-built deploy at /sites/:id/source/deploys naming the ref and full commit\_sha; it is always a preview and records that commit as immutable provenance.</p>

### DELETE `/api/v1/domains/{id}`

Add a custom domain to a static site (never an OpenVibe domain; not in sandbox projects), read its DNS TXT verification and routing records, trigger a verification check, and remove it.

- Capabilities: [space.domain.manage](/docs/capabilities/space.domain.manage)
- Visibility: public
- Parameters: - `id` (path, required)
- Input: [space.domain-manage-request@1](/docs/contracts/space.domain-manage-request)
- Response: `application/json` [space.domain-manage-result@1](/docs/contracts/space.domain-manage-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.domain.manage</strong> (public): Add a custom domain to a static site (never an OpenVibe domain; not in sandbox projects), read its DNS TXT verification and routing records, trigger a verification check, and remove it. A custom domain is served only after its TXT record is verified; TLS certificates are issued by an operator and never pass through this capability.</p>

### POST `/api/v1/domains/{id}/verify`

Add a custom domain to a static site (never an OpenVibe domain; not in sandbox projects), read its DNS TXT verification and routing records, trigger a verification check, and remove it.

- Capabilities: [space.domain.manage](/docs/capabilities/space.domain.manage)
- Visibility: public
- Parameters: - `id` (path, required)
- Request body: `application/json` [space.domain-manage-request@1](/docs/contracts/space.domain-manage-request)
- Response: `application/json` [space.domain-manage-result@1](/docs/contracts/space.domain-manage-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.domain.manage</strong> (public): Add a custom domain to a static site (never an OpenVibe domain; not in sandbox projects), read its DNS TXT verification and routing records, trigger a verification check, and remove it. A custom domain is served only after its TXT record is verified; TLS certificates are issued by an operator and never pass through this capability.</p>

### GET `/api/v1/projects`

Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner

- Capabilities: [space.site.manage](/docs/capabilities/space.site.manage)
- Visibility: public
- Input: [space.site-manage-request@1](/docs/contracts/space.site-manage-request)
- Response: `application/json` [space.site-manage-result@1](/docs/contracts/space.site-manage-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.site.manage</strong> (public): Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner role), create and delete sites, delete a deploy that is not active. Also judged by the acting principal&#39;s project role; a sandbox token (env=sandbox) is refused on production projects. Quota changes and takedowns (stop serving a site or a whole project while keeping its content for review; lift) additionally need a Network staff user. Read, set or remove a site&#39;s Git source (provider, public repository URL and branch; never a credential).</p>

### POST `/api/v1/projects`

Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner

- Capabilities: [space.site.manage](/docs/capabilities/space.site.manage)
- Visibility: public
- Request body: `application/json` [space.site-manage-request@1](/docs/contracts/space.site-manage-request)
- Response: `application/json` [space.site-manage-result@1](/docs/contracts/space.site-manage-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.site.manage</strong> (public): Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner role), create and delete sites, delete a deploy that is not active. Also judged by the acting principal&#39;s project role; a sandbox token (env=sandbox) is refused on production projects. Quota changes and takedowns (stop serving a site or a whole project while keeping its content for review; lift) additionally need a Network staff user. Read, set or remove a site&#39;s Git source (provider, public repository URL and branch; never a credential).</p>

### GET `/api/v1/projects/{id}`

Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner

- Capabilities: [space.site.manage](/docs/capabilities/space.site.manage)
- Visibility: public
- Parameters: - `id` (path, required)
- Input: [space.site-manage-request@1](/docs/contracts/space.site-manage-request)
- Response: `application/json` [space.site-manage-result@1](/docs/contracts/space.site-manage-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.site.manage</strong> (public): Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner role), create and delete sites, delete a deploy that is not active. Also judged by the acting principal&#39;s project role; a sandbox token (env=sandbox) is refused on production projects. Quota changes and takedowns (stop serving a site or a whole project while keeping its content for review; lift) additionally need a Network staff user. Read, set or remove a site&#39;s Git source (provider, public repository URL and branch; never a credential).</p>

### DELETE `/api/v1/projects/{id}`

Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner

- Capabilities: [space.site.manage](/docs/capabilities/space.site.manage)
- Visibility: public
- Parameters: - `id` (path, required)
- Input: [space.site-manage-request@1](/docs/contracts/space.site-manage-request)
- Response: `application/json` [space.site-manage-result@1](/docs/contracts/space.site-manage-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.site.manage</strong> (public): Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner role), create and delete sites, delete a deploy that is not active. Also judged by the acting principal&#39;s project role; a sandbox token (env=sandbox) is refused on production projects. Quota changes and takedowns (stop serving a site or a whole project while keeping its content for review; lift) additionally need a Network staff user. Read, set or remove a site&#39;s Git source (provider, public repository URL and branch; never a credential).</p>

### PUT `/api/v1/projects/{id}/members/{principal}`

Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner

- Capabilities: [space.site.manage](/docs/capabilities/space.site.manage)
- Visibility: public
- Parameters: - `id` (path, required)
- `principal` (path, required)
- Request body: `application/json` [space.site-manage-request@1](/docs/contracts/space.site-manage-request)
- Response: `application/json` [space.site-manage-result@1](/docs/contracts/space.site-manage-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.site.manage</strong> (public): Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner role), create and delete sites, delete a deploy that is not active. Also judged by the acting principal&#39;s project role; a sandbox token (env=sandbox) is refused on production projects. Quota changes and takedowns (stop serving a site or a whole project while keeping its content for review; lift) additionally need a Network staff user. Read, set or remove a site&#39;s Git source (provider, public repository URL and branch; never a credential).</p>

### DELETE `/api/v1/projects/{id}/members/{principal}`

Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner

- Capabilities: [space.site.manage](/docs/capabilities/space.site.manage)
- Visibility: public
- Parameters: - `id` (path, required)
- `principal` (path, required)
- Input: [space.site-manage-request@1](/docs/contracts/space.site-manage-request)
- Response: `application/json` [space.site-manage-result@1](/docs/contracts/space.site-manage-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.site.manage</strong> (public): Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner role), create and delete sites, delete a deploy that is not active. Also judged by the acting principal&#39;s project role; a sandbox token (env=sandbox) is refused on production projects. Quota changes and takedowns (stop serving a site or a whole project while keeping its content for review; lift) additionally need a Network staff user. Read, set or remove a site&#39;s Git source (provider, public repository URL and branch; never a credential).</p>

### GET `/api/v1/projects/{id}/quota`

Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner

- Capabilities: [space.site.manage](/docs/capabilities/space.site.manage)
- Visibility: public
- Parameters: - `id` (path, required)
- Input: [space.site-manage-request@1](/docs/contracts/space.site-manage-request)
- Response: `application/json` [space.site-manage-result@1](/docs/contracts/space.site-manage-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.site.manage</strong> (public): Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner role), create and delete sites, delete a deploy that is not active. Also judged by the acting principal&#39;s project role; a sandbox token (env=sandbox) is refused on production projects. Quota changes and takedowns (stop serving a site or a whole project while keeping its content for review; lift) additionally need a Network staff user. Read, set or remove a site&#39;s Git source (provider, public repository URL and branch; never a credential).</p>

### PUT `/api/v1/projects/{id}/quota`

Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner

- Capabilities: [space.site.manage](/docs/capabilities/space.site.manage)
- Visibility: public
- Parameters: - `id` (path, required)
- Request body: `application/json` [space.site-manage-request@1](/docs/contracts/space.site-manage-request)
- Response: `application/json` [space.site-manage-result@1](/docs/contracts/space.site-manage-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.site.manage</strong> (public): Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner role), create and delete sites, delete a deploy that is not active. Also judged by the acting principal&#39;s project role; a sandbox token (env=sandbox) is refused on production projects. Quota changes and takedowns (stop serving a site or a whole project while keeping its content for review; lift) additionally need a Network staff user. Read, set or remove a site&#39;s Git source (provider, public repository URL and branch; never a credential).</p>

### GET `/api/v1/projects/{id}/sites`

Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner

- Capabilities: [space.site.manage](/docs/capabilities/space.site.manage)
- Visibility: public
- Parameters: - `id` (path, required)
- Input: [space.site-manage-request@1](/docs/contracts/space.site-manage-request)
- Response: `application/json` [space.site-manage-result@1](/docs/contracts/space.site-manage-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.site.manage</strong> (public): Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner role), create and delete sites, delete a deploy that is not active. Also judged by the acting principal&#39;s project role; a sandbox token (env=sandbox) is refused on production projects. Quota changes and takedowns (stop serving a site or a whole project while keeping its content for review; lift) additionally need a Network staff user. Read, set or remove a site&#39;s Git source (provider, public repository URL and branch; never a credential).</p>

### POST `/api/v1/projects/{id}/sites`

Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner

- Capabilities: [space.site.manage](/docs/capabilities/space.site.manage)
- Visibility: public
- Parameters: - `id` (path, required)
- Request body: `application/json` [space.site-manage-request@1](/docs/contracts/space.site-manage-request)
- Response: `application/json` [space.site-manage-result@1](/docs/contracts/space.site-manage-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.site.manage</strong> (public): Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner role), create and delete sites, delete a deploy that is not active. Also judged by the acting principal&#39;s project role; a sandbox token (env=sandbox) is refused on production projects. Quota changes and takedowns (stop serving a site or a whole project while keeping its content for review; lift) additionally need a Network staff user. Read, set or remove a site&#39;s Git source (provider, public repository URL and branch; never a credential).</p>

### POST `/api/v1/projects/{id}/takedown`

Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner

- Capabilities: [space.site.manage](/docs/capabilities/space.site.manage)
- Visibility: public
- Parameters: - `id` (path, required)
- Request body: `application/json` [space.site-manage-request@1](/docs/contracts/space.site-manage-request)
- Response: `application/json` [space.site-manage-result@1](/docs/contracts/space.site-manage-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.site.manage</strong> (public): Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner role), create and delete sites, delete a deploy that is not active. Also judged by the acting principal&#39;s project role; a sandbox token (env=sandbox) is refused on production projects. Quota changes and takedowns (stop serving a site or a whole project while keeping its content for review; lift) additionally need a Network staff user. Read, set or remove a site&#39;s Git source (provider, public repository URL and branch; never a credential).</p>

### DELETE `/api/v1/projects/{id}/takedown`

Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner

- Capabilities: [space.site.manage](/docs/capabilities/space.site.manage)
- Visibility: public
- Parameters: - `id` (path, required)
- Input: [space.site-manage-request@1](/docs/contracts/space.site-manage-request)
- Response: `application/json` [space.site-manage-result@1](/docs/contracts/space.site-manage-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.site.manage</strong> (public): Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner role), create and delete sites, delete a deploy that is not active. Also judged by the acting principal&#39;s project role; a sandbox token (env=sandbox) is refused on production projects. Quota changes and takedowns (stop serving a site or a whole project while keeping its content for review; lift) additionally need a Network staff user. Read, set or remove a site&#39;s Git source (provider, public repository URL and branch; never a credential).</p>

### GET `/api/v1/resources`

Read OpenVibe.Space's resource index (ADR-048): GET /api/v1/resources lists the resources Host owns as a page of common.resource-summary@1 (common.resource-list-result@1), and GET /api/v1/resources/:o

- Capabilities: [space.resource.read](/docs/capabilities/space.resource.read)
- Visibility: first-party
- Response: `application/json` [common.resource-list-result@1](/docs/contracts/common.resource-list-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.resource.read</strong> (first-party): Read OpenVibe.Space&#39;s resource index (ADR-048): GET /api/v1/resources lists the resources Host owns as a page of common.resource-summary@1 (common.resource-list-result@1), and GET /api/v1/resources/:ovrn reads one by its OVRN (common.resource-summary@1). Every authority serves these for OpenVibe.Services to fan out and merge; Host&#39;s own resources are its static sites (kind space.site, id sit\_&lt;ULID&gt;), the immutable deploys of those sites (kind space.deploy, id dpl\_&lt;ULID&gt;) and their default and custom domains (kind space.domain, id dom\_&lt;ULID&gt;), each with the project\_id of the Network project that owns it. Host lists no projects; only Network lists projects. Planned until Host ships the index.</p>

### GET `/api/v1/resources/{ovrn}`

Read OpenVibe.Space's resource index (ADR-048): GET /api/v1/resources lists the resources Host owns as a page of common.resource-summary@1 (common.resource-list-result@1), and GET /api/v1/resources/:o

- Capabilities: [space.resource.read](/docs/capabilities/space.resource.read)
- Visibility: first-party
- Parameters: - `ovrn` (path, required)
- Response: `application/json` [common.resource-list-result@1](/docs/contracts/common.resource-list-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.resource.read</strong> (first-party): Read OpenVibe.Space&#39;s resource index (ADR-048): GET /api/v1/resources lists the resources Host owns as a page of common.resource-summary@1 (common.resource-list-result@1), and GET /api/v1/resources/:ovrn reads one by its OVRN (common.resource-summary@1). Every authority serves these for OpenVibe.Services to fan out and merge; Host&#39;s own resources are its static sites (kind space.site, id sit\_&lt;ULID&gt;), the immutable deploys of those sites (kind space.deploy, id dpl\_&lt;ULID&gt;) and their default and custom domains (kind space.domain, id dom\_&lt;ULID&gt;), each with the project\_id of the Network project that owns it. Host lists no projects; only Network lists projects. Planned until Host ships the index.</p>

### POST `/api/v1/resources/control`

Control a site, deploy or domain through OpenVibe.Space's control API (ADR-048, plan T13 step 10): POST /api/v1/resources/control takes one common.resource-control-request@1 naming a space.site, space

- Capabilities: [space.resource.control](/docs/capabilities/space.resource.control)
- Visibility: first-party
- Request body: `application/json` [common.resource-control-request@1](/docs/contracts/common.resource-control-request)
- Response: `application/json` [common.resource-control-result@1](/docs/contracts/common.resource-control-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.resource.control</strong> (first-party): Control a site, deploy or domain through OpenVibe.Space&#39;s control API (ADR-048, plan T13 step 10): POST /api/v1/resources/control takes one common.resource-control-request@1 naming a space.site, space.deploy or space.domain by its OVRN, from a first-party service (OpenVibe.Services) acting for the person in on\_behalf\_of. Action: delete, exactly as the API&#39;s DELETE /api/v1/sites/:id, /deploys/:id and /domains/:id: a site stops serving at once and its deploys and domains go with it; the deploy a site is serving, a site&#39;s default domain, and anything of a site under a takedown are refused with Space&#39;s own reason. Any other action is refused unsupported. Space decides by its own project roles (deleting needs maintainer or owner of the project), so a person who is not a member is refused as not found, never confirmed to exist; and only inside the project the OVRN names. dry\_run decides and explains without applying. The first answer per (caller, project, idempotency\_key) is kept and returned for a repeat; the same key with another request is refused. Answers common.resource-control-result@1.</p>

### GET `/api/v1/sites/{id}`

Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner

- Capabilities: [space.site.manage](/docs/capabilities/space.site.manage)
- Visibility: public
- Parameters: - `id` (path, required)
- Input: [space.site-manage-request@1](/docs/contracts/space.site-manage-request)
- Response: `application/json` [space.site-manage-result@1](/docs/contracts/space.site-manage-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.site.manage</strong> (public): Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner role), create and delete sites, delete a deploy that is not active. Also judged by the acting principal&#39;s project role; a sandbox token (env=sandbox) is refused on production projects. Quota changes and takedowns (stop serving a site or a whole project while keeping its content for review; lift) additionally need a Network staff user. Read, set or remove a site&#39;s Git source (provider, public repository URL and branch; never a credential).</p>

### DELETE `/api/v1/sites/{id}`

Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner

- Capabilities: [space.site.manage](/docs/capabilities/space.site.manage)
- Visibility: public
- Parameters: - `id` (path, required)
- Input: [space.site-manage-request@1](/docs/contracts/space.site-manage-request)
- Response: `application/json` [space.site-manage-result@1](/docs/contracts/space.site-manage-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.site.manage</strong> (public): Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner role), create and delete sites, delete a deploy that is not active. Also judged by the acting principal&#39;s project role; a sandbox token (env=sandbox) is refused on production projects. Quota changes and takedowns (stop serving a site or a whole project while keeping its content for review; lift) additionally need a Network staff user. Read, set or remove a site&#39;s Git source (provider, public repository URL and branch; never a credential).</p>

### GET `/api/v1/sites/{id}/config`

Read, set and reset a Host site's serving configuration: response headers, local-only redirects and the SPA fallback (extensionless paths serve index.html).

- Capabilities: [space.site.config](/docs/capabilities/space.site.config)
- Visibility: public
- Parameters: - `id` (path, required)
- `headers` (query)
- `redirects` (query)
- `spa` (query)
- Input: [space.site-config-request@1](/docs/contracts/space.site-config-request)
- Response: `application/json` [space.site-config-result@1](/docs/contracts/space.site-config-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.site.config</strong> (public): Read, set and reset a Host site&#39;s serving configuration: response headers, local-only redirects and the SPA fallback (extensionless paths serve index.html). A capability holder must also hold the acting principal&#39;s project role (maintainer or owner to change, any role to read). Reserved headers (Content-Security-Policy, Strict-Transport-Security, Set-Cookie, X-Forwarded-\*, caching, scope, transport and the platform&#39;s own) are refused, and a redirect target must be a local path, so a site can never become an open redirect.</p>

### PUT `/api/v1/sites/{id}/config`

Read, set and reset a Host site's serving configuration: response headers, local-only redirects and the SPA fallback (extensionless paths serve index.html).

- Capabilities: [space.site.config](/docs/capabilities/space.site.config)
- Visibility: public
- Parameters: - `id` (path, required)
- Request body: `application/json` [space.site-config-request@1](/docs/contracts/space.site-config-request)
- Response: `application/json` [space.site-config-result@1](/docs/contracts/space.site-config-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.site.config</strong> (public): Read, set and reset a Host site&#39;s serving configuration: response headers, local-only redirects and the SPA fallback (extensionless paths serve index.html). A capability holder must also hold the acting principal&#39;s project role (maintainer or owner to change, any role to read). Reserved headers (Content-Security-Policy, Strict-Transport-Security, Set-Cookie, X-Forwarded-\*, caching, scope, transport and the platform&#39;s own) are refused, and a redirect target must be a local path, so a site can never become an open redirect.</p>

### DELETE `/api/v1/sites/{id}/config`

Read, set and reset a Host site's serving configuration: response headers, local-only redirects and the SPA fallback (extensionless paths serve index.html).

- Capabilities: [space.site.config](/docs/capabilities/space.site.config)
- Visibility: public
- Parameters: - `id` (path, required)
- `headers` (query)
- `redirects` (query)
- `spa` (query)
- Input: [space.site-config-request@1](/docs/contracts/space.site-config-request)
- Response: `application/json` [space.site-config-result@1](/docs/contracts/space.site-config-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.site.config</strong> (public): Read, set and reset a Host site&#39;s serving configuration: response headers, local-only redirects and the SPA fallback (extensionless paths serve index.html). A capability holder must also hold the acting principal&#39;s project role (maintainer or owner to change, any role to read). Reserved headers (Content-Security-Policy, Strict-Transport-Security, Set-Cookie, X-Forwarded-\*, caching, scope, transport and the platform&#39;s own) are refused, and a redirect target must be a local path, so a site can never become an open redirect.</p>

### GET `/api/v1/sites/{id}/deploys`

Upload an immutable static deploy (tar/tar.gz or multipart files; validated for path traversal, links, special and hidden files, server-side code, file types and quotas; never executed), list deploys 

- Capabilities: [space.deploy.create](/docs/capabilities/space.deploy.create)
- Visibility: public
- Parameters: - `id` (path, required)
- Input: [space.deploy-create-request@1](/docs/contracts/space.deploy-create-request)
- Response: `application/json` [space.deploy-create-result@1](/docs/contracts/space.deploy-create-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.deploy.create</strong> (public): Upload an immutable static deploy (tar/tar.gz or multipart files; validated for path traversal, links, special and hidden files, server-side code, file types and quotas; never executed), list deploys and their upload logs, activate a deploy and roll a site back to any earlier ready deploy (one atomic pointer switch). Also judged by the acting principal&#39;s project role (deployer or above); an app principal added to a project as deployer can deploy from CI. A site with a Git source also accepts a CI-built deploy at /sites/:id/source/deploys naming the ref and full commit\_sha; it is always a preview and records that commit as immutable provenance.</p>

### POST `/api/v1/sites/{id}/deploys`

Upload an immutable static deploy (tar/tar.gz or multipart files; validated for path traversal, links, special and hidden files, server-side code, file types and quotas; never executed), list deploys 

- Capabilities: [space.deploy.create](/docs/capabilities/space.deploy.create)
- Visibility: public
- Parameters: - `id` (path, required)
- Request body: `application/json` [space.deploy-create-request@1](/docs/contracts/space.deploy-create-request)
- Response: `application/json` [space.deploy-create-result@1](/docs/contracts/space.deploy-create-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.deploy.create</strong> (public): Upload an immutable static deploy (tar/tar.gz or multipart files; validated for path traversal, links, special and hidden files, server-side code, file types and quotas; never executed), list deploys and their upload logs, activate a deploy and roll a site back to any earlier ready deploy (one atomic pointer switch). Also judged by the acting principal&#39;s project role (deployer or above); an app principal added to a project as deployer can deploy from CI. A site with a Git source also accepts a CI-built deploy at /sites/:id/source/deploys naming the ref and full commit\_sha; it is always a preview and records that commit as immutable provenance.</p>

### GET `/api/v1/sites/{id}/domains`

Add a custom domain to a static site (never an OpenVibe domain; not in sandbox projects), read its DNS TXT verification and routing records, trigger a verification check, and remove it.

- Capabilities: [space.domain.manage](/docs/capabilities/space.domain.manage)
- Visibility: public
- Parameters: - `id` (path, required)
- Input: [space.domain-manage-request@1](/docs/contracts/space.domain-manage-request)
- Response: `application/json` [space.domain-manage-result@1](/docs/contracts/space.domain-manage-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.domain.manage</strong> (public): Add a custom domain to a static site (never an OpenVibe domain; not in sandbox projects), read its DNS TXT verification and routing records, trigger a verification check, and remove it. A custom domain is served only after its TXT record is verified; TLS certificates are issued by an operator and never pass through this capability.</p>

### POST `/api/v1/sites/{id}/domains`

Add a custom domain to a static site (never an OpenVibe domain; not in sandbox projects), read its DNS TXT verification and routing records, trigger a verification check, and remove it.

- Capabilities: [space.domain.manage](/docs/capabilities/space.domain.manage)
- Visibility: public
- Parameters: - `id` (path, required)
- Request body: `application/json` [space.domain-manage-request@1](/docs/contracts/space.domain-manage-request)
- Response: `application/json` [space.domain-manage-result@1](/docs/contracts/space.domain-manage-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.domain.manage</strong> (public): Add a custom domain to a static site (never an OpenVibe domain; not in sandbox projects), read its DNS TXT verification and routing records, trigger a verification check, and remove it. A custom domain is served only after its TXT record is verified; TLS certificates are issued by an operator and never pass through this capability.</p>

### POST `/api/v1/sites/{id}/rollback`

Upload an immutable static deploy (tar/tar.gz or multipart files; validated for path traversal, links, special and hidden files, server-side code, file types and quotas; never executed), list deploys 

- Capabilities: [space.deploy.create](/docs/capabilities/space.deploy.create)
- Visibility: public
- Parameters: - `id` (path, required)
- Request body: `application/json` [space.deploy-create-request@1](/docs/contracts/space.deploy-create-request)
- Response: `application/json` [space.deploy-create-result@1](/docs/contracts/space.deploy-create-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.deploy.create</strong> (public): Upload an immutable static deploy (tar/tar.gz or multipart files; validated for path traversal, links, special and hidden files, server-side code, file types and quotas; never executed), list deploys and their upload logs, activate a deploy and roll a site back to any earlier ready deploy (one atomic pointer switch). Also judged by the acting principal&#39;s project role (deployer or above); an app principal added to a project as deployer can deploy from CI. A site with a Git source also accepts a CI-built deploy at /sites/:id/source/deploys naming the ref and full commit\_sha; it is always a preview and records that commit as immutable provenance.</p>

### GET `/api/v1/sites/{id}/source`

Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner

- Capabilities: [space.site.manage](/docs/capabilities/space.site.manage)
- Visibility: public
- Parameters: - `id` (path, required)
- Input: [space.site-manage-request@1](/docs/contracts/space.site-manage-request)
- Response: `application/json` [space.site-manage-result@1](/docs/contracts/space.site-manage-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.site.manage</strong> (public): Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner role), create and delete sites, delete a deploy that is not active. Also judged by the acting principal&#39;s project role; a sandbox token (env=sandbox) is refused on production projects. Quota changes and takedowns (stop serving a site or a whole project while keeping its content for review; lift) additionally need a Network staff user. Read, set or remove a site&#39;s Git source (provider, public repository URL and branch; never a credential).</p>

### PUT `/api/v1/sites/{id}/source`

Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner

- Capabilities: [space.site.manage](/docs/capabilities/space.site.manage)
- Visibility: public
- Parameters: - `id` (path, required)
- Request body: `application/json` [space.site-manage-request@1](/docs/contracts/space.site-manage-request)
- Response: `application/json` [space.site-manage-result@1](/docs/contracts/space.site-manage-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.site.manage</strong> (public): Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner role), create and delete sites, delete a deploy that is not active. Also judged by the acting principal&#39;s project role; a sandbox token (env=sandbox) is refused on production projects. Quota changes and takedowns (stop serving a site or a whole project while keeping its content for review; lift) additionally need a Network staff user. Read, set or remove a site&#39;s Git source (provider, public repository URL and branch; never a credential).</p>

### DELETE `/api/v1/sites/{id}/source`

Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner

- Capabilities: [space.site.manage](/docs/capabilities/space.site.manage)
- Visibility: public
- Parameters: - `id` (path, required)
- Input: [space.site-manage-request@1](/docs/contracts/space.site-manage-request)
- Response: `application/json` [space.site-manage-result@1](/docs/contracts/space.site-manage-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.site.manage</strong> (public): Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner role), create and delete sites, delete a deploy that is not active. Also judged by the acting principal&#39;s project role; a sandbox token (env=sandbox) is refused on production projects. Quota changes and takedowns (stop serving a site or a whole project while keeping its content for review; lift) additionally need a Network staff user. Read, set or remove a site&#39;s Git source (provider, public repository URL and branch; never a credential).</p>

### POST `/api/v1/sites/{id}/source/deploys`

Upload an immutable static deploy (tar/tar.gz or multipart files; validated for path traversal, links, special and hidden files, server-side code, file types and quotas; never executed), list deploys 

- Capabilities: [space.deploy.create](/docs/capabilities/space.deploy.create)
- Visibility: public
- Parameters: - `id` (path, required)
- Request body: `application/json` [space.deploy-create-request@1](/docs/contracts/space.deploy-create-request)
- Response: `application/json` [space.deploy-create-result@1](/docs/contracts/space.deploy-create-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.deploy.create</strong> (public): Upload an immutable static deploy (tar/tar.gz or multipart files; validated for path traversal, links, special and hidden files, server-side code, file types and quotas; never executed), list deploys and their upload logs, activate a deploy and roll a site back to any earlier ready deploy (one atomic pointer switch). Also judged by the acting principal&#39;s project role (deployer or above); an app principal added to a project as deployer can deploy from CI. A site with a Git source also accepts a CI-built deploy at /sites/:id/source/deploys naming the ref and full commit\_sha; it is always a preview and records that commit as immutable provenance.</p>

### POST `/api/v1/sites/{id}/takedown`

Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner

- Capabilities: [space.site.manage](/docs/capabilities/space.site.manage)
- Visibility: public
- Parameters: - `id` (path, required)
- Request body: `application/json` [space.site-manage-request@1](/docs/contracts/space.site-manage-request)
- Response: `application/json` [space.site-manage-result@1](/docs/contracts/space.site-manage-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.site.manage</strong> (public): Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner role), create and delete sites, delete a deploy that is not active. Also judged by the acting principal&#39;s project role; a sandbox token (env=sandbox) is refused on production projects. Quota changes and takedowns (stop serving a site or a whole project while keeping its content for review; lift) additionally need a Network staff user. Read, set or remove a site&#39;s Git source (provider, public repository URL and branch; never a credential).</p>

### DELETE `/api/v1/sites/{id}/takedown`

Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner

- Capabilities: [space.site.manage](/docs/capabilities/space.site.manage)
- Visibility: public
- Parameters: - `id` (path, required)
- Input: [space.site-manage-request@1](/docs/contracts/space.site-manage-request)
- Response: `application/json` [space.site-manage-result@1](/docs/contracts/space.site-manage-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>space.site.manage</strong> (public): Manage OpenVibe.Space tenant projects and static sites: create a project (owned by the person named with X-OV-Subject; apps cannot own projects), read projects, quotas and usage, manage members (owner role), create and delete sites, delete a deploy that is not active. Also judged by the acting principal&#39;s project role; a sandbox token (env=sandbox) is refused on production projects. Quota changes and takedowns (stop serving a site or a whole project while keeping its content for review; lift) additionally need a Network staff user. Read, set or remove a site&#39;s Git source (provider, public repository URL and branch; never a credential).</p>
