issue
get/repos/{owner}/{repo}/milestones/{id}

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

idstring required

the milestone to get, identified by ID and if not available by name

Response

Milestone

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