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 changes the index (order) of a specific wiki page within HumHub. It is useful for reordering wiki pages to reflect a desired sequence or priority. For example, if you want to move a wiki page to a different position in a list or hierarchy, this operation allows you to specify the target wiki page and the new index position.
Use Case Examples
- Reorder a wiki page by specifying its ID, the target wiki page ID, and the new index position to update the order within the wiki.
- Adjust the position of a wiki page in a container to organize content more effectively.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method of authentication to use for the API request (Basic Auth or JWT Token). |
| ID | The ID of the wiki page to change the index for. |
| Target ID | The target wiki page ID to which the index change is relative. Note: HumHub may return a 400 not found error for this. |
| Index | The new index (order) position for the wiki page. Default is 0. |
Output
JSON
id- The ID of the wiki page whose index was changed.target_id- The target wiki page ID used for the index change.index- The new index position assigned to the wiki page.
Dependencies
- Requires HumHub API access with either Basic Auth or JWT Token credentials.
Troubleshooting
- If a 400 not found error occurs when specifying the target_id, verify that the target wiki page ID exists and is accessible.
- Ensure the ID and target_id parameters are valid numbers and correspond to existing wiki pages.
- Authentication errors may occur if the provided credentials are invalid or expired; verify authentication settings.
Links
- HumHub Wiki API Documentation - Official API documentation for managing wiki pages in HumHub, including changing index order.
