HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

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

  1. Revert a wiki page to a previous revision by providing the revision ID.
  2. 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

Discussion