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 surveys associated with a specific content container in the HumHub platform. It supports filtering by topics and allows users to either fetch all surveys or limit the number of results with pagination. This is useful for scenarios where you want to gather survey data related to a particular container, such as a group or space, for analysis or reporting.
Use Case Examples
- Fetch all surveys from a content container with ID 123, filtering by topics 'Music' and 'Dancing'.
- Retrieve the first 20 surveys from a content container with ID 456, without any topic filtering.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method of authentication to use for the API request (Basic Auth or JWT Token). |
| ID | The ID of the content container from which to retrieve surveys. |
| Additional Fields | Optional additional fields to filter the surveys, such as a comma-separated list of topics. |
| Return All | Whether to return all surveys or limit the results. |
| Query Parameters | Parameters for pagination when not returning all results, including limit and page number. |
Output
JSON
- `` - Array of survey objects retrieved from the specified content container.
Dependencies
- HumHub API
Troubleshooting
- Ensure the content container ID is valid and accessible with the provided authentication.
- If filtering by topics, ensure the topics string is correctly formatted as comma-separated values.
- When not returning all results, verify that the limit is between 1 and 50 and the page number is valid.
- Common errors include authentication failures (check credentials) and invalid container ID errors (verify the ID).
Links
- HumHub Survey API Documentation - Official API documentation for survey-related endpoints in HumHub.
