public. Revert page to an earlier revision
| Name | Type | Description |
| pageid | string | either an integer page ID, "home", or "=" followed by a double uri-encoded page title |
| Name | Type | Description |
| authenticate | bool? | Force authentication for request (default: false) |
| fromrevision | int | Revision number of page that will become the new head revision |
| redirects | int? | If zero, do not follow page redirects. |
| Name | Value | Description |
| BadRequest | 400 | Invalid input parameter or request body |
| Forbidden | 403 | Update access to the page is required |
| NotFound | 404 | Requested page could not be found |
| Ok | 200 | The request completed successfully |
None
Setting Fromrevision=1 reverts to the earliest revision, 2 reverts to the next earliest revision, and so on. Similarly, Fromrevision=-1 reverts to the revision prior to the current, -2 reverts to the revision two prior to the current, and so on.
Use GET:pages/{pageid}/revisions to retrieve page revision information.
| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |
Copyright © 2011 MindTouch, Inc. Powered by