Actions126
- User Actions
- Group Actions
- Content Actions
- Post Actions
- Comment Actions
- Like Actions
- Activity Actions
- Notification Actions
- Space Actions
- Calendar Actions
- CFile Directory Actions
- CFile Actions
- CFile Item Management Actions
- Survey Actions
- Task Actions
- Task List Actions
- Wiki Page Actions
- Mail Conversation Actions
- Mail Entry Actions
- Mail Recipient Actions
- Session Actions
- File Actions
- Space Membership Actions
- Topic Actions
- Survey Answer Actions
- Survey Answers Actions
- Wiki Page Revision Actions
- Mail Tag Actions
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
- Retrieve all files from a content container to display in a dashboard.
- 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
- HumHub API Documentation - CFile - Official API documentation for managing files in HumHub content containers.
