9#include "cpp_restapi_export.h"
29 Request(std::shared_ptr<cpp_restapi::IConnection>);
52 std::string
getReleases(
const std::string& user,
const std::string& repo);
63 std::string
getRelease(
const std::string& user,
const std::string& repo,
int id);
107 std::string
getUser(
const std::string& username);
146 std::string
getIssue(
const std::string& owner,
const std::string& repo,
const std::string& issueNumber);
166 std::string
getPullRequest(
const std::string& owner,
const std::string& repo,
const std::string& pullNumber);
176 std::string
listPullRequestCommit(
const std::string& owner,
const std::string& repo,
const std::string& pullNumber);
188 std::string
listPullRequestfiles(
const std::string& owner,
const std::string& repo,
const std::string& pullNumber);
198 std::string
isPRmerged(
const std::string& owner,
const std::string& repo,
const std::string& pullNumber);
210 std::string
listCommits(
const std::string& owner,
const std::string& repo);
221 std::string
listBranchHeadCommit(
const std::string& owner,
const std::string& repo,
const std::string& commitSha);
243 std::string
getCommits(
const std::string& owner,
const std::string& repo,
const std::string& reference);
328 std::string
getRepoClones(
const std::string& owner,
const std::string& repo);
357 std::string
getPageViews(
const std::string& owner,
const std::string& repo);
385 std::string
listRepoEvent(
const std::string& owner,
const std::string& repo);
474 std::string
getRepository(
const std::string& owner,
const std::string& repo);
494 std::string
getRepoLang(
const std::string& owner,
const std::string& repo);
508 std::shared_ptr<cpp_restapi::IConnection> m_connection;
510 std::string doRequest(
const std::string &);
GitHub api actions.
Definition request.hpp:27
std::string listCommitPullRequest(const std::string &owner, const std::string &repo, const std::string &commitSha)
List pull requests associated with a commit.
std::string getcontributorsActivity(const std::string &owner, const std::string &repo)
Get all contributor commit activity.
std::string getRepoLang(const std::string &owner, const std::string &repo)
List repository languages.
std::string getRateLimit()
Request api limits.
std::string getRefferalPaths(const std::string &owner, const std::string &repo)
Get top referral paths.
std::string getUser(const std::string &username)
Provides publicly available information about someone with a GitHub account.
std::string getRepoClones(const std::string &owner, const std::string &repo)
Get repository clones.
std::string listRepoIssues(const std::string &owner, const std::string &repo)
List issues in a repository.
std::string listUserEvent(const std::string &username)
List events for the authenticated user.
std::string getOrgRepo(const std::string &org)
List organization repositories.
Request(const Request &)=delete
std::string listPullRequest(const std::string &owner, const std::string &repo)
List pull request in a repository.
std::string getWeeklyCommit(const std::string &owner, const std::string &repo)
Get the weekly commit activity.
std::string repoContributors(const std::string &owner, const std::string &repo)
List repository contributors.
std::string listOrgEvent(const std::string &org)
List public organization events.
std::string getTopreferralSource(const std::string &owner, const std::string &repo)
Get top referral sources.
std::string getPullRequest(const std::string &owner, const std::string &repo, const std::string &pullNumber)
Lists details of a pull request by providing its number.
std::string getUserInfo(const std::string &user)
Request user info.
std::string listUsers()
Lists all users, in the order that they signed up on GitHub. This list includes personal user account...
std::string getHourlyCommitCount(const std::string &owner, const std::string &repo)
Get the hourly commit count for each day.
std::string listRepoCollaborators(const std::string &owner, const std::string &repo)
List repository collaborators.
std::string listNetworkRepoEvent(const std::string &owner, const std::string &repo)
List public events for a network of repositories.
std::string getPageViews(const std::string &owner, const std::string &repo)
Get page views. Get the total number of views and breakdown per day or week for the last 14 days.
std::string listAuthUserRepo()
List repositories for the authenticated user.
std::string getIssue(const std::string &owner, const std::string &repo, const std::string &issueNumber)
std::string isPRmerged(const std::string &owner, const std::string &repo, const std::string &pullNumber)
Check if a pull request has been merged.
std::string getRepoSubscription(const std::string &owner, const std::string &repo)
Get a repository subscription.
std::string getRelease(const std::string &user, const std::string &repo, int id)
Request release details.
std::string listCommits(const std::string &owner, const std::string &repo)
List commits.
std::string listPullRequestfiles(const std::string &owner, const std::string &repo, const std::string &pullNumber)
Responses include a maximum of 3000 files. The paginated response returns 30 files per page by defaul...
std::string issues()
List issues assigned to the authenticated user across all visible repositories including owned reposi...
std::string getCommunityProfileMetrics(const std::string &owner, const std::string &repo)
Get community profile metrics.
std::string listBranchHeadCommit(const std::string &owner, const std::string &repo, const std::string &commitSha)
List branches for HEAD commit.
Request & operator=(const Request &)=delete
std::string getLastYearCommit(const std::string &owner, const std::string &repo)
Get the last year of commit activity.
std::string getReleases(const std::string &user, const std::string &repo)
Request releases for repository.
std::string listStargazers(const std::string &owner, const std::string &repo)
Lists the people that have starred the repository.
std::string getCommitCount(const std::string &owner, const std::string &repo)
Get the weekly commit count.
std::string listPullRequestCommit(const std::string &owner, const std::string &repo, const std::string &pullNumber)
Lists a maximum of 250 commits for a pull request.
std::string listRepoWatchers(const std::string &owner, const std::string &repo)
Lists the people watching the specified repository.
std::string listRepoEvent(const std::string &owner, const std::string &repo)
List repository events.
std::string orgIssues(const std::string &org)
List issues in an organization assigned to the authenticated user.
std::string listUserWatchedRepos(const std::string &username)
List repositories watched by a user.
std::string getCommits(const std::string &owner, const std::string &repo, const std::string &reference)
Get a commit.
std::string listUserStarredRepo(const std::string &username)
List repositories starred by a user.
std::string listUserRepo(const std::string &user)
Request list of user repositories.
Request(std::shared_ptr< cpp_restapi::IConnection >)
std::string getRepository(const std::string &owner, const std::string &repo)
Get a repository.
std::string getAuntenticatedUser()
get the authenticated user info
Definition connection_builder.hpp:12