HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

Overview

This node operation creates a new wiki page within a specified content container in the HumHub platform. It allows users to set the title, content, and various attributes of the wiki page, such as whether it is the home page, admin-only editable, or a category. Additionally, it supports setting the parent page ID and page edit form options like public access and associated topics. This operation is useful for automating the creation and management of wiki pages in collaborative environments, knowledge bases, or intranet systems.

Use Case Examples

  1. Automatically create a wiki page when a new project is initiated, setting the project documentation as the wiki page content.
  2. Create a categorized wiki page with restricted editing rights for admins only, to maintain official documentation.
  3. Generate a wiki page with specific topics and public read access for community knowledge sharing.

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 where the wiki page will be created.
Wiki Page Title The title of the new wiki page.
Wiki Page Additional Fields Additional optional fields for the wiki page such as whether it is the home page, admin-only editable, a category, or its parent page ID.
Revision Content The content of the wiki page revision.
Page Edit Form Settings related to the page edit form, including public read access and associated topics.

Output

JSON

  • WikiPage
    • id - The ID of the created wiki page.
    • title - The title of the created wiki page.
    • is_home - Indicates if the page is the home page.
    • admin_only - Indicates if the page is admin-only editable.
    • is_category - Indicates if the page is a category.
    • parent_page_id - The ID of the parent page if set.
  • WikiPageRevision
    • content - The content of the wiki page revision.
  • PageEditForm
    • is_public - Indicates if the page is publicly readable.
    • topics - List of topic IDs associated with the page.

Dependencies

  • HumHub API

Troubleshooting

  • Ensure the content container ID is valid and accessible; invalid IDs will cause API errors.
  • The 'Topics' field must be a comma-separated list of integers; invalid formatting will cause errors.
  • Authentication must be correctly configured (Basic Auth or JWT Token) to avoid authorization failures.
  • If the 'Revision Content' is empty or invalid, the API may reject the request.

Links

Discussion