HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

Overview

This node interacts with the HumHub API to retrieve calendar entries. Specifically, the 'Get All' operation under the 'Calendar' resource fetches multiple calendar entries either by returning all available entries or by paginating through results based on user-defined limits and pages. This is useful for scenarios where users want to list or process calendar events from HumHub, such as syncing events with other systems or displaying them in dashboards.

Use Case Examples

  1. Retrieve all calendar entries without limit to process or display them.
  2. Fetch a limited number of calendar entries per page to handle large datasets efficiently.

Properties

Name Meaning
Authentication Method of authentication to use for the API requests, either Basic Auth or JWT Token.
Return All Determines whether to return all calendar entries or limit the results.
Query Parameters Parameters to control pagination when not returning all results.

Output

JSON

  • results - Array of calendar entries retrieved from the HumHub API.

Dependencies

  • HumHub API

Troubleshooting

  • If the node returns an error related to authentication, verify that the correct authentication method and credentials are provided.
  • If pagination parameters are set incorrectly (e.g., limit out of range), the API may return errors or unexpected results. Ensure 'Limit' is between 1 and 50 and 'Page' is at least 1.
  • If 'Return All' is set to false but no pagination parameters are provided, the node defaults to a limit of 20 and page 1.

Links

Discussion