HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

Overview

This node operation updates an existing Wiki Page in the HumHub platform. It allows users to modify various attributes of a wiki page such as the title, home page status, admin-only edit permissions, category status, parent page ID, revision content, and page edit form settings including public access and associated topics. This operation is useful for maintaining and managing wiki content dynamically within an automated workflow, for example, updating documentation pages or knowledge base articles programmatically.

Use Case Examples

  1. Updating the title and content of a wiki page to reflect new information.
  2. Changing the access permissions of a wiki page to restrict editing to admins only.
  3. Modifying the parent page relationship to reorganize the wiki structure.

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 update.
Wiki Page Collection of properties to update on the wiki page, including title, home page status, admin-only edit flag, category status, and parent page ID.
Wiki Page Revision Content of the wiki page revision to update.
Page Edit Form Settings related to the page edit form, including public read access and associated topics.

Output

JSON

  • id - The ID of the updated wiki page.
  • title - The updated title of the wiki page.
  • is_home - Indicates if the page is set as the home page.
  • admin_only - Indicates if the page is restricted to admin edits only.
  • is_category - Indicates if the page is a category.
  • parent_page_id - The ID of the parent page.
  • revisionContent - The content of the updated wiki page revision.
  • is_public - Indicates if the page is publicly readable by non-space members.
  • topics - List of topic IDs associated with the page.

Dependencies

  • HumHub API

Troubleshooting

  • Ensure the ID of the wiki page to update is provided and valid; missing or incorrect ID will cause errors.
  • Verify that the topics list is a comma-separated string of integers; invalid format will throw an error.
  • Check authentication credentials (Basic Auth or JWT Token) are correctly configured to avoid authorization errors.
  • If updating the revision content, ensure the content is properly formatted as a string.

Links

Discussion