Codeberg icon

Codeberg

Interact with the Codeberg API

Comment → Get

AI-generated

Summary

Retrieve a specific comment from an issue in a Codeberg repository by its unique Comment ID.

Inputs

  • Authentication — Choose between Access Token or OAuth2 for authentication.
  • Repository Owner (required) — Specify the owner of the repository.
  • Repository Name (required) — Specify the name of the repository.
  • Comment ID (required) — Provide the unique ID of the comment to retrieve.

Output shape

a single record with JSON representation of the comment object

Returns the comment data as a JSON object. Errors if the comment ID is invalid or does not exist.

Examples

Example 1: Get a comment

Set resource to 'Comment', operation to 'Get'. Provide the repository owner, repository name, and the comment ID you wish to retrieve.

Links

Discussion