EndpointsWikis

Revert wiki revision

POST/v2/wiki-pages/{page_id}/revisions/{revision_id}/revert

Creates a new revision from an older revision when the supplied base is current. A stale base returns 409; retrying the same idempotency key returns the original result.

Authorization

BearerAuth
AuthorizationBearer <token>

Bearer token issued by Softmax

In: header

Path Parameters

page_id*Page Id

Wiki page ID.

Match^wpg_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
revision_id*Revision Id

Wiki revision to restore.

Match^wrv_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

Request Body

application/json