Lines Matching refs:endpoint
117 …* @param string $endpoint the endpoint as defined in the GitHub documentation. With leading and …
123 protected function makeGitHubGETRequest($endpoint, $max = null) argument
132 $data = $this->makeGitHubRequest($endpoint, [], 'GET', []);
164 $endpoint = substr($links['next'], strlen($this->githubUrl));
170 * @param string $endpoint
179 protected function makeGitHubRequest($endpoint, $data, $method, $headers = []) argument
192 $url = $this->githubUrl . $endpoint;
225 $endpoint = "/orgs/$organisation/repos";
227 $repos = $this->makeGitHubGETRequest($endpoint);
239 $endpoint = "/repos/$repoData[full_name]/hooks";
241 $repoHooks = $this->makeGitHubGETRequest($endpoint);
438 $endpoint = '/user/orgs';
440 $this->orgs = $this->makeGitHubGETRequest($endpoint);
461 $endpoint = '/repos/' . $repo . '/issues/' . $issueNumber;
462 $result = $this->makeGitHubGETRequest($endpoint);
466 $endpoint = '/repos/' . $repo . '/pulls/' . $issueNumber;
467 $result = $this->makeGitHubGETRequest($endpoint);
534 $endpoint = "/repos/$projectKey/issues?state=all&page=$page";
535 $issues = $this->makeGitHubGETRequest($endpoint);