HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

Overview

This node operation allows reverting a task in the HumHub platform to a previous state. It is useful in scenarios where a task's changes need to be undone or rolled back, such as correcting mistakes or restoring a task to an earlier version. For example, if a task was updated incorrectly, this operation can revert it to its prior state by specifying the task ID and optionally a title for the revert action.

Use Case Examples

  1. Revert a task with a specific ID to its previous state.
  2. Use the revert operation to undo recent changes made to a task.

Properties

Name Meaning
Authentication Method of authentication to use for the API request (Basic Auth or JWT Token).
ID The ID of the task to revert.

Output

JSON

  • id - The ID of the reverted task.
  • title - The title of the task after revert.
  • status - The status of the task after revert.
  • otherProperties - Other properties returned by the HumHub API for the reverted task.

Dependencies

  • Requires HumHub API credentials for authentication (either Basic Auth or JWT Token).

Troubleshooting

  • Ensure the task ID provided is valid and exists in the HumHub system to avoid errors.
  • Authentication errors may occur if the provided credentials are incorrect or expired; verify the API key or token.
  • If the revert operation fails, check the API response for specific error messages and ensure the task is in a state that can be reverted.

Links

Discussion