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

Method listProjects

lib/Organization.js:103–105  ·  view source on GitHub ↗

* Get information about all projects * @see https://developer.github.com/v3/projects/#list-organization-projects * @param {Requestable.callback} [cb] - will receive the list of projects * @return {Promise} - the promise for the http request

(cb)

Source from the content-addressed store, hash-verified

101 * @return {Promise} - the promise for the http request
102 */
103 listProjects(cb) {
104 return this._requestAllPages(`/orgs/${this.__name}/projects`, {AcceptHeader: 'inertia-preview'}, cb);
105 }
106
107 /**
108 * Create a new project

Callers

nothing calls this directly

Calls 1

_requestAllPagesMethod · 0.80

Tested by

no test coverage detected