Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
24580601
Commit
24580601
authored
Aug 29, 2012
by
Nihad Abbasov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add docs for Milestones API
parent
adc71b6a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
57 additions
and
0 deletions
+57
-0
doc/api/milestones.md
doc/api/milestones.md
+57
-0
No files found.
doc/api/milestones.md
0 → 100644
View file @
24580601
## List project milestones
Get a list of project milestones.
```
GET /projects/:id/milestones
```
Parameters:
+
`id`
(required) - The ID or code name of a project
## Single milestone
Get a single project milestone.
```
GET /projects/:id/milestones/:milestone_id
```
Parameters:
+
`id`
(required) - The ID or code name of a project
+
`milestone_id`
(required) - The ID of a project milestone
## New milestone
Create a new project milestone.
```
POST /projects/:id/milestones
```
Parameters:
+
`id`
(required) - The ID or code name of a project
+
`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
Update an existing project milestone.
```
PUT /projects/:id/milestones/:milestone_id
```
Parameters:
+
`id`
(required) - The ID or code name of a project
+
`milestone_id`
(required) - The ID of a project milestone
+
`title`
(optional) - The title of a milestone
+
`description`
(optional) - The description of a milestone
+
`due_date`
(optional) - The due date of the milestone
+
`closed`
(optional) - The status of the milestone
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment