diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2015-07-09 20:21:37 +0300 |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2015-07-10 17:33:43 +0300 |
commit | 414cacd7f47c8c89a6a270928bbf9c8d8dcbd3ab (patch) | |
tree | cb04d3a2114495ed17e9dbac8f2c607926e87223 | |
parent | 77025ad8e33cc99c645febe9b51fbf9931a62bcf (diff) |
api: expose work_in_progress flag
-rw-r--r-- | doc/api/merge_requests.md | 7 | ||||
-rw-r--r-- | lib/api/entities.rb | 1 |
2 files changed, 6 insertions, 2 deletions
diff --git a/doc/api/merge_requests.md b/doc/api/merge_requests.md index 7b0873a9111..24c0b461308 100644 --- a/doc/api/merge_requests.md +++ b/doc/api/merge_requests.md @@ -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", diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 31202fa8c1f..ecf1412dee5 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -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 |