Actions126
- User Actions
- Group Actions
- Content Actions
- Post Actions
- Comment Actions
- Like Actions
- Activity Actions
- Notification Actions
- Space Actions
- Calendar Actions
- CFile Directory Actions
- CFile Actions
- CFile Item Management Actions
- Survey Actions
- Task Actions
- Task List Actions
- Wiki Page Actions
- Mail Conversation Actions
- Mail Entry Actions
- Mail Recipient Actions
- Session Actions
- File Actions
- Space Membership Actions
- Topic Actions
- Survey Answer Actions
- Survey Answers Actions
- Wiki Page Revision Actions
- Mail Tag Actions
Overview
This node operation allows reverting a specific revision of a wiki page in the HumHub platform. It is useful for restoring a previous version of a wiki page when unwanted changes have been made or to recover content from an earlier state. For example, if a user accidentally deletes important information in a wiki page, this operation can revert the page to a prior revision by specifying the revision ID.
Use Case Examples
- Revert a wiki page to a previous revision by providing the revision ID.
- Restore content of a wiki page to an earlier version after an erroneous update.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method of authentication to use for the API request, either Basic Auth or JWT Token. |
| ID | The ID of the wiki page revision to revert to. |
Output
JSON
id- The ID of the reverted wiki page revision.content- The content of the reverted wiki page revision.timestamp- The timestamp when the revision was reverted.user- Information about the user who performed the revert operation.
Dependencies
- Requires authentication credentials: either Basic Auth or JWT Token for HumHub API.
Troubleshooting
- Ensure the revision ID provided is valid and exists; otherwise, the API will return an error.
- Authentication errors may occur if the credentials are incorrect or expired; verify the authentication method and credentials.
- Network or API endpoint issues can cause request failures; check connectivity and API availability.
Links
- HumHub API Documentation - Wiki Page Revisions - Official API documentation for managing wiki page revisions including revert operation.
