issue

Get all of a repository's opened milestones

Changed on
get/repos/{owner}/{repo}/milestones

Request

  • Base URL
    https://demo.gitea.com/api/v1
  • Auth
    • HTTP basic
    • or API key in query parameter token
    • or API key in query parameter access_token
    • or API key in header Authorization
    • or API key in query parameter sudo
    • or API key in header Sudo
    • or API key in header X-GITEA-OTP
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repo

Query parameters

statestring

Milestone state, Recognized values are open, closed and all. Defaults to "open"

namestring

filter by milestone name

pageinteger

page number of results to return (1-based)

limitinteger

page size of results

Response

MilestoneList

closed_atstring date-time
closed_issuesinteger

ClosedIssues is the number of closed issues in this milestone

created_atstring date-time
descriptionstring

Description provides details about the milestone

due_onstring date-time
idinteger

ID is the unique identifier for the milestone

open_issuesinteger

OpenIssues is the number of open issues in this milestone

state'open' | 'closed'

State indicates if the milestone is open or closed

titlestring

Title is the title of the milestone

updated_atstring date-time

Changes