Articles

Restore article revision

Snapshots the translation's current content as a new revision, then overwrites it with the selected revision's content.

post/kb-articles/{id}/revisions/{revisionId}/restore

Request

  • Base URL: https://api.weav.com/v1
  • URL: https://api.weav.com/v1/kb-articles/{id}/revisions/{revisionId}/restore
  • Auth: HTTP bearer

Path parameters

idstring uuid required
revisionIdstring uuid required

Response

Success

idstring uuid
category_idstring uuid nullable
positioninteger nullable
status'draft' | 'published'
published_atstring date-time nullable
source'manual' | 'auto_generated' | 'github' | 'mcp'
created_atstring date-time nullable
updated_atstring date-time nullable

Example response

{
  "translations": [
    {
      "locale": "en"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.