HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

Overview

This node operation updates an existing post in the HumHub platform by its ID. It allows users to modify the text message of a post. This is useful in scenarios where a post's content needs to be corrected, updated, or refined after its initial creation, such as editing announcements, correcting typos, or updating information in a social or collaborative environment.

Use Case Examples

  1. Updating a post's message to correct a typo.
  2. Changing the content of a post to reflect new information or updates.

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 post to update.
Message The new text content of the post.

Output

JSON

  • id - The unique identifier of the updated post.
  • message - The updated text content of the post.
  • created_at - Timestamp when the post was originally created.
  • updated_at - Timestamp when the post was last updated.
  • user_id - Identifier of the user who created the post.
  • container_id - Identifier of the container (e.g., space or group) where the post belongs.

Dependencies

  • HumHub API

Troubleshooting

  • Ensure the post ID provided exists; otherwise, the API will return an error indicating the post was not found.
  • Verify that the authentication credentials (Basic Auth or JWT Token) are correctly configured and valid to avoid authorization errors.
  • The message field must not be empty; otherwise, the API may reject the update request.

Links

Discussion