Skip to content

Latest commit

 

History

History
73 lines (46 loc) · 1.88 KB

milestone.md

File metadata and controls

73 lines (46 loc) · 1.88 KB

Milestone

Get Milestones or Milestone

GET /milestones.json | /milestones/{milestone_id}.json

tw.milestones.get(query_string, milestone_id)

Mark a Milestone as complete

PUT /milestones/{milestone_id}/complete.json

tw.milestones.complete(milestone_id)

Mark a Milestone as Incomplete

PUT /milestones/{milestone_id}/uncomplete.json

tw.milestones.incomplete(milestone_id)

Update a Milestone

PUT /milestones/{milestone_id}.json

tw.milestones.update(milestone_id, body)

Delete a Milestone

DELETE /milestones/{milestone_id}.json

tw.milestones.delete(milestone_id)

Get Comments for a Milestone

GET /milestones/{milestone_id}/comments.json

tw.milestones.getComments(milestone_id, query_string)

Create a Comment for a Milestone

POST /milestones/{milestone_id}/comments.json

tw.milestones.createComment(milestone_id, body)

Get Tags from a Milestone

GET /milestones/{milestone_id}/tags.json

tw.milestones.getTags(milestone_id, query_string)

Update a Tag on a Milestone

PUT /milestones/{milestone_id}/tags.json

tw.milestones.updateTag(milestone_id, body)