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

# OpenVibe.Media API · OpenVibe.Services

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

# OpenVibe.Media 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.media`. 30 routes performing 15 capabilities. [OpenAPI 3.1 document](/docs/api/media.json).

  only routes apps can be granted (public, partner)  

### POST `/api/v1/{app}/files`

Upload a file object into an app namespace.

- Capabilities: [media.object.upload](/docs/capabilities/media.object.upload)
- Visibility: public
- Parameters: - `app` (path, required)
- Request body: `multipart/form-data` [media.file-upload@1](/docs/contracts/media.file-upload)
- Response: `application/json` [media.file@1](/docs/contracts/media.file)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>media.object.upload</strong> (public): Upload a file object into an app namespace.</p>

### GET `/api/v1/{app}/files/{key}`

Read object metadata / bytes in a namespace.

- Capabilities: [media.object.read](/docs/capabilities/media.object.read)
- Visibility: public
- Parameters: - `app` (path, required)
- `key` (path, required)
- Response: `application/json` [media.file-read-result@1](/docs/contracts/media.file-read-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>media.object.read</strong> (public): Read object metadata / bytes in a namespace.</p>

### GET `/api/v1/projects/{project_id}/access-keys`

Issue, list and revoke the S3 access keys of a project (ADR-031, amended 2026-10-14: Media issues the keys it verifies).

- Capabilities: [media.access\_key.manage](/docs/capabilities/media.access_key.manage)
- Visibility: first-party
- Parameters: - `project_id` (path, required)
- `env` (query, required)
- `name` (query, required)
- `permissions` (query)
- `zones` (query)
- `on_behalf_of` (query, required)
- Input: [media.access-key-issue-request@1](/docs/contracts/media.access-key-issue-request)
- Response: `application/json` [media.access-key-issued@1](/docs/contracts/media.access-key-issued)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>media.access\_key.manage</strong> (first-party): Issue, list and revoke the S3 access keys of a project (ADR-031, amended 2026-10-14: Media issues the keys it verifies). A first-party service (OpenVibe.Zone, OpenVibe.Services) calls for the person in on\_behalf\_of, who must be an admin or owner of the project (Media asks Network, network.project.member.read). POST /api/v1/projects/:project\_id/access-keys takes media.access-key-issue-request@1 and answers 201 media.access-key-issued@1, the only answer that carries the secret; GET lists media.access-key-list@1; DELETE /:key\_id revokes at once. Loopback only.</p>

### POST `/api/v1/projects/{project_id}/access-keys`

Issue, list and revoke the S3 access keys of a project (ADR-031, amended 2026-10-14: Media issues the keys it verifies).

- Capabilities: [media.access\_key.manage](/docs/capabilities/media.access_key.manage)
- Visibility: first-party
- Parameters: - `project_id` (path, required)
- Request body: `application/json` [media.access-key-issue-request@1](/docs/contracts/media.access-key-issue-request)
- Response: `application/json` [media.access-key-issued@1](/docs/contracts/media.access-key-issued)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>media.access\_key.manage</strong> (first-party): Issue, list and revoke the S3 access keys of a project (ADR-031, amended 2026-10-14: Media issues the keys it verifies). A first-party service (OpenVibe.Zone, OpenVibe.Services) calls for the person in on\_behalf\_of, who must be an admin or owner of the project (Media asks Network, network.project.member.read). POST /api/v1/projects/:project\_id/access-keys takes media.access-key-issue-request@1 and answers 201 media.access-key-issued@1, the only answer that carries the secret; GET lists media.access-key-list@1; DELETE /:key\_id revokes at once. Loopback only.</p>

### DELETE `/api/v1/projects/{project_id}/access-keys/{key_id}`

Issue, list and revoke the S3 access keys of a project (ADR-031, amended 2026-10-14: Media issues the keys it verifies).

- Capabilities: [media.access\_key.manage](/docs/capabilities/media.access_key.manage)
- Visibility: first-party
- Parameters: - `project_id` (path, required)
- `key_id` (path, required)
- `env` (query, required)
- `name` (query, required)
- `permissions` (query)
- `zones` (query)
- `on_behalf_of` (query, required)
- Input: [media.access-key-issue-request@1](/docs/contracts/media.access-key-issue-request)
- Response: `application/json` [media.access-key-issued@1](/docs/contracts/media.access-key-issued)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>media.access\_key.manage</strong> (first-party): Issue, list and revoke the S3 access keys of a project (ADR-031, amended 2026-10-14: Media issues the keys it verifies). A first-party service (OpenVibe.Zone, OpenVibe.Services) calls for the person in on\_behalf\_of, who must be an admin or owner of the project (Media asks Network, network.project.member.read). POST /api/v1/projects/:project\_id/access-keys takes media.access-key-issue-request@1 and answers 201 media.access-key-issued@1, the only answer that carries the secret; GET lists media.access-key-list@1; DELETE /:key\_id revokes at once. Loopback only.</p>

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

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

- Capabilities: [media.resource.read](/docs/capabilities/media.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>media.resource.read</strong> (first-party): Read OpenVibe.Media&#39;s resource index (ADR-048): GET /api/v1/resources lists the resources Media 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; Media&#39;s own resources are its objects (kind media.object, id med\_&lt;ULID&gt;), the canonical blobs its v1 vods, clips and files are projections of (migrations/0001\_initial.sql media\_objects); vods and clips are projections over objects (bigint ids) and are never listed. An object carries the project of the tenant that owns it when that tenant is a developer project; an object in a first-party app tenant has no project and so no OVRN. Planned until Media ships the index.</p>

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

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

- Capabilities: [media.resource.read](/docs/capabilities/media.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>media.resource.read</strong> (first-party): Read OpenVibe.Media&#39;s resource index (ADR-048): GET /api/v1/resources lists the resources Media 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; Media&#39;s own resources are its objects (kind media.object, id med\_&lt;ULID&gt;), the canonical blobs its v1 vods, clips and files are projections of (migrations/0001\_initial.sql media\_objects); vods and clips are projections over objects (bigint ids) and are never listed. An object carries the project of the tenant that owns it when that tenant is a developer project; an object in a first-party app tenant has no project and so no OVRN. Planned until Media ships the index.</p>

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

Control a media object through OpenVibe.Media's control API (ADR-048, plan T13 step 10): POST /api/v1/resources/control takes one common.resource-control-request@1 naming a media.object by its OVRN, f

- Capabilities: [media.resource.control](/docs/capabilities/media.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>media.resource.control</strong> (first-party): Control a media object through OpenVibe.Media&#39;s control API (ADR-048, plan T13 step 10): POST /api/v1/resources/control takes one common.resource-control-request@1 naming a media.object by its OVRN, from a first-party service (OpenVibe.Services) acting for the person in on\_behalf\_of. Action: delete (a soft delete, exactly as DELETE /api/v1/objects/:id: the object stops being served at once and can be restored through the API until its retention period ends; an object under a retention hold, or a legacy VOD, clip or file managed through its own routes, is refused). Any other action is refused unsupported. Only the object&#39;s owner may act on it, 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/v2/{app}/objects`

List the objects of a namespace (the list verb of Media's namespace grants, WS-G task 2): a Network token sees only the namespaces its ns covers, and ?namespace= narrows the list to one namespace and 

- Capabilities: [media.object.list](/docs/capabilities/media.object.list)
- Visibility: public
- Parameters: - `app` (path, required)
- Response: `application/json` [media.object-list@1](/docs/contracts/media.object-list)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>media.object.list</strong> (public): List the objects of a namespace (the list verb of Media&#39;s namespace grants, WS-G task 2): a Network token sees only the namespaces its ns covers, and ?namespace= narrows the list to one namespace and those below it. The same verb guards the job list (GET /api/v2/:app/jobs), the namespace list with quotas and usage (GET /api/v2/:app/namespaces) and the v1 file list (GET /api/v1/:app/files). media.object.read also grants it, for tokens issued before the verbs were split, unless the namespace&#39;s policy is strict\_verbs.</p>

### POST `/api/v2/{app}/objects`

Upload a file object into an app namespace.

- Capabilities: [media.object.upload](/docs/capabilities/media.object.upload)
- Visibility: public
- Parameters: - `app` (path, required)
- Request body: `application/json` [media.upload-create@1](/docs/contracts/media.upload-create)
- Response: `application/json` [media.upload-init@1](/docs/contracts/media.upload-init)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>media.object.upload</strong> (public): Upload a file object into an app namespace.</p>

### DELETE `/api/v2/{app}/objects/{id}`

Delete an object in a namespace (the delete verb of Media's namespace grants, WS-G task 2): a soft delete that keeps the bytes for the retention period, and the restore that undoes it within that peri

- Capabilities: [media.object.delete](/docs/capabilities/media.object.delete)
- Visibility: public
- Parameters: - `app` (path, required)
- `id` (path, required)
- Response: `application/json` [media.object@1](/docs/contracts/media.object)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>media.object.delete</strong> (public): Delete an object in a namespace (the delete verb of Media&#39;s namespace grants, WS-G task 2): a soft delete that keeps the bytes for the retention period, and the restore that undoes it within that period (checked against the namespace&#39;s quotas); refused while the object is under a retention hold. The same verb guards the v1 file delete (DELETE /api/v1/:app/files/:key). media.object.upload also grants it, for tokens issued before the verbs were split, unless the namespace&#39;s policy is strict\_verbs.</p>

### GET `/api/v2/{app}/objects/{id}/multipart/{uploadId}`

Upload a file object into an app namespace.

- Capabilities: [media.object.upload](/docs/capabilities/media.object.upload)
- Visibility: public
- Parameters: - `app` (path, required)
- `id` (path, required)
- `uploadId` (path, required)
- Response: `application/json` [media.upload@1](/docs/contracts/media.upload)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>media.object.upload</strong> (public): Upload a file object into an app namespace.</p>

### DELETE `/api/v2/{app}/objects/{id}/multipart/{uploadId}`

Upload a file object into an app namespace.

- Capabilities: [media.object.upload](/docs/capabilities/media.object.upload)
- Visibility: public
- Parameters: - `app` (path, required)
- `id` (path, required)
- `uploadId` (path, required)
- Response: `application/json` [media.upload@1](/docs/contracts/media.upload)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>media.object.upload</strong> (public): Upload a file object into an app namespace.</p>

### POST `/api/v2/{app}/objects/{id}/multipart/{uploadId}/complete`

Upload a file object into an app namespace.

- Capabilities: [media.object.upload](/docs/capabilities/media.object.upload)
- Visibility: public
- Parameters: - `app` (path, required)
- `id` (path, required)
- `uploadId` (path, required)
- Request body: `application/json` [media.upload-complete@1](/docs/contracts/media.upload-complete)
- Response: `application/json` [media.object@1](/docs/contracts/media.object)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>media.object.upload</strong> (public): Upload a file object into an app namespace.</p>

### PUT `/api/v2/{app}/objects/{id}/multipart/{uploadId}/parts/{n}`

Upload a file object into an app namespace.

- Capabilities: [media.object.upload](/docs/capabilities/media.object.upload)
- Visibility: public
- Parameters: - `app` (path, required)
- `id` (path, required)
- `uploadId` (path, required)
- `n` (path, required)
- Request body: `application/octet-stream` bytes
- Response: `application/json` [media.upload-part@1](/docs/contracts/media.upload-part)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>media.object.upload</strong> (public): Upload a file object into an app namespace.</p>

### POST `/api/v2/{app}/objects/{id}/operator-view`

Open one 60-second operator evidence view of a hidden or quarantined Media object.

- Capabilities: [media.object.review.view](/docs/capabilities/media.object.review.view)
- Visibility: first-party
- Parameters: - `app` (path, required)
- `id` (path, required)
- Response: —
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>media.object.review.view</strong> (first-party): Open one 60-second operator evidence view of a hidden or quarantined Media object. POST /api/v2/:app/objects/:id/operator-view answers a signed URL whose purpose is separate from every normal download signature; the view is logged (who, when, expiry) and a fine object is refused. OpenVibe.Vision alone holds it, for the review page.</p>

### POST `/api/v2/{app}/objects/{id}/restore`

Delete an object in a namespace (the delete verb of Media's namespace grants, WS-G task 2): a soft delete that keeps the bytes for the retention period, and the restore that undoes it within that peri

- Capabilities: [media.object.delete](/docs/capabilities/media.object.delete)
- Visibility: public
- Parameters: - `app` (path, required)
- `id` (path, required)
- Response: `application/json` [media.object@1](/docs/contracts/media.object)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>media.object.delete</strong> (public): Delete an object in a namespace (the delete verb of Media&#39;s namespace grants, WS-G task 2): a soft delete that keeps the bytes for the retention period, and the restore that undoes it within that period (checked against the namespace&#39;s quotas); refused while the object is under a retention hold. The same verb guards the v1 file delete (DELETE /api/v1/:app/files/:key). media.object.upload also grants it, for tokens issued before the verbs were split, unless the namespace&#39;s policy is strict\_verbs.</p>

### POST `/api/v2/{app}/objects/{id}/review-decision`

Apply an operator's overruling unsafe-image category to a Media object.

- Capabilities: [media.object.review.decide](/docs/capabilities/media.object.review.decide)
- Visibility: first-party
- Parameters: - `app` (path, required)
- `id` (path, required)
- Response: —
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>media.object.review.decide</strong> (first-party): Apply an operator&#39;s overruling unsafe-image category to a Media object. POST /api/v2/:app/objects/:id/review-decision places the evidence hold for minor\_sexual or releases it for fine/sex\_acts, recording who and when; it is a service-principal capability and never an app key or the object&#39;s owner. OpenVibe.Vision calls it after the operator decides.</p>

### GET `/f/{key}`

Read object metadata / bytes in a namespace.

- Capabilities: [media.object.read](/docs/capabilities/media.object.read)
- Visibility: public
- Parameters: - `key` (path, required)
- Response: `application/json` [media.file-read-result@1](/docs/contracts/media.file-read-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>media.object.read</strong> (public): Read object metadata / bytes in a namespace.</p>

### POST `/internal/avatar-adopt`

A product (Network, Live) records that one of its profile slots points at an avatar object on openvibe.media, so a cleanup refuses to delete a picture that a working profile shows.

- Capabilities: [media.avatar.adopt](/docs/capabilities/media.avatar.adopt)
- Visibility: internal
- Request body: `application/json` [media.avatar-adopt-request@1](/docs/contracts/media.avatar-adopt-request)
- Response: `application/json` [media.avatar-adopt-result@1](/docs/contracts/media.avatar-adopt-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>media.avatar.adopt</strong> (internal): A product (Network, Live) records that one of its profile slots points at an avatar object on openvibe.media, so a cleanup refuses to delete a picture that a working profile shows. Recording a slot releases its previous reference.</p>

### POST `/internal/avatar-ingest`

Network asks Media to fetch a person's new avatar from a URL they chose (through Media's egress guard) and store it as their avatar object on openvibe.media.

- Capabilities: [media.avatar.ingest](/docs/capabilities/media.avatar.ingest)
- Visibility: internal
- Request body: `application/json` [media.avatar-ingest-request@1](/docs/contracts/media.avatar-ingest-request)
- Response: `application/json` [media.avatar-ingest-result@1](/docs/contracts/media.avatar-ingest-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>media.avatar.ingest</strong> (internal): Network asks Media to fetch a person&#39;s new avatar from a URL they chose (through Media&#39;s egress guard) and store it as their avatar object on openvibe.media.</p>

### POST `/internal/avatar-release`

A product says a profile slot no longer points at its picture, or that an object's or a person's references are gone, so the object can be deleted normally.

- Capabilities: [media.avatar.release](/docs/capabilities/media.avatar.release)
- Visibility: internal
- Request body: `application/json` [media.avatar-release-request@1](/docs/contracts/media.avatar-release-request)
- Response: `application/json` [media.avatar-release-result@1](/docs/contracts/media.avatar-release-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>media.avatar.release</strong> (internal): A product says a profile slot no longer points at its picture, or that an object&#39;s or a person&#39;s references are gone, so the object can be deleted normally.</p>

### GET `/internal/config`

Manage the configuration namespaces and secrets of OpenVibe.Media through openvibe-shared/config (D11), so the owner can give its keys and accounts on Network's Setup tab: GET /internal/config lists t

- Capabilities: [media.config.manage](/docs/capabilities/media.config.manage)
- Visibility: internal
- Parameters: - `values` (query, required) — The new values, one member per key. The store validates them against the namespace schema; a secret-class value here is refused.
- `reason` (query, required) — Why the change is made; it is the revision's reason in the history.
- `merge` (query) — Merge into the active values instead of replacing them.
- `unset` (query) — Keys to remove from the new revision.
- Input: [common.config-change@1](/docs/contracts/common.config-change)
- Response: `application/json` [common.config-namespace@1](/docs/contracts/common.config-namespace)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>media.config.manage</strong> (internal): Manage the configuration namespaces and secrets of OpenVibe.Media through openvibe-shared/config (D11), so the owner can give its keys and accounts on Network&#39;s Setup tab: GET /internal/config lists the namespace summaries, GET /internal/config/:namespace returns one as common.config-namespace@1, POST applies common.config-change@1, and PUT /internal/config/:namespace/secrets/:key sets a secret with common.config-secret-put@1 (write-only; the answer is the marker) while DELETE removes it. POST /internal/config/:namespace/test/:key asks the service&#39;s tester to try a stored value with the provider on the server, answering { ok, message } in one line that never carries a secret (the owner&#39;s Setup tab). Planned until OpenVibe.Media mounts these routes; it then turns active and its service manifest lists it. Only Network&#39;s admin proxy, acting for the owner, holds this capability; it is never grantable to apps. Each request carries the owner as actor, and the service audits every write with that actor and key, never a secret value.</p>

### GET `/internal/config/{namespace}`

Manage the configuration namespaces and secrets of OpenVibe.Media through openvibe-shared/config (D11), so the owner can give its keys and accounts on Network's Setup tab: GET /internal/config lists t

- Capabilities: [media.config.manage](/docs/capabilities/media.config.manage)
- Visibility: internal
- Parameters: - `namespace` (path, required)
- `values` (query, required) — The new values, one member per key. The store validates them against the namespace schema; a secret-class value here is refused.
- `reason` (query, required) — Why the change is made; it is the revision's reason in the history.
- `merge` (query) — Merge into the active values instead of replacing them.
- `unset` (query) — Keys to remove from the new revision.
- Input: [common.config-change@1](/docs/contracts/common.config-change)
- Response: `application/json` [common.config-namespace@1](/docs/contracts/common.config-namespace)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>media.config.manage</strong> (internal): Manage the configuration namespaces and secrets of OpenVibe.Media through openvibe-shared/config (D11), so the owner can give its keys and accounts on Network&#39;s Setup tab: GET /internal/config lists the namespace summaries, GET /internal/config/:namespace returns one as common.config-namespace@1, POST applies common.config-change@1, and PUT /internal/config/:namespace/secrets/:key sets a secret with common.config-secret-put@1 (write-only; the answer is the marker) while DELETE removes it. POST /internal/config/:namespace/test/:key asks the service&#39;s tester to try a stored value with the provider on the server, answering { ok, message } in one line that never carries a secret (the owner&#39;s Setup tab). Planned until OpenVibe.Media mounts these routes; it then turns active and its service manifest lists it. Only Network&#39;s admin proxy, acting for the owner, holds this capability; it is never grantable to apps. Each request carries the owner as actor, and the service audits every write with that actor and key, never a secret value.</p>

### POST `/internal/config/{namespace}`

Manage the configuration namespaces and secrets of OpenVibe.Media through openvibe-shared/config (D11), so the owner can give its keys and accounts on Network's Setup tab: GET /internal/config lists t

- Capabilities: [media.config.manage](/docs/capabilities/media.config.manage)
- Visibility: internal
- Parameters: - `namespace` (path, required)
- Request body: `application/json` [common.config-change@1](/docs/contracts/common.config-change)
- Response: `application/json` [common.config-namespace@1](/docs/contracts/common.config-namespace)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>media.config.manage</strong> (internal): Manage the configuration namespaces and secrets of OpenVibe.Media through openvibe-shared/config (D11), so the owner can give its keys and accounts on Network&#39;s Setup tab: GET /internal/config lists the namespace summaries, GET /internal/config/:namespace returns one as common.config-namespace@1, POST applies common.config-change@1, and PUT /internal/config/:namespace/secrets/:key sets a secret with common.config-secret-put@1 (write-only; the answer is the marker) while DELETE removes it. POST /internal/config/:namespace/test/:key asks the service&#39;s tester to try a stored value with the provider on the server, answering { ok, message } in one line that never carries a secret (the owner&#39;s Setup tab). Planned until OpenVibe.Media mounts these routes; it then turns active and its service manifest lists it. Only Network&#39;s admin proxy, acting for the owner, holds this capability; it is never grantable to apps. Each request carries the owner as actor, and the service audits every write with that actor and key, never a secret value.</p>

### PUT `/internal/config/{namespace}/secrets/{key}`

Manage the configuration namespaces and secrets of OpenVibe.Media through openvibe-shared/config (D11), so the owner can give its keys and accounts on Network's Setup tab: GET /internal/config lists t

- Capabilities: [media.config.manage](/docs/capabilities/media.config.manage)
- Visibility: internal
- Parameters: - `namespace` (path, required)
- `key` (path, required)
- Request body: `application/json` [common.config-change@1](/docs/contracts/common.config-change)
- Response: `application/json` [common.config-namespace@1](/docs/contracts/common.config-namespace)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>media.config.manage</strong> (internal): Manage the configuration namespaces and secrets of OpenVibe.Media through openvibe-shared/config (D11), so the owner can give its keys and accounts on Network&#39;s Setup tab: GET /internal/config lists the namespace summaries, GET /internal/config/:namespace returns one as common.config-namespace@1, POST applies common.config-change@1, and PUT /internal/config/:namespace/secrets/:key sets a secret with common.config-secret-put@1 (write-only; the answer is the marker) while DELETE removes it. POST /internal/config/:namespace/test/:key asks the service&#39;s tester to try a stored value with the provider on the server, answering { ok, message } in one line that never carries a secret (the owner&#39;s Setup tab). Planned until OpenVibe.Media mounts these routes; it then turns active and its service manifest lists it. Only Network&#39;s admin proxy, acting for the owner, holds this capability; it is never grantable to apps. Each request carries the owner as actor, and the service audits every write with that actor and key, never a secret value.</p>

### DELETE `/internal/config/{namespace}/secrets/{key}`

Manage the configuration namespaces and secrets of OpenVibe.Media through openvibe-shared/config (D11), so the owner can give its keys and accounts on Network's Setup tab: GET /internal/config lists t

- Capabilities: [media.config.manage](/docs/capabilities/media.config.manage)
- Visibility: internal
- Parameters: - `namespace` (path, required)
- `key` (path, required)
- `values` (query, required) — The new values, one member per key. The store validates them against the namespace schema; a secret-class value here is refused.
- `reason` (query, required) — Why the change is made; it is the revision's reason in the history.
- `merge` (query) — Merge into the active values instead of replacing them.
- `unset` (query) — Keys to remove from the new revision.
- Input: [common.config-change@1](/docs/contracts/common.config-change)
- Response: `application/json` [common.config-namespace@1](/docs/contracts/common.config-namespace)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>media.config.manage</strong> (internal): Manage the configuration namespaces and secrets of OpenVibe.Media through openvibe-shared/config (D11), so the owner can give its keys and accounts on Network&#39;s Setup tab: GET /internal/config lists the namespace summaries, GET /internal/config/:namespace returns one as common.config-namespace@1, POST applies common.config-change@1, and PUT /internal/config/:namespace/secrets/:key sets a secret with common.config-secret-put@1 (write-only; the answer is the marker) while DELETE removes it. POST /internal/config/:namespace/test/:key asks the service&#39;s tester to try a stored value with the provider on the server, answering { ok, message } in one line that never carries a secret (the owner&#39;s Setup tab). Planned until OpenVibe.Media mounts these routes; it then turns active and its service manifest lists it. Only Network&#39;s admin proxy, acting for the owner, holds this capability; it is never grantable to apps. Each request carries the owner as actor, and the service audits every write with that actor and key, never a secret value.</p>

### POST `/internal/config/{namespace}/test/{key}`

Manage the configuration namespaces and secrets of OpenVibe.Media through openvibe-shared/config (D11), so the owner can give its keys and accounts on Network's Setup tab: GET /internal/config lists t

- Capabilities: [media.config.manage](/docs/capabilities/media.config.manage)
- Visibility: internal
- Parameters: - `namespace` (path, required)
- `key` (path, required)
- Request body: `application/json` [common.config-change@1](/docs/contracts/common.config-change)
- Response: `application/json` [common.config-namespace@1](/docs/contracts/common.config-namespace)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>media.config.manage</strong> (internal): Manage the configuration namespaces and secrets of OpenVibe.Media through openvibe-shared/config (D11), so the owner can give its keys and accounts on Network&#39;s Setup tab: GET /internal/config lists the namespace summaries, GET /internal/config/:namespace returns one as common.config-namespace@1, POST applies common.config-change@1, and PUT /internal/config/:namespace/secrets/:key sets a secret with common.config-secret-put@1 (write-only; the answer is the marker) while DELETE removes it. POST /internal/config/:namespace/test/:key asks the service&#39;s tester to try a stored value with the provider on the server, answering { ok, message } in one line that never carries a secret (the owner&#39;s Setup tab). Planned until OpenVibe.Media mounts these routes; it then turns active and its service manifest lists it. Only Network&#39;s admin proxy, acting for the owner, holds this capability; it is never grantable to apps. Each request carries the owner as actor, and the service audits every write with that actor and key, never a secret value.</p>

### GET `/internal/zones/{zone_id}`

Provision a zone in OpenVibe.Media (ADR-031 amendment 2026-10-02), granted only to OpenVibe.Zone: PUT /internal/zones/:zone\_id with the zone.object-zone@1 record Zone owns.

- Capabilities: [media.zone.provision](/docs/capabilities/media.zone.provision)
- Visibility: first-party
- Parameters: - `zone_id` (path, required)
- `id` (query, required)
- `ovrn` (query, required) — The resource name used in grants, audit, events, usage records and bills (ADR-034 section 2).
- `project_id` (query, required)
- `env` (query, required) — Fixed at creation. A sandbox key never resolves a production zone.
- `name` (query, required) — The S3 bucket name. It is unique among all the zones of one project environment, deleted ones included: a deleted zone's name is retired, never given to another zone. It is valid as an S3 bucket name.
- `default` (query, required) — The environment's default zone, named \`default\`. Its media\_namespace is the environment root.
- `description` (query)
- `access` (query, required) — private: every named zone in v1. Its objects never have a public\_url and never enter a public cache. per-object: only the default zone, whose existing objects keep their own visibility (public, unlisted or private), public URLs and cached copies, as media.object@1 allows. The S3 surface never serves an object without a signature, in either kind of zone. Publication of a named zone would add a value in a later minor version.
- `state` (query, required) — provisioning: Media has not yet acknowledged the zone. active: it serves requests. deleting: requests answer NoSuchBucket while Media tombstones the objects and erases every copy. deleted: no object or copy remains. The record is kept, and its name stays retired.
- `media_namespace` (query, required) — Where Media keeps the zone's objects. It is the environment root for the default zone, and <root>.<id> for every other zone.
- `quota_bytes` (query, required) — An optional byte ceiling for this zone. Media enforces it together with the project environment's byte quota, and a write over either is refused with QuotaExceeded. null means only the environment quota applies.
- `usage` (query) — A snapshot of the live objects, as Media reports it. Zone never counts. Billed usage comes from Media's hourly media.usage.recorded rollups, whose dimension is this id in lowercase.
- `deletion` (query) — Progress of a zone deletion, as Media reports it.
- `revision` (query, required) — Raised by every change. Zone sends it when it provisions the change in Media, and Media applies only a higher revision.
- `created_at` (query, required)
- `updated_at` (query)
- Input: [zone.object-zone@1](/docs/contracts/zone.object-zone)
- Response: —
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>media.zone.provision</strong> (first-party): Provision a zone in OpenVibe.Media (ADR-031 amendment 2026-10-02), granted only to OpenVibe.Zone: PUT /internal/zones/:zone\_id with the zone.object-zone@1 record Zone owns. Media applies a record only when its revision is higher than the one it holds, checks it with contracts.zones.checkObjectZone, and refuses a name another zone of the environment holds (409 media.zone.name\_retired) and any change of project, environment, name or namespace (409 media.zone.immutable). Media keeps a projection of each zone to resolve S3 bucket names, enforce the zone&#39;s quota\_bytes beside the environment&#39;s, and answer NoSuchBucket for a zone that is deleting or deleted. GET /internal/zones/:zone\_id reports the live objects and, while the zone is deleting, the objects remaining and held; Media tombstones and purges a deleting zone&#39;s objects (no restore window) and records when none remain. Loopback only.</p>

### PUT `/internal/zones/{zone_id}`

Provision a zone in OpenVibe.Media (ADR-031 amendment 2026-10-02), granted only to OpenVibe.Zone: PUT /internal/zones/:zone\_id with the zone.object-zone@1 record Zone owns.

- Capabilities: [media.zone.provision](/docs/capabilities/media.zone.provision)
- Visibility: first-party
- Parameters: - `zone_id` (path, required)
- Request body: `application/json` [zone.object-zone@1](/docs/contracts/zone.object-zone)
- Response: —
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>media.zone.provision</strong> (first-party): Provision a zone in OpenVibe.Media (ADR-031 amendment 2026-10-02), granted only to OpenVibe.Zone: PUT /internal/zones/:zone\_id with the zone.object-zone@1 record Zone owns. Media applies a record only when its revision is higher than the one it holds, checks it with contracts.zones.checkObjectZone, and refuses a name another zone of the environment holds (409 media.zone.name\_retired) and any change of project, environment, name or namespace (409 media.zone.immutable). Media keeps a projection of each zone to resolve S3 bucket names, enforce the zone&#39;s quota\_bytes beside the environment&#39;s, and answer NoSuchBucket for a zone that is deleting or deleted. GET /internal/zones/:zone\_id reports the live objects and, while the zone is deleting, the objects remaining and held; Media tombstones and purges a deleting zone&#39;s objects (no restore window) and records when none remain. Loopback only.</p>

## Other bindings

- [media.object.s3](/docs/capabilities/media.object.s3): `GET s3:/`
- [media.object.s3](/docs/capabilities/media.object.s3): `HEAD s3:/:zone`
- [media.object.s3](/docs/capabilities/media.object.s3): `GET s3:/:zone`
- [media.object.s3](/docs/capabilities/media.object.s3): `POST s3:/:zone?delete`
- [media.object.s3](/docs/capabilities/media.object.s3): `PUT s3:/:zone/:key`
- [media.object.s3](/docs/capabilities/media.object.s3): `GET s3:/:zone/:key`
- [media.object.s3](/docs/capabilities/media.object.s3): `HEAD s3:/:zone/:key`
- [media.object.s3](/docs/capabilities/media.object.s3): `DELETE s3:/:zone/:key`
- [media.object.s3](/docs/capabilities/media.object.s3): `POST s3:/:zone/:key?uploads`
- [media.object.s3](/docs/capabilities/media.object.s3): `PUT s3:/:zone/:key?partNumber&uploadId`
- [media.object.s3](/docs/capabilities/media.object.s3): `POST s3:/:zone/:key?uploadId`
- [media.object.s3](/docs/capabilities/media.object.s3): `DELETE s3:/:zone/:key?uploadId`
- [media.object.s3](/docs/capabilities/media.object.s3): `GET s3:/:zone/:key?uploadId`
- [media.object.s3](/docs/capabilities/media.object.s3): `GET s3:/:zone?uploads`
