HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

Overview

This node operation retrieves all posts associated with a specific content container in HumHub. It supports filtering posts by topics and allows fetching either all posts or a limited number of posts with pagination. This is useful for scenarios where you want to aggregate or analyze posts within a particular container, such as a group or space, and optionally filter them by topics like Music or Dancing.

Use Case Examples

  1. Fetch all posts from a content container with ID 123.
  2. Retrieve up to 20 posts from container ID 456 filtered by topics 'Music,Dancing'.
  3. Get all posts from a container without any topic filtering.

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 from which to retrieve posts.
Topics Comma separated list of topics to filter the posts by.
Return All Whether to return all posts or limit the number of posts returned.
Query Parameters Additional query parameters for pagination when not returning all posts, including limit and page number.

Output

JSON

  • id - Unique identifier of the post.
  • message - Content message of the post.
  • topics - Topics associated with the post.
  • created_at - Timestamp when the post was created.
  • updated_at - Timestamp when the post was last updated.

Dependencies

  • HumHub API

Troubleshooting

  • Ensure the content container ID is valid and accessible with the provided authentication.
  • If filtering by topics, ensure the topics are correctly formatted as a comma separated string without extra spaces.
  • When using pagination, verify that the limit is between 1 and 50 and the page number is positive.
  • Common errors include authentication failures (check credentials) and invalid container ID (check if the container exists).

Links

Discussion