* Create a new milestone * @see https://developer.github.com/v3/issues/milestones/#create-a-milestone * @param {Object} milestoneData - the milestone definition * @param {Requestable.callback} [cb] - will receive the milestone * @return {Promise} - the promise for the http request
(milestoneData, cb)
| 165 | * @return {Promise} - the promise for the http request |
| 166 | */ |
| 167 | createMilestone(milestoneData, cb) { |
| 168 | return this._request('POST', `/repos/${this.__repository}/milestones`, milestoneData, cb); |
| 169 | } |
| 170 | |
| 171 | /** |
| 172 | * Edit a milestone |