openvibers/openvibe.contracts Commits
Contracts 0.175.0: media.usage.recorded (per-zone hourly rollups), media.object.s3 lists multipart, ADR-031 interim host (#133)
Changes
@@@ -4,6 +4,21 @@ All notable changes to `openvibe-contracts`. Releases are git tags (`vX.Y.Z`) thfrom `https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/<tag>`. Before v0.30.0,the notes were in the tag and commit messages (`git tag -n1`).++## 0.175.0 — 2026-10-15++++- **`media.usage.recorded`** (ADR-031 section 8): Media's per-zone hourly rollups (`common.usage-recorded@1`). Each one++ names the zone twice: `resource` is its OVRN and `dimension` its id in lowercase. The series:++ - stored bytes (`media.object.upload`, `byte_hours`);++ - writes (`media.object.upload`, `media.object.delete`) and lists (`media.object.list`), each in `requests`;++ - reads (`media.object.read`), in `requests` and `egress_bytes`.++++ Media produces it. Network (the project's usage) and Zone (its usage view) consume it.++- **`media.object.s3`** lists multipart uploads (Media#109) and their routes. Copy and part copy still answer++ NotImplemented.++- **ADR-031:**++ - the interim `s3.openvibe.network` host behind Cloudflare, where a HEAD forwarded as GET is served (Media#110);++ - what v1 leaves out, now that multipart and the rollups exist.++## 0.174.0 — 2026-10-14- **`browser`, a computer kind** (plan T14/T17 next step; OpenVibe.Node's computer plugin 0.5.0). `bot.command@1` takes@@@ -2389,6 +2389,16 @@"status": "active","adr": "ADR-014"},++ {++ "id": "media.usage.recorded",++ "version": "1.0.0",++ "owner": "media",++ "schema": "events/payloads/media.usage.recorded.v1.json",++ "visibility": "first-party",++ "compatibility": "backward",++ "status": "active",++ "adr": "ADR-014"++ },{"id": "live.stream.started","version": "1.0.0",nnew file mode 100644@@@ -0,0 +1,7 @@++{++ "$schema": "https://json-schema.org/draft/2020-12/schema",++ "$id": "https://openvibe.network/contracts/events/payloads/media.usage.recorded.v1.json",++ "title": "MediaUsageRecordedPayload",++ "description": "media.usage.recorded v1 (ADR-031 amendment 2026-10-02, section 8). One closed hour of one zone's use on OpenVibe.Media's S3 surface: resource is the zone's OVRN (ovrn:zone:<project_id>:object-zone/<zon_id>) and dimension the zone id in lowercase, on every rollup. The series: stored bytes (media.object.upload, unit byte_hours: the live objects' bytes summed over the hour, sampled each minute), writes (media.object.upload and media.object.delete, unit requests), lists (media.object.list, unit requests), reads (media.object.read, unit requests) and egress (media.object.read, unit egress_bytes). errors counts the operations refused or failed in the hour, by S3 error code mapped to media.s3.<code>. Media counts as it answers and stores the rollup as its own event after the hour closes, in the same transaction that marks the hour sent; a corrected hour is re-sent with a higher revision. Rollups are counts for dashboards and quotas, never money. The payload is common.usage-recorded@1. Envelope: source media, subject { type: project, id: <project_id> }, visibility internal, priority low, actor service:media.",++ "$ref": "../../common/usage-recorded.v1.json"++}@@@ -292,8 +292,9 @@ A hold placed on an object of the zone after that check is still allowed: Media- Zone serves its site and API on its apex, `https://openvibe.zone`.- `s3.openvibe.media` and `api.openvibe.zone` wait for their DNS records. The DNS token expired, so creating them is the owner's action.- The certificates already cover both names (wildcards).++- Meanwhile Zone points people at `s3.openvibe.network`, which Cloudflare proxies. Cloudflare forwards a HEAD as a GET for paths it may cache, so Media serves a header-signed request that verifies only as HEAD as the GET (never a presigned URL; Media#110). Every S3 answer is `private, no-store`, so the edge never caches one.**What v1 leaves out.**--- Multipart uploads and CopyObject answer `NotImplemented`. Single-request objects go up to Media's single-upload limit.++- CopyObject and UploadPartCopy answer `NotImplemented`. Multipart uploads work since 2026-10-15 (Media#109): parts of 256 MB and objects of 20 GB at most by default, and a single request goes up to Media's single-upload limit.- Overwritten and deleted objects keep counting against a developer project's quota until they are purged. That is Media's existing rule for developer tenants; this ADR's "only live objects count" applies once Media changes that rule.--- Per-zone usage rollups (`media.usage.recorded` with the zone's resource name) are not emitted yet. Zone shows Media's live snapshot.++- Per-zone usage rollups are `media.usage.recorded` (contracts 0.175.0), with the series of section 8. Network adds them to the project's usage, and Zone sums them in its usage view beside Media's live snapshot.nnew file mode 100644@@@ -0,0 +1,14 @@++{++ "project_id": "prj_01JAB2C3D4E5F6G7H8J9K0MNPQ",++ "env": "production",++ "resource": "ovrn:zone:prj_01JAB2C3D4E5F6G7H8J9K0MNPQ:object-zone/zon_01JAB2C3D4E5F6G7H8J9K0MNPR",++ "dimension": "zon_01jab2c3d4e5f6g7h8j9k0mnpr",++ "window": "hour",++ "window_start": "2026-10-15T10:00:00.000Z",++ "window_end": "2026-10-15T11:00:00.000Z",++ "capability": "media.object.upload",++ "unit": "requests",++ "quantity": 1,++ "errors": 0,++ "object_key": "photos/me.jpg"++}nnew file mode 100644@@@ -0,0 +1,13 @@++{++ "project_id": "prj_01JAB2C3D4E5F6G7H8J9K0MNPQ",++ "env": "production",++ "resource": "ovrn:network:prj_01JAB2C3D4E5F6G7H8J9K0MNPQ:account/usr_01JAB2C3D4E5F6G7H8J9K0MNPS",++ "dimension": "zon_01jab2c3d4e5f6g7h8j9k0mnpr",++ "window": "hour",++ "window_start": "2026-10-15T10:00:00.000Z",++ "window_end": "2026-10-15T11:00:00.000Z",++ "capability": "media.object.read",++ "unit": "requests",++ "quantity": 1,++ "errors": 0++}nnew file mode 100644@@@ -0,0 +1,14 @@++{++ "project_id": "prj_01JAB2C3D4E5F6G7H8J9K0MNPQ",++ "env": "production",++ "resource": "ovrn:zone:prj_01JAB2C3D4E5F6G7H8J9K0MNPQ:object-zone/zon_01JAB2C3D4E5F6G7H8J9K0MNPR",++ "dimension": "zon_01jab2c3d4e5f6g7h8j9k0mnpr",++ "window": "hour",++ "window_start": "2026-10-15T10:00:00.000Z",++ "window_end": "2026-10-15T11:00:00.000Z",++ "capability": "media.object.read",++ "unit": "egress_bytes",++ "quantity": 104857600,++ "errors": 0,++ "revision": 2++}nnew file mode 100644@@@ -0,0 +1,24 @@++{++ "project_id": "prj_01JAB2C3D4E5F6G7H8J9K0MNPQ",++ "env": "production",++ "resource": "ovrn:zone:prj_01JAB2C3D4E5F6G7H8J9K0MNPQ:object-zone/zon_01JAB2C3D4E5F6G7H8J9K0MNPR",++ "dimension": "zon_01jab2c3d4e5f6g7h8j9k0mnpr",++ "window": "hour",++ "window_start": "2026-10-15T10:00:00.000Z",++ "window_end": "2026-10-15T11:00:00.000Z",++ "capability": "media.object.read",++ "unit": "requests",++ "quantity": 420,++ "errors": 3,++ "error_codes": {++ "media.s3.no_such_key": 2,++ "media.s3.access_denied": 1++ },++ "samples": [++ {++ "at": "2026-10-15T10:42:10.000Z",++ "code": "media.s3.no_such_key",++ "status": 404++ }++ ]++}nnew file mode 100644@@@ -0,0 +1,13 @@++{++ "project_id": "prj_01JAB2C3D4E5F6G7H8J9K0MNPQ",++ "env": "production",++ "resource": "ovrn:zone:prj_01JAB2C3D4E5F6G7H8J9K0MNPQ:object-zone/zon_01JAB2C3D4E5F6G7H8J9K0MNPR",++ "dimension": "zon_01jab2c3d4e5f6g7h8j9k0mnpr",++ "window": "hour",++ "window_start": "2026-10-15T10:00:00.000Z",++ "window_end": "2026-10-15T11:00:00.000Z",++ "capability": "media.object.upload",++ "unit": "byte_hours",++ "quantity": 5368709120,++ "errors": 0++}@@@ -25472,6 +25472,18 @@"$ref": "../../common/usage-recorded.v1.json"}},++ "media.usage.recorded": {++ "version": "1.0.0",++ "owner": "media",++ "status": "active",++ "schema": {++ "$schema": "https://json-schema.org/draft/2020-12/schema",++ "$id": "https://openvibe.network/contracts/events/payloads/media.usage.recorded.v1.json",++ "title": "MediaUsageRecordedPayload",++ "description": "media.usage.recorded v1 (ADR-031 amendment 2026-10-02, section 8). One closed hour of one zone's use on OpenVibe.Media's S3 surface: resource is the zone's OVRN (ovrn:zone:<project_id>:object-zone/<zon_id>) and dimension the zone id in lowercase, on every rollup. The series: stored bytes (media.object.upload, unit byte_hours: the live objects' bytes summed over the hour, sampled each minute), writes (media.object.upload and media.object.delete, unit requests), lists (media.object.list, unit requests), reads (media.object.read, unit requests) and egress (media.object.read, unit egress_bytes). errors counts the operations refused or failed in the hour, by S3 error code mapped to media.s3.<code>. Media counts as it answers and stores the rollup as its own event after the hour closes, in the same transaction that marks the hour sent; a corrected hour is re-sent with a higher revision. Rollups are counts for dashboards and quotas, never money. The payload is common.usage-recorded@1. Envelope: source media, subject { type: project, id: <project_id> }, visibility internal, priority low, actor service:media.",++ "$ref": "../../common/usage-recorded.v1.json"++ }++ },"live.stream.started": {"version": "1.0.0","owner": "live",@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Actor API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Actor as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Actor as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.AI API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.AI as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.AI as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Billing API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Billing as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Billing as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Blog API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Blog as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Blog as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Bot API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Bot as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Bot as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Chat API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Chat as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Chat as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Codes API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Codes as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Codes as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Community API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Community as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Community as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Coupons API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Coupons as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Coupons as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Deals API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Deals as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Deals as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Events API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Events as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Events as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Food API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Food as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Food as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Games API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Games as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Games as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Host API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Host as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Host as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Inventory API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Inventory as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Inventory as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Live API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Live as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Live as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.MediaHub API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.MediaHub as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.MediaHub as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Media API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Media as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Media as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -2596,6 +2596,30 @@{"capability": "media.object.s3","binding": "DELETE s3:/:zone/:key"++ },++ {++ "capability": "media.object.s3",++ "binding": "POST s3:/:zone/:key?uploads"++ },++ {++ "capability": "media.object.s3",++ "binding": "PUT s3:/:zone/:key?partNumber&uploadId"++ },++ {++ "capability": "media.object.s3",++ "binding": "POST s3:/:zone/:key?uploadId"++ },++ {++ "capability": "media.object.s3",++ "binding": "DELETE s3:/:zone/:key?uploadId"++ },++ {++ "capability": "media.object.s3",++ "binding": "GET s3:/:zone/:key?uploadId"++ },++ {++ "capability": "media.object.s3",++ "binding": "GET s3:/:zone?uploads"}]}@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Network API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Network as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Network as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.News API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.News as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.News as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenRestream API",-- "version": "0.174.0",-- "description": "Routes of OpenRestream as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenRestream as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Play API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Play as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Play as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Reviews API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Reviews as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Reviews as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Run API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Run as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Run as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Search API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Search as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Search as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Services API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Services as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Services as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Sources API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Sources as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Sources as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Space API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Space as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Space as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Tips API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Tips as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Tips as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Tools API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Tools as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Tools as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Trade API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Trade as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Trade as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.VIP API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.VIP as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.VIP as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Watch API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Watch as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Watch as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Wiki API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Wiki as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Wiki as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Work API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Work as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Work as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -3,8 +3,8 @@"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema","info": {"title": "OpenVibe.Zone API",-- "version": "0.174.0",-- "description": "Routes of OpenVibe.Zone as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",++ "version": "0.175.0",++ "description": "Routes of OpenVibe.Zone as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.","license": {"name": "MIT","identifier": "MIT"@@@ -146880,6 +146880,974 @@ export interface EventsUsageRecordedPayload {revision?: number;}++/** [email protected] (owner: media) */++/**++ * media.usage.recorded v1 (ADR-031 amendment 2026-10-02, section 8). One closed hour of one zone's use on OpenVibe.Media's S3 surface: resource is the zone's OVRN (ovrn:zone:<project_id>:object-zone/<zon_id>) and dimension the zone id in lowercase, on every rollup. The series: stored bytes (media.object.upload, unit byte_hours: the live objects' bytes summed over the hour, sampled each minute), writes (media.object.upload and media.object.delete, unit requests), lists (media.object.list, unit requests), reads (media.object.read, unit requests) and egress (media.object.read, unit egress_bytes). errors counts the operations refused or failed in the hour, by S3 error code mapped to media.s3.<code>. Media counts as it answers and stores the rollup as its own event after the hour closes, in the same transaction that marks the hour sent; a corrected hour is re-sent with a higher revision. Rollups are counts for dashboards and quotas, never money. The payload is common.usage-recorded@1. Envelope: source media, subject { type: project, id: <project_id> }, visibility internal, priority low, actor service:media.++ */++export interface MediaUsageRecordedPayload {++ /**++ * The developer project whose app token did the work.++ */++ project_id: string;++ /**++ * The environment of that app token.++ */++ env: "sandbox" | "production";++ /**++ * The capability the usage counts against: tools.job.create, tools.tool.run, events.app.publish, events.app.subscribe.++ */++ capability: string;++ /**++ * Optional finer key inside the capability, as the producer names it: a job type (img.process) or a tool id (image-resize). Never the id of a person, an app, a request or a job.++ */++ dimension?: string;++ /**++ * Optional resource name (ADR-034 section 2) of the project resource the usage counts against, so a dashboard or quota can group a count by resource (rollups are counts, never money; Billing never consumes them and rates only platform.usage-sample readings): ovrn:zone:<project_id>:object-zone/<zon_id> on Media's per-zone rollups (ADR-031 amendment 2026-10-02). Its project is project_id: a resource of another project is refused (contracts.usage.checkUsageRecorded). Added in 1.1.0. Never the resource name of a person, an app, a request or a job.++ */++ resource?: string;++ /**++ * What quantity counts (jobs, events, deliveries, requests, bytes, tokens): the same word a Network project quota uses for its unit.++ */++ unit: string;++ /**++ * The length of the window.++ */++ window: "hour" | "day";++ /**++ * UTC, on the hour (midnight for a day).++ */++ window_start: string;++ /**++ * window_start plus the window, exclusive.++ */++ window_end: string;++ /**++ * Units used in the window, by work that succeeded and work that failed alike.++ */++ quantity: number;++ /**++ * Operations in the window that failed or were refused: a job that failed, a publish refused with a problem, a webhook attempt without a 2xx. A refused operation may use no unit, so errors can exceed quantity.++ */++ errors: number;++ /**++ * The errors by problem code (at most 20 codes; the rest are only in errors).++ */++ error_codes?: {++ [k: string]: number | undefined;++ };++ /**++ * The last failures of the window, newest first, so a developer can find them in their own logs.++ *++ * @maxItems 10++ */++ samples?:++ | []++ | [++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ }++ ]++ | [++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ }++ ]++ | [++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ }++ ]++ | [++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ }++ ]++ | [++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ }++ ]++ | [++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ }++ ]++ | [++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ }++ ]++ | [++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ }++ ]++ | [++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ }++ ]++ | [++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ },++ {++ at: string;++ code: string;++ /**++ * The HTTP status the failure was answered with, when there was one.++ */++ status?: number;++ /**++ * The W3C trace id of the request (or event) that failed.++ */++ trace_id?: string;++ /**++ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.++ */++ ref?: string;++ }++ ];++ /**++ * 1 when absent. A producer that re-emits a window with corrected totals raises it.++ */++ revision?: number;++}++/** [email protected] (owner: live) *//*** live.stream.started v1 (OpenVibe.Live server/events/stream-events.js envelopeFor, fired by server/db/database.js createStream). A streams row went live: WebRTC/JSMPEG from the dashboard, RTMP ingest, WHIP, or an OpenRestream session mirrored into Live. Written to Live's event_outbox in the transaction that inserts the row, so the event exists if and only if the stream did. Carries public channel facts only (the stream is listed publicly already); consumers such as Network's go-live notifications decide who hears about it. Never the stream key, the Live user id or the description. Envelope: subject { type: stream, id: <stream_id as a string>, revision: 1 }, visibility public, priority important, actor the streamer's user subject when Live knows it, else service:live.@@@ -4,7 +4,7 @@"owner": "media","status": "active","visibility": "public",-- "description": "OpenVibe.Media's S3 surface (ADR-031), path style at https://s3.openvibe.media/<zone name>/<key>: PutObject (one request, aws-chunked bodies included, Content-MD5 and x-amz-checksum-* checked), GetObject (ranges), HeadObject, DeleteObject, DeleteObjects, ListObjectsV2 and ListObjects (prefix, delimiter, pages), ListBuckets, HeadBucket, GetBucketLocation, and presigned GET and PUT (SigV4 query, 7 days at most). Everything else answers NotImplemented (multipart, copy, ACLs, policies, versioning; buckets are made and deleted only through OpenVibe.Zone). It is reached with a media.access-key@1 rather than a Network token: the key fixes the project and environment, so a bucket name names one zone of that environment, and a key scoped to zones reaches only those. A request is authorised as the project's app would be: the same quotas (the zone's and the environment's), the same objects as the native API, and Media's one deletion path (a held object is neither deleted nor overwritten). Responses carry a sandbox Content-Security-Policy.",++ "description": "OpenVibe.Media's S3 surface (ADR-031), path style at https://s3.openvibe.media/<zone name>/<key>: PutObject (one request, aws-chunked bodies included, Content-MD5 and x-amz-checksum-* checked), GetObject (ranges), HeadObject, DeleteObject, DeleteObjects, ListObjectsV2 and ListObjects (prefix, delimiter, pages), ListBuckets, HeadBucket, GetBucketLocation, and presigned GET and PUT (SigV4 query, 7 days at most). multipart uploads (CreateMultipartUpload, UploadPart, CompleteMultipartUpload, AbortMultipartUpload, ListParts, ListMultipartUploads; every part but the last at least 5 MiB, parts of 256 MB and objects of 20 GB at most by default, 10000 parts, an upload expiring after a day). Everything else answers NotImplemented (copy, part copy, ACLs, policies, versioning; buckets are made and deleted only through OpenVibe.Zone). It is reached with a media.access-key@1 rather than a Network token: the key fixes the project and environment, so a bucket name names one zone of that environment, and a key scoped to zones reaches only those. A request is authorised as the project's app would be: the same quotas (the zone's and the environment's), the same objects as the native API, and Media's one deletion path (a held object is neither deleted nor overwritten). Responses carry a sandbox Content-Security-Policy.","permissions": ["objects:read","objects:write"@@@ -25,7 +25,13 @@"PUT s3:/:zone/:key","GET s3:/:zone/:key","HEAD s3:/:zone/:key",-- "DELETE s3:/:zone/:key"++ "DELETE s3:/:zone/:key",++ "POST s3:/:zone/:key?uploads",++ "PUT s3:/:zone/:key?partNumber&uploadId",++ "POST s3:/:zone/:key?uploadId",++ "DELETE s3:/:zone/:key?uploadId",++ "GET s3:/:zone/:key?uploadId",++ "GET s3:/:zone?uploads"],"inputSchema": "common.no-body@1","outputSchema": "common.no-body@1"@@@ -68,6 +68,7 @@"media.replica.requested","media.storage.alert","media.storage.recovered",++ "media.usage.recorded","media.vod.failed","media.vod.ready"],@@@ -97,6 +97,7 @@"live.moderation.action","live.stream.started","media.moderation.action",++ "media.usage.recorded","news.moderation.action","reviews.moderation.action","services.moderation.action",@@@ -27,7 +27,9 @@"zone.resource.control"],"eventsProduced": [],-- "eventsConsumed": [],++ "eventsConsumed": [++ "media.usage.recorded"++ ],"namespacesOwned": ["zone.*"],@@@ -1,6 +1,6 @@{"name": "openvibe-contracts",-- "version": "0.174.0",++ "version": "0.175.0","description": "Machine-readable contracts for the OpenVibe network: schemas, manifests, ids, error envelope, capability checks.","main": "index.js","types": "generated/typescript/index.d.ts",
@@ -4,6 +4,21 @@ All notable changes to `openvibe-contracts`. Releases are git tags (`vX.Y.Z`) th
@@ -4,6 +4,21 @@ All notable changes to `openvibe-contracts`. Releases are git tags (`vX.Y.Z`) th
from `https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/<tag>`. Before v0.30.0,
from `https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/<tag>`. Before v0.30.0,
the notes were in the tag and commit messages (`git tag -n1`).
the notes were in the tag and commit messages (`git tag -n1`).
+## 0.175.0 — 2026-10-15
+
+- **`media.usage.recorded`** (ADR-031 section 8): Media's per-zone hourly rollups (`common.usage-recorded@1`). Each one
+ names the zone twice: `resource` is its OVRN and `dimension` its id in lowercase. The series:
+ - stored bytes (`media.object.upload`, `byte_hours`);
+ - writes (`media.object.upload`, `media.object.delete`) and lists (`media.object.list`), each in `requests`;
+ - reads (`media.object.read`), in `requests` and `egress_bytes`.
+
+ Media produces it. Network (the project's usage) and Zone (its usage view) consume it.
+- **`media.object.s3`** lists multipart uploads (Media#109) and their routes. Copy and part copy still answer
+ NotImplemented.
+- **ADR-031:**
+ - the interim `s3.openvibe.network` host behind Cloudflare, where a HEAD forwarded as GET is served (Media#110);
+ - what v1 leaves out, now that multipart and the rollups exist.
+
## 0.174.0 — 2026-10-14
## 0.174.0 — 2026-10-14
- **`browser`, a computer kind** (plan T14/T17 next step; OpenVibe.Node's computer plugin 0.5.0). `bot.command@1` takes
- **`browser`, a computer kind** (plan T14/T17 next step; OpenVibe.Node's computer plugin 0.5.0). `bot.command@1` takes
@@ -2389,6 +2389,16 @@
@@ -2389,6 +2389,16 @@
"status": "active",
"status": "active",
"adr": "ADR-014"
"adr": "ADR-014"
},
},
+ {
+ "id": "media.usage.recorded",
+ "version": "1.0.0",
+ "owner": "media",
+ "schema": "events/payloads/media.usage.recorded.v1.json",
+ "visibility": "first-party",
+ "compatibility": "backward",
+ "status": "active",
+ "adr": "ADR-014"
+ },
{
{
"id": "live.stream.started",
"id": "live.stream.started",
"version": "1.0.0",
"version": "1.0.0",
new file mode 100644
new file mode 100644
@@ -0,0 +1,7 @@
@@ -0,0 +1,7 @@
+{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "$id": "https://openvibe.network/contracts/events/payloads/media.usage.recorded.v1.json",
+ "title": "MediaUsageRecordedPayload",
+ "description": "media.usage.recorded v1 (ADR-031 amendment 2026-10-02, section 8). One closed hour of one zone's use on OpenVibe.Media's S3 surface: resource is the zone's OVRN (ovrn:zone:<project_id>:object-zone/<zon_id>) and dimension the zone id in lowercase, on every rollup. The series: stored bytes (media.object.upload, unit byte_hours: the live objects' bytes summed over the hour, sampled each minute), writes (media.object.upload and media.object.delete, unit requests), lists (media.object.list, unit requests), reads (media.object.read, unit requests) and egress (media.object.read, unit egress_bytes). errors counts the operations refused or failed in the hour, by S3 error code mapped to media.s3.<code>. Media counts as it answers and stores the rollup as its own event after the hour closes, in the same transaction that marks the hour sent; a corrected hour is re-sent with a higher revision. Rollups are counts for dashboards and quotas, never money. The payload is common.usage-recorded@1. Envelope: source media, subject { type: project, id: <project_id> }, visibility internal, priority low, actor service:media.",
+ "$ref": "../../common/usage-recorded.v1.json"
+}
@@ -292,8 +292,9 @@ A hold placed on an object of the zone after that check is still allowed: Media
@@ -292,8 +292,9 @@ A hold placed on an object of the zone after that check is still allowed: Media
- Zone serves its site and API on its apex, `https://openvibe.zone`.
- Zone serves its site and API on its apex, `https://openvibe.zone`.
- `s3.openvibe.media` and `api.openvibe.zone` wait for their DNS records. The DNS token expired, so creating them is the owner's action.
- `s3.openvibe.media` and `api.openvibe.zone` wait for their DNS records. The DNS token expired, so creating them is the owner's action.
- The certificates already cover both names (wildcards).
- The certificates already cover both names (wildcards).
+- Meanwhile Zone points people at `s3.openvibe.network`, which Cloudflare proxies. Cloudflare forwards a HEAD as a GET for paths it may cache, so Media serves a header-signed request that verifies only as HEAD as the GET (never a presigned URL; Media#110). Every S3 answer is `private, no-store`, so the edge never caches one.
**What v1 leaves out.**
**What v1 leaves out.**
-- Multipart uploads and CopyObject answer `NotImplemented`. Single-request objects go up to Media's single-upload limit.
+- CopyObject and UploadPartCopy answer `NotImplemented`. Multipart uploads work since 2026-10-15 (Media#109): parts of 256 MB and objects of 20 GB at most by default, and a single request goes up to Media's single-upload limit.
- Overwritten and deleted objects keep counting against a developer project's quota until they are purged. That is Media's existing rule for developer tenants; this ADR's "only live objects count" applies once Media changes that rule.
- Overwritten and deleted objects keep counting against a developer project's quota until they are purged. That is Media's existing rule for developer tenants; this ADR's "only live objects count" applies once Media changes that rule.
-- Per-zone usage rollups (`media.usage.recorded` with the zone's resource name) are not emitted yet. Zone shows Media's live snapshot.
+- Per-zone usage rollups are `media.usage.recorded` (contracts 0.175.0), with the series of section 8. Network adds them to the project's usage, and Zone sums them in its usage view beside Media's live snapshot.
new file mode 100644
new file mode 100644
@@ -0,0 +1,14 @@
@@ -0,0 +1,14 @@
+{
+ "project_id": "prj_01JAB2C3D4E5F6G7H8J9K0MNPQ",
+ "env": "production",
+ "resource": "ovrn:zone:prj_01JAB2C3D4E5F6G7H8J9K0MNPQ:object-zone/zon_01JAB2C3D4E5F6G7H8J9K0MNPR",
+ "dimension": "zon_01jab2c3d4e5f6g7h8j9k0mnpr",
+ "window": "hour",
+ "window_start": "2026-10-15T10:00:00.000Z",
+ "window_end": "2026-10-15T11:00:00.000Z",
+ "capability": "media.object.upload",
+ "unit": "requests",
+ "quantity": 1,
+ "errors": 0,
+ "object_key": "photos/me.jpg"
+}
new file mode 100644
new file mode 100644
@@ -0,0 +1,13 @@
@@ -0,0 +1,13 @@
+{
+ "project_id": "prj_01JAB2C3D4E5F6G7H8J9K0MNPQ",
+ "env": "production",
+ "resource": "ovrn:network:prj_01JAB2C3D4E5F6G7H8J9K0MNPQ:account/usr_01JAB2C3D4E5F6G7H8J9K0MNPS",
+ "dimension": "zon_01jab2c3d4e5f6g7h8j9k0mnpr",
+ "window": "hour",
+ "window_start": "2026-10-15T10:00:00.000Z",
+ "window_end": "2026-10-15T11:00:00.000Z",
+ "capability": "media.object.read",
+ "unit": "requests",
+ "quantity": 1,
+ "errors": 0
+}
new file mode 100644
new file mode 100644
@@ -0,0 +1,14 @@
@@ -0,0 +1,14 @@
+{
+ "project_id": "prj_01JAB2C3D4E5F6G7H8J9K0MNPQ",
+ "env": "production",
+ "resource": "ovrn:zone:prj_01JAB2C3D4E5F6G7H8J9K0MNPQ:object-zone/zon_01JAB2C3D4E5F6G7H8J9K0MNPR",
+ "dimension": "zon_01jab2c3d4e5f6g7h8j9k0mnpr",
+ "window": "hour",
+ "window_start": "2026-10-15T10:00:00.000Z",
+ "window_end": "2026-10-15T11:00:00.000Z",
+ "capability": "media.object.read",
+ "unit": "egress_bytes",
+ "quantity": 104857600,
+ "errors": 0,
+ "revision": 2
+}
new file mode 100644
new file mode 100644
@@ -0,0 +1,24 @@
@@ -0,0 +1,24 @@
+{
+ "project_id": "prj_01JAB2C3D4E5F6G7H8J9K0MNPQ",
+ "env": "production",
+ "resource": "ovrn:zone:prj_01JAB2C3D4E5F6G7H8J9K0MNPQ:object-zone/zon_01JAB2C3D4E5F6G7H8J9K0MNPR",
+ "dimension": "zon_01jab2c3d4e5f6g7h8j9k0mnpr",
+ "window": "hour",
+ "window_start": "2026-10-15T10:00:00.000Z",
+ "window_end": "2026-10-15T11:00:00.000Z",
+ "capability": "media.object.read",
+ "unit": "requests",
+ "quantity": 420,
+ "errors": 3,
+ "error_codes": {
+ "media.s3.no_such_key": 2,
+ "media.s3.access_denied": 1
+ },
+ "samples": [
+ {
+ "at": "2026-10-15T10:42:10.000Z",
+ "code": "media.s3.no_such_key",
+ "status": 404
+ }
+ ]
+}
new file mode 100644
new file mode 100644
@@ -0,0 +1,13 @@
@@ -0,0 +1,13 @@
+{
+ "project_id": "prj_01JAB2C3D4E5F6G7H8J9K0MNPQ",
+ "env": "production",
+ "resource": "ovrn:zone:prj_01JAB2C3D4E5F6G7H8J9K0MNPQ:object-zone/zon_01JAB2C3D4E5F6G7H8J9K0MNPR",
+ "dimension": "zon_01jab2c3d4e5f6g7h8j9k0mnpr",
+ "window": "hour",
+ "window_start": "2026-10-15T10:00:00.000Z",
+ "window_end": "2026-10-15T11:00:00.000Z",
+ "capability": "media.object.upload",
+ "unit": "byte_hours",
+ "quantity": 5368709120,
+ "errors": 0
+}
@@ -25472,6 +25472,18 @@
@@ -25472,6 +25472,18 @@
"$ref": "../../common/usage-recorded.v1.json"
"$ref": "../../common/usage-recorded.v1.json"
}
}
},
},
+ "media.usage.recorded": {
+ "version": "1.0.0",
+ "owner": "media",
+ "status": "active",
+ "schema": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "$id": "https://openvibe.network/contracts/events/payloads/media.usage.recorded.v1.json",
+ "title": "MediaUsageRecordedPayload",
+ "description": "media.usage.recorded v1 (ADR-031 amendment 2026-10-02, section 8). One closed hour of one zone's use on OpenVibe.Media's S3 surface: resource is the zone's OVRN (ovrn:zone:<project_id>:object-zone/<zon_id>) and dimension the zone id in lowercase, on every rollup. The series: stored bytes (media.object.upload, unit byte_hours: the live objects' bytes summed over the hour, sampled each minute), writes (media.object.upload and media.object.delete, unit requests), lists (media.object.list, unit requests), reads (media.object.read, unit requests) and egress (media.object.read, unit egress_bytes). errors counts the operations refused or failed in the hour, by S3 error code mapped to media.s3.<code>. Media counts as it answers and stores the rollup as its own event after the hour closes, in the same transaction that marks the hour sent; a corrected hour is re-sent with a higher revision. Rollups are counts for dashboards and quotas, never money. The payload is common.usage-recorded@1. Envelope: source media, subject { type: project, id: <project_id> }, visibility internal, priority low, actor service:media.",
+ "$ref": "../../common/usage-recorded.v1.json"
+ }
+ },
"live.stream.started": {
"live.stream.started": {
"version": "1.0.0",
"version": "1.0.0",
"owner": "live",
"owner": "live",
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Actor API",
"title": "OpenVibe.Actor API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Actor as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Actor as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.AI API",
"title": "OpenVibe.AI API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.AI as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.AI as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Billing API",
"title": "OpenVibe.Billing API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Billing as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Billing as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Blog API",
"title": "OpenVibe.Blog API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Blog as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Blog as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Bot API",
"title": "OpenVibe.Bot API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Bot as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Bot as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Chat API",
"title": "OpenVibe.Chat API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Chat as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Chat as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Codes API",
"title": "OpenVibe.Codes API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Codes as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Codes as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Community API",
"title": "OpenVibe.Community API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Community as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Community as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Coupons API",
"title": "OpenVibe.Coupons API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Coupons as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Coupons as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Deals API",
"title": "OpenVibe.Deals API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Deals as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Deals as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Events API",
"title": "OpenVibe.Events API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Events as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Events as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Food API",
"title": "OpenVibe.Food API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Food as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Food as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Games API",
"title": "OpenVibe.Games API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Games as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Games as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Host API",
"title": "OpenVibe.Host API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Host as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Host as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Inventory API",
"title": "OpenVibe.Inventory API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Inventory as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Inventory as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Live API",
"title": "OpenVibe.Live API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Live as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Live as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.MediaHub API",
"title": "OpenVibe.MediaHub API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.MediaHub as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.MediaHub as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Media API",
"title": "OpenVibe.Media API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Media as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Media as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -2596,6 +2596,30 @@
@@ -2596,6 +2596,30 @@
{
{
"capability": "media.object.s3",
"capability": "media.object.s3",
"binding": "DELETE s3:/:zone/:key"
"binding": "DELETE s3:/:zone/:key"
+ },
+ {
+ "capability": "media.object.s3",
+ "binding": "POST s3:/:zone/:key?uploads"
+ },
+ {
+ "capability": "media.object.s3",
+ "binding": "PUT s3:/:zone/:key?partNumber&uploadId"
+ },
+ {
+ "capability": "media.object.s3",
+ "binding": "POST s3:/:zone/:key?uploadId"
+ },
+ {
+ "capability": "media.object.s3",
+ "binding": "DELETE s3:/:zone/:key?uploadId"
+ },
+ {
+ "capability": "media.object.s3",
+ "binding": "GET s3:/:zone/:key?uploadId"
+ },
+ {
+ "capability": "media.object.s3",
+ "binding": "GET s3:/:zone?uploads"
}
}
]
]
}
}
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Network API",
"title": "OpenVibe.Network API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Network as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Network as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.News API",
"title": "OpenVibe.News API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.News as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.News as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenRestream API",
"title": "OpenRestream API",
- "version": "0.174.0",
- "description": "Routes of OpenRestream as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenRestream as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Play API",
"title": "OpenVibe.Play API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Play as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Play as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Reviews API",
"title": "OpenVibe.Reviews API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Reviews as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Reviews as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Run API",
"title": "OpenVibe.Run API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Run as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Run as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Search API",
"title": "OpenVibe.Search API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Search as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Search as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Services API",
"title": "OpenVibe.Services API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Services as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Services as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Sources API",
"title": "OpenVibe.Sources API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Sources as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Sources as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Space API",
"title": "OpenVibe.Space API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Space as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Space as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Tips API",
"title": "OpenVibe.Tips API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Tips as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Tips as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Tools API",
"title": "OpenVibe.Tools API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Tools as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Tools as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Trade API",
"title": "OpenVibe.Trade API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Trade as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Trade as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.VIP API",
"title": "OpenVibe.VIP API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.VIP as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.VIP as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Watch API",
"title": "OpenVibe.Watch API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Watch as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Watch as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Wiki API",
"title": "OpenVibe.Wiki API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Wiki as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Wiki as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Work API",
"title": "OpenVibe.Work API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Work as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Work as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -3,8 +3,8 @@
@@ -3,8 +3,8 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"info": {
"info": {
"title": "OpenVibe.Zone API",
"title": "OpenVibe.Zone API",
- "version": "0.174.0",
- "description": "Routes of OpenVibe.Zone as the OpenVibe contracts describe them (openvibe-contracts 0.174.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
+ "version": "0.175.0",
+ "description": "Routes of OpenVibe.Zone as the OpenVibe contracts describe them (openvibe-contracts 0.175.0): each operation lists the capabilities it performs; a token for the service's audience must carry one of them unless the route is open. Generated by openvibe-contracts lib/openapi.js; do not edit.",
"license": {
"license": {
"name": "MIT",
"name": "MIT",
"identifier": "MIT"
"identifier": "MIT"
@@ -146880,6 +146880,974 @@ export interface EventsUsageRecordedPayload {
@@ -146880,6 +146880,974 @@ export interface EventsUsageRecordedPayload {
revision?: number;
revision?: number;
}
}
+/** [email protected] (owner: media) */
+/**
+ * media.usage.recorded v1 (ADR-031 amendment 2026-10-02, section 8). One closed hour of one zone's use on OpenVibe.Media's S3 surface: resource is the zone's OVRN (ovrn:zone:<project_id>:object-zone/<zon_id>) and dimension the zone id in lowercase, on every rollup. The series: stored bytes (media.object.upload, unit byte_hours: the live objects' bytes summed over the hour, sampled each minute), writes (media.object.upload and media.object.delete, unit requests), lists (media.object.list, unit requests), reads (media.object.read, unit requests) and egress (media.object.read, unit egress_bytes). errors counts the operations refused or failed in the hour, by S3 error code mapped to media.s3.<code>. Media counts as it answers and stores the rollup as its own event after the hour closes, in the same transaction that marks the hour sent; a corrected hour is re-sent with a higher revision. Rollups are counts for dashboards and quotas, never money. The payload is common.usage-recorded@1. Envelope: source media, subject { type: project, id: <project_id> }, visibility internal, priority low, actor service:media.
+ */
+export interface MediaUsageRecordedPayload {
+ /**
+ * The developer project whose app token did the work.
+ */
+ project_id: string;
+ /**
+ * The environment of that app token.
+ */
+ env: "sandbox" | "production";
+ /**
+ * The capability the usage counts against: tools.job.create, tools.tool.run, events.app.publish, events.app.subscribe.
+ */
+ capability: string;
+ /**
+ * Optional finer key inside the capability, as the producer names it: a job type (img.process) or a tool id (image-resize). Never the id of a person, an app, a request or a job.
+ */
+ dimension?: string;
+ /**
+ * Optional resource name (ADR-034 section 2) of the project resource the usage counts against, so a dashboard or quota can group a count by resource (rollups are counts, never money; Billing never consumes them and rates only platform.usage-sample readings): ovrn:zone:<project_id>:object-zone/<zon_id> on Media's per-zone rollups (ADR-031 amendment 2026-10-02). Its project is project_id: a resource of another project is refused (contracts.usage.checkUsageRecorded). Added in 1.1.0. Never the resource name of a person, an app, a request or a job.
+ */
+ resource?: string;
+ /**
+ * What quantity counts (jobs, events, deliveries, requests, bytes, tokens): the same word a Network project quota uses for its unit.
+ */
+ unit: string;
+ /**
+ * The length of the window.
+ */
+ window: "hour" | "day";
+ /**
+ * UTC, on the hour (midnight for a day).
+ */
+ window_start: string;
+ /**
+ * window_start plus the window, exclusive.
+ */
+ window_end: string;
+ /**
+ * Units used in the window, by work that succeeded and work that failed alike.
+ */
+ quantity: number;
+ /**
+ * Operations in the window that failed or were refused: a job that failed, a publish refused with a problem, a webhook attempt without a 2xx. A refused operation may use no unit, so errors can exceed quantity.
+ */
+ errors: number;
+ /**
+ * The errors by problem code (at most 20 codes; the rest are only in errors).
+ */
+ error_codes?: {
+ [k: string]: number | undefined;
+ };
+ /**
+ * The last failures of the window, newest first, so a developer can find them in their own logs.
+ *
+ * @maxItems 10
+ */
+ samples?:
+ | []
+ | [
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ }
+ ]
+ | [
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ }
+ ]
+ | [
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ }
+ ]
+ | [
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ }
+ ]
+ | [
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ }
+ ]
+ | [
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ }
+ ]
+ | [
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ }
+ ]
+ | [
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ }
+ ]
+ | [
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ }
+ ]
+ | [
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ },
+ {
+ at: string;
+ code: string;
+ /**
+ * The HTTP status the failure was answered with, when there was one.
+ */
+ status?: number;
+ /**
+ * The W3C trace id of the request (or event) that failed.
+ */
+ trace_id?: string;
+ /**
+ * What failed, when the project can look it up with its own token: a job, an event, an AI run, a Media object. Never a subject.
+ */
+ ref?: string;
+ }
+ ];
+ /**
+ * 1 when absent. A producer that re-emits a window with corrected totals raises it.
+ */
+ revision?: number;
+}
+
/** [email protected] (owner: live) */
/** [email protected] (owner: live) */
/**
/**
* live.stream.started v1 (OpenVibe.Live server/events/stream-events.js envelopeFor, fired by server/db/database.js createStream). A streams row went live: WebRTC/JSMPEG from the dashboard, RTMP ingest, WHIP, or an OpenRestream session mirrored into Live. Written to Live's event_outbox in the transaction that inserts the row, so the event exists if and only if the stream did. Carries public channel facts only (the stream is listed publicly already); consumers such as Network's go-live notifications decide who hears about it. Never the stream key, the Live user id or the description. Envelope: subject { type: stream, id: <stream_id as a string>, revision: 1 }, visibility public, priority important, actor the streamer's user subject when Live knows it, else service:live.
* live.stream.started v1 (OpenVibe.Live server/events/stream-events.js envelopeFor, fired by server/db/database.js createStream). A streams row went live: WebRTC/JSMPEG from the dashboard, RTMP ingest, WHIP, or an OpenRestream session mirrored into Live. Written to Live's event_outbox in the transaction that inserts the row, so the event exists if and only if the stream did. Carries public channel facts only (the stream is listed publicly already); consumers such as Network's go-live notifications decide who hears about it. Never the stream key, the Live user id or the description. Envelope: subject { type: stream, id: <stream_id as a string>, revision: 1 }, visibility public, priority important, actor the streamer's user subject when Live knows it, else service:live.
@@ -4,7 +4,7 @@
@@ -4,7 +4,7 @@
"owner": "media",
"owner": "media",
"status": "active",
"status": "active",
"visibility": "public",
"visibility": "public",
- "description": "OpenVibe.Media's S3 surface (ADR-031), path style at https://s3.openvibe.media/<zone name>/<key>: PutObject (one request, aws-chunked bodies included, Content-MD5 and x-amz-checksum-* checked), GetObject (ranges), HeadObject, DeleteObject, DeleteObjects, ListObjectsV2 and ListObjects (prefix, delimiter, pages), ListBuckets, HeadBucket, GetBucketLocation, and presigned GET and PUT (SigV4 query, 7 days at most). Everything else answers NotImplemented (multipart, copy, ACLs, policies, versioning; buckets are made and deleted only through OpenVibe.Zone). It is reached with a media.access-key@1 rather than a Network token: the key fixes the project and environment, so a bucket name names one zone of that environment, and a key scoped to zones reaches only those. A request is authorised as the project's app would be: the same quotas (the zone's and the environment's), the same objects as the native API, and Media's one deletion path (a held object is neither deleted nor overwritten). Responses carry a sandbox Content-Security-Policy.",
+ "description": "OpenVibe.Media's S3 surface (ADR-031), path style at https://s3.openvibe.media/<zone name>/<key>: PutObject (one request, aws-chunked bodies included, Content-MD5 and x-amz-checksum-* checked), GetObject (ranges), HeadObject, DeleteObject, DeleteObjects, ListObjectsV2 and ListObjects (prefix, delimiter, pages), ListBuckets, HeadBucket, GetBucketLocation, and presigned GET and PUT (SigV4 query, 7 days at most). multipart uploads (CreateMultipartUpload, UploadPart, CompleteMultipartUpload, AbortMultipartUpload, ListParts, ListMultipartUploads; every part but the last at least 5 MiB, parts of 256 MB and objects of 20 GB at most by default, 10000 parts, an upload expiring after a day). Everything else answers NotImplemented (copy, part copy, ACLs, policies, versioning; buckets are made and deleted only through OpenVibe.Zone). It is reached with a media.access-key@1 rather than a Network token: the key fixes the project and environment, so a bucket name names one zone of that environment, and a key scoped to zones reaches only those. A request is authorised as the project's app would be: the same quotas (the zone's and the environment's), the same objects as the native API, and Media's one deletion path (a held object is neither deleted nor overwritten). Responses carry a sandbox Content-Security-Policy.",
"permissions": [
"permissions": [
"objects:read",
"objects:read",
"objects:write"
"objects:write"
@@ -25,7 +25,13 @@
@@ -25,7 +25,13 @@
"PUT s3:/:zone/:key",
"PUT s3:/:zone/:key",
"GET s3:/:zone/:key",
"GET s3:/:zone/:key",
"HEAD s3:/:zone/:key",
"HEAD s3:/:zone/:key",
- "DELETE s3:/:zone/:key"
+ "DELETE s3:/:zone/:key",
+ "POST s3:/:zone/:key?uploads",
+ "PUT s3:/:zone/:key?partNumber&uploadId",
+ "POST s3:/:zone/:key?uploadId",
+ "DELETE s3:/:zone/:key?uploadId",
+ "GET s3:/:zone/:key?uploadId",
+ "GET s3:/:zone?uploads"
],
],
"inputSchema": "common.no-body@1",
"inputSchema": "common.no-body@1",
"outputSchema": "common.no-body@1"
"outputSchema": "common.no-body@1"
@@ -68,6 +68,7 @@
@@ -68,6 +68,7 @@
"media.replica.requested",
"media.replica.requested",
"media.storage.alert",
"media.storage.alert",
"media.storage.recovered",
"media.storage.recovered",
+ "media.usage.recorded",
"media.vod.failed",
"media.vod.failed",
"media.vod.ready"
"media.vod.ready"
],
],
@@ -97,6 +97,7 @@
@@ -97,6 +97,7 @@
"live.moderation.action",
"live.moderation.action",
"live.stream.started",
"live.stream.started",
"media.moderation.action",
"media.moderation.action",
+ "media.usage.recorded",
"news.moderation.action",
"news.moderation.action",
"reviews.moderation.action",
"reviews.moderation.action",
"services.moderation.action",
"services.moderation.action",
@@ -27,7 +27,9 @@
@@ -27,7 +27,9 @@
"zone.resource.control"
"zone.resource.control"
],
],
"eventsProduced": [],
"eventsProduced": [],
- "eventsConsumed": [],
+ "eventsConsumed": [
+ "media.usage.recorded"
+ ],
"namespacesOwned": [
"namespacesOwned": [
"zone.*"
"zone.*"
],
],
@@ -1,6 +1,6 @@
@@ -1,6 +1,6 @@
{
{
"name": "openvibe-contracts",
"name": "openvibe-contracts",
- "version": "0.174.0",
+ "version": "0.175.0",
"description": "Machine-readable contracts for the OpenVibe network: schemas, manifests, ids, error envelope, capability checks.",
"description": "Machine-readable contracts for the OpenVibe network: schemas, manifests, ids, error envelope, capability checks.",
"main": "index.js",
"main": "index.js",
"types": "generated/typescript/index.d.ts",
"types": "generated/typescript/index.d.ts",