HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

Overview

This node operation retrieves all groups from the HumHub API. It supports fetching either all groups at once or a limited number of groups with pagination. This is useful for scenarios where you need to list or process groups within a HumHub instance, such as for reporting, synchronization, or management tasks.

Use Case Examples

  1. Fetch all groups without limit to get a complete list of groups in the HumHub environment.
  2. Fetch groups with pagination by specifying the number of groups per page and the page number to handle large datasets efficiently.

Properties

Name Meaning
Authentication Method of authentication to use for the API request, either Basic Auth or JWT Token.
Return All Determines whether to return all groups or limit the number of results.
Query Parameters Parameters to control pagination when not returning all results, including limit and page number.

Output

JSON

  • results - Array of group objects returned from the HumHub API representing the groups retrieved.

Dependencies

  • HumHub API

Troubleshooting

  • If the node returns an error related to authentication, verify that the correct authentication method and credentials are configured.
  • If pagination parameters are set incorrectly (e.g., limit above 50), the API may reject the request; ensure limits are within allowed ranges.
  • If no groups are returned, check that the HumHub instance has groups and that the API user has permission to access them.

Links

Discussion