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

Method createProject

lib/Repository.js:908–912  ·  view source on GitHub ↗

* Create a new project * @see https://developer.github.com/v3/projects/#create-a-repository-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 re

(options, cb)

Source from the content-addressed store, hash-verified

906 * @return {Promise} - the promise for the http request
907 */
908 createProject(options, cb) {
909 options = options || {};
910 options.AcceptHeader = 'inertia-preview';
911 return this._request('POST', `/repos/${this.__fullname}/projects`, options, cb);
912 }
913
914}
915

Callers 3

project.spec.jsFile · 0.45
repository.spec.jsFile · 0.45

Calls 1

_requestMethod · 0.80

Tested by

no test coverage detected