diff options
author | Robert Speicher <rspeicher@gmail.com> | 2012-08-29 16:45:00 +0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2012-08-29 16:45:00 +0400 |
commit | 8a49cdc3b44579e64d50973df1a1d075e2766b97 (patch) | |
tree | 3f97db410fabe9bdc8504baf8bb9eb2ba6f6263d /doc/api | |
parent | 8d192adb382572a210f30cdcd6d42061b5e23353 (diff) |
Add milestone API docs to doc/README and views/help/api
Also removes `closed` attribute option from create action.
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/README.md | 1 | ||||
-rw-r--r-- | doc/api/milestones.md | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/doc/api/README.md b/doc/api/README.md index d32573aaa6b..53b4983ef47 100644 --- a/doc/api/README.md +++ b/doc/api/README.md @@ -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) diff --git a/doc/api/milestones.md b/doc/api/milestones.md index 36a08fe44ba..f68d8eb7d58 100644 --- a/doc/api/milestones.md +++ b/doc/api/milestones.md @@ -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 |