---
title: "wiki.revert-result@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/wiki.revert-result"
updated: null
---

# wiki.revert-result@1 · OpenVibe.Services

HTML: [wiki.revert-result@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/wiki.revert-result)

# WikiRevertResult `wiki.revert-result@1`

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

- Version: 1.0.0
- Owner: wiki
- Visibility: first-party
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/wiki/revert-result.v1.json`](/docs/contracts/wiki.revert-result.json)

wiki.revert-result@1: the answer of POST /api/v1/pages/:id/revert on OpenVibe.Wiki: 201 { page, revision, published } (the new revision and whether it was published).

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `page` | [wiki.page](/docs/contracts/wiki.page) | yes |  |  |
| `revision` | [wiki.revision](/docs/contracts/wiki.revision) | yes |  |  |
| `published` | boolean | yes |  |  |

## Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

 Valid: reverted

~~~~
{
  "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"
  },
  "published": true
}
~~~~

Rejected: partial

~~~~
{
  "published": true
}
~~~~

## Validate

~~~~
const contracts = require('openvibe-contracts');
contracts.validate('wiki.revert-result@1', value);   // { valid, errors: [{ path, message }] }
~~~~
