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

# blog.publication-result@1 · OpenVibe.Services

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

# BlogPublicationResult `blog.publication-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: blog
- Visibility: first-party
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/blog/publication-result.v1.json`](/docs/contracts/blog.publication-result.json)

blog.publication-result@1: the answer of POST /api/v1/posts/:id/publish (blog.post.publish) and POST /api/v1/posts/:id/unpublish (blog.post.unpublish) on OpenVibe.Blog: { post, changed } (changed false when it already was in that state).

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `post` | [blog.post](/docs/contracts/blog.post) | yes |  |  |
| `changed` | boolean | yes |  |  |

## Examples

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

 Valid: published

~~~~
{
  "post": {
    "id": "pst_01JAB2C3D4E5F6G7H8J9K0MNPQ",
    "blog": {
      "id": "blg_01JAB2C3D4E5F6G7H8J9K0MNPQ",
      "handle": "alice"
    },
    "slug": "my-restream-setup",
    "url": "https://openvibe.blog/@alice/my-restream-setup",
    "state": "published",
    "visibility": "public",
    "author_subject": "usr_01JAB2C3D4E5F6G7H8J9K0MNPQ",
    "title": "My restream setup",
    "summary": "One encoder, three platforms.",
    "revision": 2,
    "published_revision": 2,
    "first_published_at": "2026-09-24T10:00:00.000Z",
    "published_at": "2026-09-25T10:00:00.000Z",
    "tags": [
      "obs",
      "restream"
    ],
    "categories": [],
    "series": null,
    "allow_comments": true,
    "noindex": false,
    "indexability": {
      "indexable": true,
      "robots": "index,follow",
      "reasons": []
    }
  },
  "changed": true
}
~~~~

Rejected: no-changed

~~~~
{
  "post": {
    "id": "pst_01JAB2C3D4E5F6G7H8J9K0MNPQ",
    "blog": {
      "id": "blg_01JAB2C3D4E5F6G7H8J9K0MNPQ",
      "handle": "alice"
    },
    "slug": "my-restream-setup",
    "url": "https://openvibe.blog/@alice/my-restream-setup",
    "state": "published",
    "visibility": "public",
    "author_subject": "usr_01JAB2C3D4E5F6G7H8J9K0MNPQ",
    "title": "My restream setup",
    "summary": "One encoder, three platforms.",
    "revision": 2,
    "published_revision": 2,
    "first_published_at": "2026-09-24T10:00:00.000Z",
    "published_at": "2026-09-25T10:00:00.000Z",
    "tags": [
      "obs",
      "restream"
    ],
    "categories": [],
    "series": null,
    "allow_comments": true,
    "noindex": false,
    "indexability": {
      "indexable": true,
      "robots": "index,follow",
      "reasons": []
    }
  }
}
~~~~

## Validate

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