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
Tatuya Kamada
gitlab-ce
Commits
a4e671dc
Commit
a4e671dc
authored
Jun 06, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix wrong documentation for issue close api. Fixes #3548
parent
0fbaf95f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
doc/api/issues.md
doc/api/issues.md
+6
-6
lib/api/issues.rb
lib/api/issues.rb
+1
-1
No files found.
doc/api/issues.md
View file @
a4e671dc
...
...
@@ -25,7 +25,7 @@ GET /issues
"blocked"
:
false
,
"created_at"
:
"2012-05-23T08:00:58Z"
},
"
closed"
:
true
,
"
state"
:
'closed'
,
"updated_at"
:
"2012-07-02T17:53:12Z"
,
"created_at"
:
"2012-07-02T17:53:12Z"
},
...
...
@@ -42,7 +42,7 @@ GET /issues
"title"
:
"v1.0"
,
"description"
:
""
,
"due_date"
:
"2012-07-20"
,
"
closed"
:
false
,
"
state"
:
'reopenend'
,
"updated_at"
:
"2012-07-04T13:42:48Z"
,
"created_at"
:
"2012-07-04T13:42:48Z"
},
...
...
@@ -62,7 +62,7 @@ GET /issues
"blocked"
:
false
,
"created_at"
:
"2012-05-23T08:00:58Z"
},
"
closed"
:
false
,
"
state"
:
'opened'
,
"updated_at"
:
"2012-07-12T13:43:19Z"
,
"created_at"
:
"2012-06-28T12:58:06Z"
}
...
...
@@ -111,7 +111,7 @@ Parameters:
"title"
:
"v1.0"
,
"description"
:
""
,
"due_date"
:
"2012-07-20"
,
"
closed"
:
false
,
"
state"
:
'closed'
,
"updated_at"
:
"2012-07-04T13:42:48Z"
,
"created_at"
:
"2012-07-04T13:42:48Z"
},
...
...
@@ -131,7 +131,7 @@ Parameters:
"blocked"
:
false
,
"created_at"
:
"2012-05-23T08:00:58Z"
},
"
closed"
:
false
,
"
state"
:
'opened'
,
"updated_at"
:
"2012-07-12T13:43:19Z"
,
"created_at"
:
"2012-06-28T12:58:06Z"
}
...
...
@@ -173,7 +173,7 @@ Parameters:
+
`assignee_id`
(optional) - The ID of a user to assign issue
+
`milestone_id`
(optional) - The ID of a milestone to assign issue
+
`labels`
(optional) - Comma-separated label names for an issue
+
`
closed`
(optional) - The state of an issue (0 = false, 1 = true
)
+
`
state_event`
(optional) - The state event of an issue ('close' to close issue and 'reopen' to reopen it
)
## Delete existing issue (**Deprecated**)
...
...
lib/api/issues.rb
View file @
a4e671dc
...
...
@@ -70,7 +70,7 @@ module API
# assignee_id (optional) - The ID of a user to assign issue
# milestone_id (optional) - The ID of a milestone to assign issue
# labels (optional) - The labels of an issue
# state
(optional) - The state
of an issue (close|reopen)
# state
_event (optional) - The state event
of an issue (close|reopen)
# Example Request:
# PUT /projects/:id/issues/:issue_id
put
":id/issues/:issue_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