Discuss Kit icon

Discuss Kit

Consume Discuss Kit API

Documentation → Publish

AI-generated

Overview

This node operation publishes a documentation content item in the Discuss Kit platform. It is useful for automating the workflow of managing documentation content, such as publishing drafts or updates to make them publicly available. For example, after creating or updating a documentation page, this operation can be used to publish it automatically without manual intervention.

Use Case Examples

  1. Automatically publish a documentation page after editing it in a content management workflow.
  2. Trigger publishing of documentation content as part of a scheduled update process.

Properties

Name Meaning
Content ID The unique identifier of the documentation content to be published. This is required to specify which documentation item to publish.

Output

JSON

  • id - The unique identifier of the published documentation content.
  • title - The title of the published documentation content.
  • content - The main content body of the published documentation.
  • locale - The locale or language setting of the documentation content.
  • slug - The URL slug of the documentation content.
  • order - The order or position of the documentation content in a list or hierarchy.
  • parentId - The parent ID if the documentation content is part of a nested structure.

Dependencies

  • Discuss Kit API access via an API key credential

Troubleshooting

  • Ensure the Content ID is correct and corresponds to an existing documentation item; otherwise, the publish request will fail.
  • Verify that the API credentials are properly configured and have permissions to publish documentation content.
  • Common errors include 404 Not Found if the content ID does not exist, or 401 Unauthorized if the API key is invalid or missing.

Links

Discussion