Add milestone API docs to doc/README and views/help/api

Also removes `closed` attribute option from create action.
This commit is contained in:
Robert Speicher 2012-08-29 08:45:00 -04:00
parent 8d192adb38
commit 8a49cdc3b4
4 changed files with 14 additions and 4 deletions

View file

@ -29,3 +29,4 @@ The API uses JSON to serialize data. You don't need to specify `.json` at the en
+ [Projects](https://github.com/gitlabhq/gitlabhq/blob/master/doc/api/projects.md)
+ [Snippets](https://github.com/gitlabhq/gitlabhq/blob/master/doc/api/snippets.md)
+ [Issues](https://github.com/gitlabhq/gitlabhq/blob/master/doc/api/issues.md)
+ [Milestones](https://github.com/gitlabhq/gitlabhq/blob/master/doc/api/milestones.md)

View file

@ -34,10 +34,10 @@ POST /projects/:id/milestones
Parameters:
+ `id` (required) - The ID or code name of a project
+ `milestone_id` (required) - The ID of a project milestone
+ `title` (required) - The title of an milestone
+ `description` (optional) - The description of the milestone
+ `due_date` (optional) - The due date of the milestone
+ `closed` (optional) - The status of the milestone
## Edit milestone