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

# blog.post-update-request@1 · OpenVibe.Services

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

# BlogPostUpdateRequest `blog.post-update-request@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/post-update-request.v1.json`](/docs/contracts/blog.post-update-request.json)

blog.post-update-request@1: bodies of blog.post.update on OpenVibe.Blog (editors of the post). PATCH /api/v1/posts/:id: any post fields; a change to title, body or summary makes a new revision and needs expected\_revision (the revision you edited; 428 revision.expected\_required without it); citations sent replace the revision's, otherwise they carry forward. POST /api/v1/posts/:id/revert: { to\_revision, expected\_revision }. POST /api/v1/posts/:id/attachments: { media\_id (med\_…), role?: cover | inline | gallery, alt?, caption?, position? }. DELETE /api/v1/posts/:id/attachments/:aid takes no body.

## Fields

This schema has no named fields.

## Examples

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

 Valid: attach

~~~~
{
  "media_id": "med_01JAB2C3D4E5F6G7H8J9K0MNPQ",
  "role": "cover",
  "alt": "OBS scene list"
}
~~~~

Valid: edit

~~~~
{
  "expected_revision": 2,
  "body": "One encoder, three platforms, zero dropped frames."
}
~~~~

Rejected: bad-values

~~~~
{
  "visibility": "friends",
  "media_id": "https://example.com/x.png"
}
~~~~

## Validate

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