Codeberg icon

Codeberg

Interact with the Codeberg API

Issue → Search

AI-generated

Summary

Search issues on Codeberg using a query string and optional filters to refine results.

Inputs

  • Authentication — Choose the authentication method: Access Token or OAuth2
  • Query (required) — The search query string to match issues
  • Additional Fields — Optional filters including Labels (comma-separated IDs as string), Limit (max results), Order (asc or desc), Sort field (created, due date, priority, updated), and State (open, closed, all)

Output shape

a list of issue objects matching the search criteria

The results are returned as an array of issue objects. Pagination is controlled by the Limit field and bound by the API default and max limits. If no issues match, an empty array is returned.

Examples

Example 1: Search open issues containing 'bug' label with highest priority first

Set Query to 'bug', Labels to the label IDs as a string, State to 'open', Sort to 'priority', Order to 'desc', and Limit as desired.

Links

Discussion