Skip to content

Commit

Permalink
Delete milestone in MilestoneService
Browse files Browse the repository at this point in the history
  • Loading branch information
tsnik committed Dec 17, 2017
1 parent fcff329 commit 61d168e
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,11 @@ Call<Milestone> editMilestone (
@Path("repo") String repo,
@Path("number") long number,
@Body Milestone milestone);

@Headers("Accept: application/vnd.github.v3+json")
@DELETE("repos/{owner}/{repo}/milestones/{number}")
Call<Milestone> deleteMilestone(
@Path("owner") String owner,
@Path("repo") String repo,
@Path("number") long number);
}

0 comments on commit 61d168e

Please sign in to comment.