HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

Overview

This node interacts with the HumHub API to perform operations related to Wiki Pages, specifically the 'Get' operation in this context. It retrieves a wiki page by its ID, allowing users to fetch detailed information about a specific wiki page within the HumHub platform. This is useful for scenarios where you need to access and utilize wiki page data programmatically, such as integrating wiki content into other workflows or systems.

Use Case Examples

  1. Retrieve a wiki page by its ID to display its content in a custom dashboard.
  2. Fetch wiki page details to synchronize with another content management system.

Properties

Name Meaning
Authentication Method of authentication to use for the API request, either Basic Auth or JWT Token.
ID The unique identifier of the wiki page to retrieve.

Output

JSON

  • id - The unique identifier of the wiki page.
  • title - The title of the wiki page.
  • content - The content or body of the wiki page.
  • is_home - Indicates if the page is the home page.
  • admin_only - Indicates if the page is restricted to admin users only.
  • is_category - Indicates if the page is a category page.
  • topics - List of topics associated with the wiki page.
  • created_at - Timestamp when the wiki page was created.
  • updated_at - Timestamp when the wiki page was last updated.

Dependencies

  • HumHub API

Troubleshooting

  • Ensure the provided wiki page ID exists and is accessible with the given authentication method.
  • Verify that the authentication credentials (Basic Auth or JWT Token) are correctly configured and valid.
  • Check network connectivity to the HumHub API endpoint.
  • Handle errors gracefully by enabling 'Continue On Fail' in n8n to avoid workflow interruptions.

Links

Discussion