HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

Overview

This node operation moves items within the HumHub content file management system from one folder to another. It is useful for organizing files or content items by relocating them between folders in a specified content container. For example, you can automate the process of moving files from a temporary upload folder to a final destination folder based on workflow conditions.

Use Case Examples

  1. Move selected files from a source folder to a destination folder within a content container to keep files organized.
  2. Automate file management by moving items to specific folders after processing or approval steps.

Properties

Name Meaning
Authentication Method of authentication to use for the API requests (Basic Auth or JWT Token).
ID The ID of the content container where the items reside.
Source ID The source folder ID from which items will be moved.
Destination ID The destination folder ID to which items will be moved.
Selection The item IDs to move, specified in the format {type}_{id}.

Output

JSON

  • id - ID of the content container.
  • source_id - Source folder ID from which items were moved.
  • MoveForm
    • destId - Destination folder ID to which items were moved.
  • selection - List of item IDs that were moved.

Dependencies

  • HumHub API

Troubleshooting

  • Ensure the content container ID, source folder ID, and destination folder ID are correct and exist in the HumHub system.
  • Verify that the selection string is correctly formatted as {type}_{id} for each item to be moved.
  • Authentication errors may occur if the chosen authentication method (Basic Auth or JWT Token) is not properly configured or credentials are invalid.
  • API request failures might happen if the user does not have sufficient permissions to move items between folders.

Links

Discussion