HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

Topic → Create

AI-generated

Overview

This node operation creates a new topic in the HumHub platform within a specified container. It is useful for organizing discussions or content under specific topics in a containerized environment. For example, a user can create a topic named 'Project Updates' inside a project container to categorize related posts and activities.

Use Case Examples

  1. Create a topic named 'Announcements' in container ID 123 to categorize all announcement posts.
  2. Create a topic 'Development' in a project container to organize development-related discussions.

Properties

Name Meaning
Authentication Method of authentication to use for the API request, either Basic Auth or JWT Token.
Container ID The ID of the container where the topic will be created.
Name The name of the topic to be created.

Output

JSON

  • id - The unique identifier of the created topic.
  • name - The name of the created topic.
  • containerId - The ID of the container where the topic was created.
  • createdAt - Timestamp when the topic was created.

Dependencies

  • Requires authentication credentials: either Basic Auth or JWT Token for HumHub API.

Troubleshooting

  • Ensure the Container ID is valid and exists in HumHub, otherwise the API will return an error.
  • The topic name must be a non-empty string; empty names may cause the API to reject the request.
  • Authentication errors may occur if the provided credentials are invalid or expired; verify credentials before running the node.

Links

  • HumHub API - Topics - Official HumHub API documentation for managing topics, including creation.

Discussion