v5

latestSwagger 2.0MIT2026-08-03485217850.7 KB
issue

Create a milestone

post/repos/{owner}/{repo}/milestones

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repo

Request body

descriptionstring

Description provides details about the milestone

due_onstring date-time

Deadline is the due date for the milestone

state'open' | 'closed'

State indicates the initial state of the milestone

titlestring

Title is the title of the new milestone

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