Codeberg icon

Codeberg

Interact with the Codeberg API

Label → List

AI-generated

Summary

List all labels in a specified repository on Codeberg.

Inputs

  • Authentication — Select the authentication method, either Access Token or OAuth2.
  • Repository Owner (required) — Owner of the repository whose labels you want to list.
  • Repository Name (required) — Name of the repository whose labels you want to list.
  • Additional Fields — Optional parameters including Limit to specify the maximum number of labels to return.

Output shape

a list of label items, each returned one per item.

Pagination is handled automatically, fetching all labels up to the specified limit (default 50). The output is an array of JSON objects representing each label.

Examples

Example 1: List labels in a repository.

Provide the Repository Owner and Repository Name to list labels of that repository, optionally set a Limit to restrict number of results.

Links

Discussion