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
Léo-Paul Géneau
gitlab-ce
Commits
daed441d
Commit
daed441d
authored
Jul 15, 2015
by
Stan Hu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'merge-request-wip-information' into 'master'
api: expose work_in_progress flag See merge request !948
parents
e62b5797
414cacd7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
doc/api/merge_requests.md
doc/api/merge_requests.md
+5
-2
lib/api/entities.rb
lib/api/entities.rb
+1
-0
No files found.
doc/api/merge_requests.md
View file @
daed441d
...
...
@@ -49,7 +49,8 @@ Parameters:
"state"
:
"active"
,
"created_at"
:
"2012-04-29T08:46:00Z"
},
"description"
:
"fixed login page css paddings"
"description"
:
"fixed login page css paddings"
,
"work_in_progress"
:
false
}
]
```
...
...
@@ -94,7 +95,8 @@ Parameters:
"state"
:
"active"
,
"created_at"
:
"2012-04-29T08:46:00Z"
},
"description"
:
"fixed login page css paddings"
"description"
:
"fixed login page css paddings"
,
"work_in_progress"
:
false
}
```
...
...
@@ -118,6 +120,7 @@ Parameters:
"project_id"
:
4
,
"title"
:
"Blanditiis beatae suscipit hic assumenda et molestias nisi asperiores repellat et."
,
"description"
:
"Qui voluptatibus placeat ipsa alias quasi. Deleniti rem ut sint. Optio velit qui distinctio."
,
"work_in_progress"
:
false
,
"state"
:
"reopened"
,
"created_at"
:
"2015-02-02T19:49:39.159Z"
,
"updated_at"
:
"2015-02-02T20:08:49.959Z"
,
...
...
lib/api/entities.rb
View file @
daed441d
...
...
@@ -171,6 +171,7 @@ module API
expose
:source_project_id
,
:target_project_id
expose
:label_names
,
as: :labels
expose
:description
expose
:work_in_progress?
,
as: :work_in_progress
expose
:milestone
,
using:
Entities
::
Milestone
end
...
...
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