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 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
- Retrieve all directories in a content container to display a folder tree.
- 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
- HumHub API Documentation - Official API documentation for HumHub, detailing endpoints and usage.
