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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
8d192adb
Commit
8d192adb
authored
Aug 29, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1328 from NARKOZ/api
add docs for Milestones API
parents
14f5d172
24580601
Changes
1
Hide 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 @
8d192adb
## 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