Discuss Kit icon

Discuss Kit

Consume Discuss Kit API

Overview

This node interacts with the Discuss Kit API to manage labels within the system. Specifically, the "Label" resource with the "Get Many" operation allows users to retrieve multiple label records. This is useful when you want to fetch a list of all available labels or a subset based on a limit.

Common scenarios include:

  • Fetching all labels to display in a UI dropdown for tagging content.
  • Retrieving a limited number of labels for reporting or analytics.
  • Synchronizing labels from Discuss Kit into another system.

Example: You might use this node to get all labels associated with discussions or posts so that you can categorize or filter content dynamically.

Properties

Name Meaning
Return All Whether to return all label results or only up to a specified limit. Options: true or false.
Limit The maximum number of label results to return if "Return All" is set to false. Must be at least 1.

Output

The output is a JSON array where each item represents a label object retrieved from the Discuss Kit API. Each label typically contains properties such as its name and possibly other metadata defined by the API.

No binary data is returned by this operation.

Dependencies

  • Requires access to the Discuss Kit API.
  • Optionally uses an API authentication token or key configured in n8n credentials (referred generically as an API key credential).
  • The node relies on internal helper functions to make HTTP requests to the Discuss Kit endpoints.

Troubleshooting

  • Empty results: If no labels are returned, verify that labels exist in your Discuss Kit instance and that your API credentials have sufficient permissions.
  • API request failures: Errors may occur due to invalid credentials, network issues, or API rate limits. Check your API key configuration and network connectivity.
  • Limit ignored: Ensure that "Return All" is set to false to apply the "Limit" property; otherwise, all labels will be returned regardless of the limit.
  • Unexpected errors: Enable "Continue On Fail" in the node settings to handle errors gracefully and inspect error messages returned in the output.

Links and References

Discussion