WikiProposalResult wiki.proposal-result@1
Generated at from
openvibe-contracts v0.53.0 and
openvibe-sdk v0.11.0.
- Version
- 1.0.0
- Owner
- wiki
- Visibility
- first-party
- Status
- active
- Compatibility
- backward
- Schema
https://openvibe.network/contracts/wiki/proposal-result.v1.json
wiki.proposal-result@1: the answer of POST /api/v1/proposals on OpenVibe.Wiki: 201 { proposal, page, revision } (the proposal is pending; the page's watchers are told).
Fields
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
proposal | object | yes | ||
proposal.id | string | yes | ||
proposal.status | string | yes | ||
page | wiki.page | yes | ||
revision | wiki.revision | yes |
Examples
From the contract's own test fixtures: valid ones validate, rejected ones must fail.
Valid: pending
{
"proposal": {
"id": "prp_01JAB2C3D4E5F6G7H8J9K0MNPQ",
"status": "pending"
},
"page": {
"id": "pg_01JAB2C3D4E5F6G7H8J9K0MNPQ",
"space": "openvibe",
"slug": "restreaming",
"title": "Restreaming",
"parent_id": null,
"state": "published",
"visibility": "public",
"noindex": false,
"published_revision": 3,
"published_at": "2026-09-20T10:00:00.000Z",
"revision_published_at": "2026-09-24T10:00:00.000Z",
"updated_at": "2026-09-24T10:00:00.000Z",
"url": "https://openvibe.wiki/openvibe/restreaming"
},
"revision": {
"number": 3,
"id": "rev_01JAB2C3D4E5F6G7H8J9K0MNPR",
"kind": "edit",
"parent_number": 2,
"reverted_to": null,
"title": "Restreaming",
"summary": "Sending one stream to several platforms.",
"infobox": [],
"body": "Restreaming sends one encoder feed to several platforms.",
"authorship": {
"mode": "human"
},
"author": "usr_01JAB2C3D4E5F6G7H8J9K0MNPQ",
"message": "clarify",
"created_at": "2026-09-24T10:00:00.000Z"
}
}Rejected: no-page
{
"proposal": {
"id": "p",
"status": "pending"
}
}Validate
const contracts = require('openvibe-contracts');
contracts.validate('wiki.proposal-result@1', value); // { valid, errors: [{ path, message }] }