Codeberg icon

Codeberg

Interact with the Codeberg API

Label → Get

AI-generated

Summary

Retrieve detailed information about a specific label in a repository on Codeberg by providing the repository owner, repository name, and the label's ID.

Inputs

  • Authentication — Choose between 'Access Token' or 'OAuth2' for authentication
  • Repository Owner (required) — Owner of the repository, e.g., an organization or user name
  • Repository Name (required) — Name of the repository
  • Label ID (required) — The unique numeric identifier of the label to fetch

Output shape

a single record

Returns detailed JSON data representing the label specified by the label ID within the given repository and owner context.

Examples

Example 1: Get details of a label by its ID

Set Repository Owner to 'my-org', Repository Name to 'my-repo', and Label ID to the target label's ID to retrieve its information.

Links

Discussion