Discuss Kit icon

Discuss Kit

Consume Discuss Kit API

Label → Create

AI-generated

Overview

This node operation creates a new label in the Discuss Kit system. It allows users to specify various attributes of the label such as its name, optional ID, slug, description, image URL, color, translation object, and associated passports. This operation is useful for organizing and categorizing content within the Discuss Kit platform by creating custom labels with detailed metadata.

Use Case Examples

  1. Creating a label named 'Urgent' with a red color to mark high-priority posts.
  2. Adding a label with a description and image URL to visually categorize discussion topics.
  3. Using the translation property to support multi-language labels in a global community.

Properties

Name Meaning
Name Name of the label (required)
ID ID of the label (optional, usually auto-generated)
Slug Slug for the label
Description Description of the label
Image Image URL for the label
Color Color of the label (required)
Translation Translation object for the label
Passports List of passports for the label

Output

JSON

  • id - Unique identifier of the created label
  • name - Name of the created label
  • slug - Slug of the created label
  • desc - Description of the created label
  • image - Image URL of the created label
  • color - Color of the created label
  • translation - Translation object of the created label
  • passports - List of passports associated with the created label

Dependencies

  • Discuss Kit API

Troubleshooting

  • Ensure all required fields like 'Name' and 'Color' are provided to avoid validation errors.
  • If the API returns an error, check the network connection and API credentials if required.
  • The 'ID' field is optional; if provided, it must be unique to avoid conflicts.

Discussion