api: expose work_in_progress flag
This commit is contained in:
parent
77025ad8e3
commit
414cacd7f4
2 changed files with 6 additions and 2 deletions
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue