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

Method getMilestone

lib/Issue.js:156–158  ·  view source on GitHub ↗

* Get a milestone * @see https://developer.github.com/v3/issues/milestones/#get-a-single-milestone * @param {string} milestone - the id of the milestone to fetch * @param {Requestable.callback} [cb] - will receive the milestone * @return {Promise} - the promise for the http request

(milestone, cb)

Source from the content-addressed store, hash-verified

154 * @return {Promise} - the promise for the http request
155 */
156 getMilestone(milestone, cb) {
157 return this._request('GET', `/repos/${this.__repository}/milestones/${milestone}`, null, cb);
158 }
159
160 /**
161 * Create a new milestone

Callers 1

issue.spec.jsFile · 0.80

Calls 1

_requestMethod · 0.80

Tested by

no test coverage detected