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

Method getTeams

lib/Organization.js:77–79  ·  view source on GitHub ↗

* List the Teams in the Organization * @see https://developer.github.com/v3/orgs/teams/#list-teams * @param {Requestable.callback} [cb] - will receive the list of teams * @return {Promise} - the promise for the http request

(cb)

Source from the content-addressed store, hash-verified

75 * @return {Promise} - the promise for the http request
76 */
77 getTeams(cb) {
78 return this._requestAllPages(`/orgs/${this.__name}/teams`, undefined, cb);
79 }
80
81 /**
82 * Create a team

Callers 2

team.spec.jsFile · 0.80

Calls 1

_requestAllPagesMethod · 0.80

Tested by

no test coverage detected