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

Method createProject

lib/Organization.js:114–118  ·  view source on GitHub ↗

* Create a new project * @see https://developer.github.com/v3/repos/projects/#create-a-project * @param {Object} options - the description of the project * @param {Requestable.callback} cb - will receive the newly created project * @return {Promise} - the promise for the http request

(options, cb)

Source from the content-addressed store, hash-verified

112 * @return {Promise} - the promise for the http request
113 */
114 createProject(options, cb) {
115 options = options || {};
116 options.AcceptHeader = 'inertia-preview';
117 return this._request('POST', `/orgs/${this.__name}/projects`, options, cb);
118 }
119}
120
121module.exports = Organization;

Callers

nothing calls this directly

Calls 1

_requestMethod · 0.80

Tested by

no test coverage detected