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
iv
gitlab-ce
Commits
963f475d
Commit
963f475d
authored
Jun 06, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix milestone api docs: invalid param for close
parent
a4e671dc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
doc/api/milestones.md
doc/api/milestones.md
+1
-1
lib/api/milestones.rb
lib/api/milestones.rb
+1
-1
No files found.
doc/api/milestones.md
View file @
963f475d
...
...
@@ -56,5 +56,5 @@ Parameters:
+
`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
+
`
state_event`
(optional) - The state event of the milestone (close|activate)
lib/api/milestones.rb
View file @
963f475d
...
...
@@ -60,7 +60,7 @@ module API
# title (optional) - The title of a milestone
# description (optional) - The description of a milestone
# due_date (optional) - The due date of a milestone
# state
(optional) - The status
of the milestone (close|activate)
# state
_event (optional) - The state event
of the milestone (close|activate)
# Example Request:
# PUT /projects/:id/milestones/:milestone_id
put
":id/milestones/:milestone_id"
do
...
...
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