Actions126
- User Actions
- Group Actions
- Content Actions
- Post Actions
- Comment Actions
- Like Actions
- Activity Actions
- Notification Actions
- Space Actions
- Calendar Actions
- CFile Directory Actions
- CFile Actions
- CFile Item Management Actions
- Survey Actions
- Task Actions
- Task List Actions
- Wiki Page Actions
- Mail Conversation Actions
- Mail Entry Actions
- Mail Recipient Actions
- Session Actions
- File Actions
- Space Membership Actions
- Topic Actions
- Survey Answer Actions
- Survey Answers Actions
- Wiki Page Revision Actions
- Mail Tag Actions
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
- Automatically create a wiki page when a new project is initiated, setting the project documentation as the wiki page content.
- Create a categorized wiki page with restricted editing rights for admins only, to maintain official documentation.
- 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
WikiPageid- 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.
WikiPageRevisioncontent- The content of the wiki page revision.
PageEditFormis_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
- HumHub Wiki API Documentation - Official API documentation for managing wiki pages in HumHub.
