v5

latestSwagger 2.0MIT2026-08-03485217850.7 KB
issue

Update a milestone

patch/repos/{owner}/{repo}/milestones/{id}

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repo

idstring required

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

Request body

descriptionstring

Description provides updated details about the milestone

due_onstring date-time

Deadline is the updated due date for the milestone

state'open' | 'closed'

State indicates the updated state of the milestone

titlestring

Title is the updated title of the 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