HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

Overview

This node operation retrieves all directories (folders) within a specified content container in the HumHub platform. It supports fetching either all directories or a limited subset based on pagination parameters. This is useful for scenarios where users need to list or manage file directories within a content container, such as organizing files or displaying directory structures.

Use Case Examples

  1. Retrieve all directories in a content container to display a folder tree.
  2. Fetch a limited number of directories with pagination to manage large sets of folders efficiently.

Properties

Name Meaning
Authentication Method of authentication to use for the API request, either Basic Auth or JWT Token.
ID The ID of the content container from which to retrieve directories.
Return All Whether to return all directories or limit the results to a specified number.
Query Parameters Additional parameters for pagination when not returning all results, including limit and page number.

Output

JSON

  • id - Unique identifier of the directory.
  • title - Title or name of the directory.
  • visibility - Visibility status of the directory, typically a numeric value.
  • created_at - Timestamp when the directory was created.
  • updated_at - Timestamp when the directory was last updated.

Dependencies

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

Troubleshooting

  • Ensure the content container ID is valid and accessible; invalid IDs will cause API errors.
  • If 'Return All' is false, ensure 'Limit' is between 1 and 50 to avoid request errors.
  • Authentication failures may occur if credentials are incorrect or expired; verify and update credentials as needed.
  • API rate limits or network issues may cause request failures; retry or check network connectivity.

Links

Discussion