HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

Overview

This node operation retrieves all files from a specified content container in the HumHub platform. It supports fetching either all files or a limited number of files per page, with pagination options. This is useful for scenarios where users need to list or process files stored within a specific container, such as document management or media libraries.

Use Case Examples

  1. Retrieve all files from a content container to display in a dashboard.
  2. Fetch a limited number of files per page for paginated display in an application.

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 files.
Return All Whether to return all files or limit the number of results.
Query Parameters Additional query parameters for pagination when not returning all results, including limit and page number.

Output

JSON

  • id - Unique identifier of the file.
  • name - Name of the file.
  • size - Size of the file in bytes.
  • created_at - Timestamp when the file was created.
  • updated_at - Timestamp when the file was last updated.
  • container_id - ID of the content container the file belongs to.

Dependencies

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

Troubleshooting

  • Ensure the content container ID is valid and accessible with the provided credentials.
  • If pagination is used, verify that the limit is between 1 and 50 and the page number is valid.
  • Common errors include authentication failures, invalid container ID, or API rate limits.

Links

Discussion