Codeberg icon

Codeberg

Interact with the Codeberg API

Milestone → List

AI-generated

Summary

List milestones from a specified Codeberg repository, optionally filtering by state and limiting the number of results.

Inputs

  • Authentication — Choose between using an Access Token or OAuth2 for authentication.
  • Repository Owner (required) — Owner of the repository whose milestones you want to list.
  • Repository Name (required) — Name of the repository whose milestones you want to list.
  • Additional Fields — Optional parameters to filter milestones by state (open, closed, all) and limit the number of results returned.

Output shape

a list of milestone objects, each returned as an individual item

Supports pagination internally to return all matching milestones up to the specified limit. Each milestone is output as a separate item in the output array.

Examples

Example 1: List all open milestones from a repository named 'my-repo' owned by 'my-org' with a maximum of 50 results

Set 'Repository Owner' to 'my-org', 'Repository Name' to 'my-repo', and optionally set 'Additional Fields' → 'State' to 'Open' and 'Limit' to 50.

Links

Discussion