MCPcopy Index your code
hub / github.com/github-tools/github / createMilestone

Method createMilestone

lib/Issue.js:167–169  ·  view source on GitHub ↗

* 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)

Source from the content-addressed store, hash-verified

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

Callers 1

issue.spec.jsFile · 0.80

Calls 1

_requestMethod · 0.80

Tested by

no test coverage detected