Skip to content

opensourceways/go-gitee

Repository files navigation

go-gitee

Introduction

go-gitee is the go sdk of gitee api.

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version: 5.3.2
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.GoClientCodegen

Documentation for API Endpoints

All URIs are relative to https://gitee.com/api/v5/doc_json

Class Method HTTP request Description
ActivityApi DeleteV5UserStarredOwnerRepo Delete /v5/user/starred/{owner}/{repo} 取消 star 一个仓库
ActivityApi DeleteV5UserSubscriptionsOwnerRepo Delete /v5/user/subscriptions/{owner}/{repo} 取消 watch 一个仓库
ActivityApi GetV5Events Get /v5/events 获取站内所有公开动态
ActivityApi GetV5NetworksOwnerRepoEvents Get /v5/networks/{owner}/{repo}/events 列出仓库的所有公开动态
ActivityApi GetV5NotificationsCount Get /v5/notifications/count 获取授权用户的通知数
ActivityApi GetV5NotificationsMessages Get /v5/notifications/messages 列出授权用户的所有私信
ActivityApi GetV5NotificationsMessagesId Get /v5/notifications/messages/{id} 获取一条私信
ActivityApi GetV5NotificationsThreads Get /v5/notifications/threads 列出授权用户的所有通知
ActivityApi GetV5NotificationsThreadsId Get /v5/notifications/threads/{id} 获取一条通知
ActivityApi GetV5OrgsOrgEvents Get /v5/orgs/{org}/events 列出组织的公开动态
ActivityApi GetV5ReposOwnerRepoEvents Get /v5/repos/{owner}/{repo}/events 列出仓库的所有动态
ActivityApi GetV5ReposOwnerRepoNotifications Get /v5/repos/{owner}/{repo}/notifications 列出一个仓库里的通知
ActivityApi GetV5ReposOwnerRepoStargazers Get /v5/repos/{owner}/{repo}/stargazers 列出 star 了仓库的用户
ActivityApi GetV5ReposOwnerRepoSubscribers Get /v5/repos/{owner}/{repo}/subscribers 列出 watch 了仓库的用户
ActivityApi GetV5UserStarred Get /v5/user/starred 列出授权用户 star 了的仓库
ActivityApi GetV5UserStarredOwnerRepo Get /v5/user/starred/{owner}/{repo} 检查授权用户是否 star 了一个仓库
ActivityApi GetV5UserSubscriptions Get /v5/user/subscriptions 列出授权用户 watch 了的仓库
ActivityApi GetV5UserSubscriptionsOwnerRepo Get /v5/user/subscriptions/{owner}/{repo} 检查授权用户是否 watch 了一个仓库
ActivityApi GetV5UsersUsernameEvents Get /v5/users/{username}/events 列出用户的动态
ActivityApi GetV5UsersUsernameEventsOrgsOrg Get /v5/users/{username}/events/orgs/{org} 列出用户所属组织的动态
ActivityApi GetV5UsersUsernameEventsPublic Get /v5/users/{username}/events/public 列出用户的公开动态
ActivityApi GetV5UsersUsernameReceivedEvents Get /v5/users/{username}/received_events 列出一个用户收到的动态
ActivityApi GetV5UsersUsernameReceivedEventsPublic Get /v5/users/{username}/received_events/public 列出一个用户收到的公开动态
ActivityApi GetV5UsersUsernameStarred Get /v5/users/{username}/starred 列出用户 star 了的仓库
ActivityApi GetV5UsersUsernameSubscriptions Get /v5/users/{username}/subscriptions 列出用户 watch 了的仓库
ActivityApi PatchV5NotificationsMessagesId Patch /v5/notifications/messages/{id} 标记一条私信为已读
ActivityApi PatchV5NotificationsThreadsId Patch /v5/notifications/threads/{id} 标记一条通知为已读
ActivityApi PostV5NotificationsMessages Post /v5/notifications/messages 发送私信给指定用户
ActivityApi PutV5NotificationsMessages Put /v5/notifications/messages 标记所有私信为已读
ActivityApi PutV5NotificationsThreads Put /v5/notifications/threads 标记所有通知为已读
ActivityApi PutV5ReposOwnerRepoNotifications Put /v5/repos/{owner}/{repo}/notifications 标记一个仓库里的通知为已读
ActivityApi PutV5UserStarredOwnerRepo Put /v5/user/starred/{owner}/{repo} star 一个仓库
ActivityApi PutV5UserSubscriptionsOwnerRepo Put /v5/user/subscriptions/{owner}/{repo} watch 一个仓库
EmailsApi GetV5Emails Get /v5/emails 获取授权用户的所有邮箱
EnterprisesApi DeleteV5EnterprisesEnterpriseMembersUsername Delete /v5/enterprises/{enterprise}/members/{username} 移除企业成员
EnterprisesApi DeleteV5EnterprisesEnterpriseWeekReportsReportIdCommentsId Delete /v5/enterprises/{enterprise}/week_reports/{report_id}/comments/{id} 删除周报某个评论
EnterprisesApi GetV5EnterprisesEnterprise Get /v5/enterprises/{enterprise} 获取一个企业
EnterprisesApi GetV5EnterprisesEnterpriseMembers Get /v5/enterprises/{enterprise}/members 列出企业的所有成员
EnterprisesApi GetV5EnterprisesEnterpriseMembersUsername Get /v5/enterprises/{enterprise}/members/{username} 获取企业的一个成员
EnterprisesApi GetV5EnterprisesEnterpriseUsersUsernameWeekReports Get /v5/enterprises/{enterprise}/users/{username}/week_reports 个人周报列表
EnterprisesApi GetV5EnterprisesEnterpriseWeekReports Get /v5/enterprises/{enterprise}/week_reports 企业成员周报列表
EnterprisesApi GetV5EnterprisesEnterpriseWeekReportsId Get /v5/enterprises/{enterprise}/week_reports/{id} 周报详情
EnterprisesApi GetV5EnterprisesEnterpriseWeekReportsIdComments Get /v5/enterprises/{enterprise}/week_reports/{id}/comments 某个周报评论列表
EnterprisesApi GetV5UserEnterprises Get /v5/user/enterprises 列出授权用户所属的企业
EnterprisesApi PatchV5EnterprisesEnterpriseWeekReportId Patch /v5/enterprises/{enterprise}/week_report/{id} 编辑周报
EnterprisesApi PostV5EnterprisesEnterpriseMembers Post /v5/enterprises/{enterprise}/members 添加或邀请企业成员
EnterprisesApi PostV5EnterprisesEnterpriseWeekReport Post /v5/enterprises/{enterprise}/week_report 新建周报
EnterprisesApi PostV5EnterprisesEnterpriseWeekReportsIdComment Post /v5/enterprises/{enterprise}/week_reports/{id}/comment 评论周报
EnterprisesApi PutV5EnterprisesEnterpriseMembersUsername Put /v5/enterprises/{enterprise}/members/{username} 修改企业成员权限或备注
GistsApi DeleteV5GistsGistIdCommentsId Delete /v5/gists/{gist_id}/comments/{id} 删除代码片段的评论
GistsApi DeleteV5GistsId Delete /v5/gists/{id} 删除指定代码片段
GistsApi DeleteV5GistsIdStar Delete /v5/gists/{id}/star 取消Star代码片段
GistsApi GetV5Gists Get /v5/gists 获取代码片段
GistsApi GetV5GistsGistIdComments Get /v5/gists/{gist_id}/comments 获取代码片段的评论
GistsApi GetV5GistsGistIdCommentsId Get /v5/gists/{gist_id}/comments/{id} 获取单条代码片段的评论
GistsApi GetV5GistsId Get /v5/gists/{id} 获取单条代码片段
GistsApi GetV5GistsIdCommits Get /v5/gists/{id}/commits 获取代码片段的commit
GistsApi GetV5GistsIdForks Get /v5/gists/{id}/forks 获取 Fork 了指定代码片段的列表
GistsApi GetV5GistsIdStar Get /v5/gists/{id}/star 判断代码片段是否已Star
GistsApi GetV5GistsPublic Get /v5/gists/public 获取公开的代码片段
GistsApi GetV5GistsStarred Get /v5/gists/starred 获取用户Star的代码片段
GistsApi GetV5UsersUsernameGists Get /v5/users/{username}/gists 获取指定用户的公开代码片段
GistsApi PatchV5GistsGistIdCommentsId Patch /v5/gists/{gist_id}/comments/{id} 修改代码片段的评论
GistsApi PatchV5GistsId Patch /v5/gists/{id} 修改代码片段
GistsApi PostV5Gists Post /v5/gists 创建代码片段
GistsApi PostV5GistsGistIdComments Post /v5/gists/{gist_id}/comments 增加代码片段的评论
GistsApi PostV5GistsIdForks Post /v5/gists/{id}/forks Fork代码片段
GistsApi PutV5GistsIdStar Put /v5/gists/{id}/star Star代码片段
GitDataApi GetV5ReposOwnerRepoGitBlobsSha Get /v5/repos/{owner}/{repo}/git/blobs/{sha} 获取文件Blob
GitDataApi GetV5ReposOwnerRepoGitTreesSha Get /v5/repos/{owner}/{repo}/git/trees/{sha} 获取目录Tree
IssuesApi DeleteV5ReposOwnerRepoIssuesCommentsId Delete /v5/repos/{owner}/{repo}/issues/comments/{id} 删除Issue某条评论
IssuesApi GetV5EnterprisesEnterpriseIssues Get /v5/enterprises/{enterprise}/issues 获取某个企业的所有Issues
IssuesApi GetV5EnterprisesEnterpriseIssuesNumber Get /v5/enterprises/{enterprise}/issues/{number} 获取企业的某个Issue
IssuesApi GetV5EnterprisesEnterpriseIssuesNumberComments Get /v5/enterprises/{enterprise}/issues/{number}/comments 获取企业某个Issue所有评论
IssuesApi GetV5EnterprisesEnterpriseIssuesNumberLabels Get /v5/enterprises/{enterprise}/issues/{number}/labels 获取企业某个Issue所有标签
IssuesApi GetV5Issues Get /v5/issues 获取当前授权用户的所有Issues
IssuesApi GetV5OrgsOrgIssues Get /v5/orgs/{org}/issues 获取当前用户某个组织的Issues
IssuesApi GetV5ReposOwnerIssuesNumberOperateLogs Get /v5/repos/{owner}/issues/{number}/operate_logs 获取某个Issue下的操作日志
IssuesApi GetV5ReposOwnerRepoIssues Get /v5/repos/{owner}/{repo}/issues 仓库的所有Issues
IssuesApi GetV5ReposOwnerRepoIssuesComments Get /v5/repos/{owner}/{repo}/issues/comments 获取仓库所有Issue的评论
IssuesApi GetV5ReposOwnerRepoIssuesCommentsId Get /v5/repos/{owner}/{repo}/issues/comments/{id} 获取仓库Issue某条评论
IssuesApi GetV5ReposOwnerRepoIssuesNumber Get /v5/repos/{owner}/{repo}/issues/{number} 仓库的某个Issue
IssuesApi GetV5ReposOwnerRepoIssuesNumberComments Get /v5/repos/{owner}/{repo}/issues/{number}/comments 获取仓库某个Issue所有的评论
IssuesApi GetV5UserIssues Get /v5/user/issues 获取授权用户的所有Issues
IssuesApi PatchV5ReposOwnerIssuesNumber Patch /v5/repos/{owner}/issues/{number} 更新Issue
IssuesApi PatchV5ReposOwnerRepoIssuesCommentsId Patch /v5/repos/{owner}/{repo}/issues/comments/{id} 更新Issue某条评论
IssuesApi PostV5ReposOwnerIssues Post /v5/repos/{owner}/issues 创建Issue
IssuesApi PostV5ReposOwnerRepoIssuesNumberComments Post /v5/repos/{owner}/{repo}/issues/{number}/comments 创建某个Issue评论
LabelsApi DeleteV5ReposOwnerRepoIssuesNumberLabels Delete /v5/repos/{owner}/{repo}/issues/{number}/labels 删除Issue所有标签
LabelsApi DeleteV5ReposOwnerRepoIssuesNumberLabelsName Delete /v5/repos/{owner}/{repo}/issues/{number}/labels/{name} 删除Issue标签
LabelsApi DeleteV5ReposOwnerRepoLabelsName Delete /v5/repos/{owner}/{repo}/labels/{name} 删除一个仓库任务标签
LabelsApi GetV5EnterprisesEnterpriseLabels Get /v5/enterprises/{enterprise}/labels 获取企业所有标签
LabelsApi GetV5EnterprisesEnterpriseLabelsName Get /v5/enterprises/{enterprise}/labels/{name} 获取企业某个标签
LabelsApi GetV5ReposOwnerRepoIssuesNumberLabels Get /v5/repos/{owner}/{repo}/issues/{number}/labels 获取仓库任务的所有标签
LabelsApi GetV5ReposOwnerRepoLabels Get /v5/repos/{owner}/{repo}/labels 获取仓库所有任务标签
LabelsApi GetV5ReposOwnerRepoLabelsName Get /v5/repos/{owner}/{repo}/labels/{name} 根据标签名称获取单个标签
LabelsApi PatchV5ReposOwnerRepoLabelsOriginalName Patch /v5/repos/{owner}/{repo}/labels/{original_name} 更新一个仓库任务标签
LabelsApi PostV5ReposOwnerRepoIssuesNumberLabels Post /v5/repos/{owner}/{repo}/issues/{number}/labels 创建Issue标签
LabelsApi PostV5ReposOwnerRepoLabels Post /v5/repos/{owner}/{repo}/labels 创建仓库任务标签
LabelsApi PutV5ReposOwnerRepoIssuesNumberLabels Put /v5/repos/{owner}/{repo}/issues/{number}/labels 替换Issue所有标签
MilestonesApi DeleteV5ReposOwnerRepoMilestonesNumber Delete /v5/repos/{owner}/{repo}/milestones/{number} 删除仓库单个里程碑
MilestonesApi GetV5ReposOwnerRepoMilestones Get /v5/repos/{owner}/{repo}/milestones 获取仓库所有里程碑
MilestonesApi GetV5ReposOwnerRepoMilestonesNumber Get /v5/repos/{owner}/{repo}/milestones/{number} 获取仓库单个里程碑
MilestonesApi PatchV5ReposOwnerRepoMilestonesNumber Patch /v5/repos/{owner}/{repo}/milestones/{number} 更新仓库里程碑
MilestonesApi PostV5ReposOwnerRepoMilestones Post /v5/repos/{owner}/{repo}/milestones 创建仓库里程碑
MiscellaneousApi GetV5Emojis Get /v5/emojis 列出可使用的 Emoji
MiscellaneousApi GetV5GitignoreTemplates Get /v5/gitignore/templates 列出可使用的 .gitignore 模板
MiscellaneousApi GetV5GitignoreTemplatesName Get /v5/gitignore/templates/{name} 获取一个 .gitignore 模板
MiscellaneousApi GetV5GitignoreTemplatesNameRaw Get /v5/gitignore/templates/{name}/raw 获取一个 .gitignore 模板原始文件
MiscellaneousApi GetV5Licenses Get /v5/licenses 列出可使用的开源许可协议
MiscellaneousApi GetV5LicensesLicense Get /v5/licenses/{license} 获取一个开源许可协议
MiscellaneousApi GetV5LicensesLicenseRaw Get /v5/licenses/{license}/raw 获取一个开源许可协议原始文件
MiscellaneousApi GetV5ReposOwnerRepoLicense Get /v5/repos/{owner}/{repo}/license 获取一个仓库使用的开源许可协议
MiscellaneousApi PostV5Markdown Post /v5/markdown 渲染 Markdown 文本
OrganizationsApi DeleteV5OrgsOrgMembershipsUsername Delete /v5/orgs/{org}/memberships/{username} 移除授权用户所管理组织中的成员
OrganizationsApi DeleteV5UserMembershipsOrgsOrg Delete /v5/user/memberships/orgs/{org} 退出一个组织
OrganizationsApi GetV5OrgsOrg Get /v5/orgs/{org} 获取一个组织
OrganizationsApi GetV5OrgsOrgMembers Get /v5/orgs/{org}/members 列出一个组织的所有成员
OrganizationsApi GetV5OrgsOrgMembershipsUsername Get /v5/orgs/{org}/memberships/{username} 获取授权用户所属组织的一个成员
OrganizationsApi GetV5UserMembershipsOrgs Get /v5/user/memberships/orgs 列出授权用户在所属组织的成员资料
OrganizationsApi GetV5UserMembershipsOrgsOrg Get /v5/user/memberships/orgs/{org} 获取授权用户在一个组织的成员资料
OrganizationsApi GetV5UserOrgs Get /v5/user/orgs 列出授权用户所属的组织
OrganizationsApi GetV5UsersUsernameOrgs Get /v5/users/{username}/orgs 列出用户所属的组织
OrganizationsApi PatchV5OrgsOrg Patch /v5/orgs/{org} 更新授权用户所管理的组织资料
OrganizationsApi PatchV5UserMembershipsOrgsOrg Patch /v5/user/memberships/orgs/{org} 更新授权用户在一个组织的成员资料
OrganizationsApi PostV5UsersOrganization Post /v5/users/organization 创建组织
OrganizationsApi PutV5OrgsOrgMembershipsUsername Put /v5/orgs/{org}/memberships/{username} 增加或更新授权用户所管理组织的成员
PullRequestsApi DeleteV5ReposOwnerRepoPullsCommentsId Delete /v5/repos/{owner}/{repo}/pulls/comments/{id} 删除评论
PullRequestsApi DeleteV5ReposOwnerRepoPullsLabel Delete /v5/repos/{owner}/{repo}/pulls/{number}/labels/{name} 删除 Pull Request 标签
PullRequestsApi DeleteV5ReposOwnerRepoPullsNumberAssignees Delete /v5/repos/{owner}/{repo}/pulls/{number}/assignees 取消用户审查 Pull Request
PullRequestsApi DeleteV5ReposOwnerRepoPullsNumberTesters Delete /v5/repos/{owner}/{repo}/pulls/{number}/testers 取消用户测试 Pull Request
PullRequestsApi GetV5ReposOwnerRepoPulls Get /v5/repos/{owner}/{repo}/pulls 获取Pull Request列表
PullRequestsApi GetV5ReposOwnerRepoPullsComments Get /v5/repos/{owner}/{repo}/pulls/comments 获取该仓库下的所有Pull Request评论
PullRequestsApi GetV5ReposOwnerRepoPullsCommentsId Get /v5/repos/{owner}/{repo}/pulls/comments/{id} 获取Pull Request的某个评论
PullRequestsApi GetV5ReposOwnerRepoPullsNumber Get /v5/repos/{owner}/{repo}/pulls/{number} 获取单个Pull Request
PullRequestsApi GetV5ReposOwnerRepoPullsNumberComments Get /v5/repos/{owner}/{repo}/pulls/{number}/comments 获取某个Pull Request的所有评论
PullRequestsApi GetV5ReposOwnerRepoPullsNumberCommits Get /v5/repos/{owner}/{repo}/pulls/{number}/commits 获取某Pull Request的所有Commit信息。最多显示250条Commit
PullRequestsApi GetV5ReposOwnerRepoPullsNumberFiles Get /v5/repos/{owner}/{repo}/pulls/{number}/files Pull Request Commit文件列表。最多显示300条diff
PullRequestsApi GetV5ReposOwnerRepoPullsNumberIssues Get /v5/repos/{owner}/{repo}/pulls/{number}/issues 获取 Pull Request 关联的 issues
PullRequestsApi GetV5ReposOwnerRepoPullsNumberLabels Get /v5/repos/{owner}/{repo}/pulls/{number}/labels 获取某个 Pull Request 的所有标签
PullRequestsApi GetV5ReposOwnerRepoPullsNumberMerge Get /v5/repos/{owner}/{repo}/pulls/{number}/merge 判断Pull Request是否已经合并
PullRequestsApi GetV5ReposOwnerRepoPullsNumberOperateLogs Get /v5/repos/{owner}/{repo}/pulls/{number}/operate_logs 获取某个Pull Request的操作日志
PullRequestsApi PatchV5ReposOwnerRepoPullsCommentsId Patch /v5/repos/{owner}/{repo}/pulls/comments/{id} 编辑评论
PullRequestsApi PatchV5ReposOwnerRepoPullsNumber Patch /v5/repos/{owner}/{repo}/pulls/{number} 更新Pull Request信息
PullRequestsApi PostV5ReposOwnerRepoPulls Post /v5/repos/{owner}/{repo}/pulls 创建Pull Request
PullRequestsApi PostV5ReposOwnerRepoPullsNumberAssignees Post /v5/repos/{owner}/{repo}/pulls/{number}/assignees 指派用户审查 Pull Request
PullRequestsApi PostV5ReposOwnerRepoPullsNumberComments Post /v5/repos/{owner}/{repo}/pulls/{number}/comments 提交Pull Request评论
PullRequestsApi PostV5ReposOwnerRepoPullsNumberLabels Post /v5/repos/{owner}/{repo}/pulls/{number}/labels 创建 Pull Request 标签
PullRequestsApi PostV5ReposOwnerRepoPullsNumberTesters Post /v5/repos/{owner}/{repo}/pulls/{number}/testers 指派用户测试 Pull Request
PullRequestsApi PutV5ReposOwnerRepoPullsNumberLabels Put /v5/repos/{owner}/{repo}/pulls/{number}/labels 替换Pull Request 所有标签
PullRequestsApi PutV5ReposOwnerRepoPullsNumberMerge Put /v5/repos/{owner}/{repo}/pulls/{number}/merge 合并Pull Request
RepositoriesApi DeleteV5ReposOwnerRepo Delete /v5/repos/{owner}/{repo} 删除一个仓库
RepositoriesApi DeleteV5ReposOwnerRepoBranchesBranchProtection Delete /v5/repos/{owner}/{repo}/branches/{branch}/protection 取消保护分支的设置
RepositoriesApi DeleteV5ReposOwnerRepoCollaboratorsUsername Delete /v5/repos/{owner}/{repo}/collaborators/{username} 移除仓库成员
RepositoriesApi DeleteV5ReposOwnerRepoCommentsId Delete /v5/repos/{owner}/{repo}/comments/{id} 删除Commit评论
RepositoriesApi DeleteV5ReposOwnerRepoContentsPath Delete /v5/repos/{owner}/{repo}/contents/{path} 删除文件
RepositoriesApi DeleteV5ReposOwnerRepoKeysEnableId Delete /v5/repos/{owner}/{repo}/keys/enable/{id} 停用仓库公钥
RepositoriesApi DeleteV5ReposOwnerRepoKeysId Delete /v5/repos/{owner}/{repo}/keys/{id} 删除一个仓库公钥
RepositoriesApi DeleteV5ReposOwnerRepoReleasesId Delete /v5/repos/{owner}/{repo}/releases/{id} 删除仓库Release
RepositoriesApi GetV5EnterprisesEnterpriseRepos Get /v5/enterprises/{enterprise}/repos 获取企业的所有仓库
RepositoriesApi GetV5OrgsOrgRepos Get /v5/orgs/{org}/repos 获取一个组织的仓库
RepositoriesApi GetV5ReposOwnerRepo Get /v5/repos/{owner}/{repo} 获取用户的某个仓库
RepositoriesApi GetV5ReposOwnerRepoBranches Get /v5/repos/{owner}/{repo}/branches 获取所有分支
RepositoriesApi GetV5ReposOwnerRepoBranchesBranch Get /v5/repos/{owner}/{repo}/branches/{branch} 获取单个分支
RepositoriesApi GetV5ReposOwnerRepoCollaborators Get /v5/repos/{owner}/{repo}/collaborators 获取仓库的所有成员
RepositoriesApi GetV5ReposOwnerRepoCollaboratorsUsername Get /v5/repos/{owner}/{repo}/collaborators/{username} 判断用户是否为仓库成员
RepositoriesApi GetV5ReposOwnerRepoCollaboratorsUsernamePermission Get /v5/repos/{owner}/{repo}/collaborators/{username}/permission 查看仓库成员的权限
RepositoriesApi GetV5ReposOwnerRepoComments Get /v5/repos/{owner}/{repo}/comments 获取仓库的Commit评论
RepositoriesApi GetV5ReposOwnerRepoCommentsId Get /v5/repos/{owner}/{repo}/comments/{id} 获取仓库的某条Commit评论
RepositoriesApi GetV5ReposOwnerRepoCommits Get /v5/repos/{owner}/{repo}/commits 仓库的所有提交
RepositoriesApi GetV5ReposOwnerRepoCommitsRefComments Get /v5/repos/{owner}/{repo}/commits/{ref}/comments 获取单个Commit的评论
RepositoriesApi GetV5ReposOwnerRepoCommitsSha Get /v5/repos/{owner}/{repo}/commits/{sha} 仓库的某个提交
RepositoriesApi GetV5ReposOwnerRepoCompareBaseHead Get /v5/repos/{owner}/{repo}/compare/{base}...{head} 两个Commits之间对比的版本差异
RepositoriesApi GetV5ReposOwnerRepoContentsPath Get /v5/repos/{owner}/{repo}/contents/{path} 获取仓库具体路径下的内容
RepositoriesApi GetV5ReposOwnerRepoContributors Get /v5/repos/{owner}/{repo}/contributors 获取仓库贡献者
RepositoriesApi GetV5ReposOwnerRepoForks Get /v5/repos/{owner}/{repo}/forks 查看仓库的Forks
RepositoriesApi GetV5ReposOwnerRepoKeys Get /v5/repos/{owner}/{repo}/keys 获取仓库已部署的公钥
RepositoriesApi GetV5ReposOwnerRepoKeysAvailable Get /v5/repos/{owner}/{repo}/keys/available 获取仓库可部署的公钥
RepositoriesApi GetV5ReposOwnerRepoKeysId Get /v5/repos/{owner}/{repo}/keys/{id} 获取仓库的单个公钥
RepositoriesApi GetV5ReposOwnerRepoPages Get /v5/repos/{owner}/{repo}/pages 获取Pages信息
RepositoriesApi GetV5ReposOwnerRepoReadme Get /v5/repos/{owner}/{repo}/readme 获取仓库README
RepositoriesApi GetV5ReposOwnerRepoReleases Get /v5/repos/{owner}/{repo}/releases 获取仓库的所有Releases
RepositoriesApi GetV5ReposOwnerRepoReleasesId Get /v5/repos/{owner}/{repo}/releases/{id} 获取仓库的单个Releases
RepositoriesApi GetV5ReposOwnerRepoReleasesLatest Get /v5/repos/{owner}/{repo}/releases/latest 获取仓库的最后更新的Release
RepositoriesApi GetV5ReposOwnerRepoReleasesTagsTag Get /v5/repos/{owner}/{repo}/releases/tags/{tag} 根据Tag名称获取仓库的Release
RepositoriesApi GetV5ReposOwnerRepoTags Get /v5/repos/{owner}/{repo}/tags 列出仓库所有的tags
RepositoriesApi GetV5UserRepos Get /v5/user/repos 列出授权用户的所有仓库
RepositoriesApi GetV5UsersUsernameRepos Get /v5/users/{username}/repos 获取某个用户的公开仓库
RepositoriesApi PatchV5ReposOwnerRepo Patch /v5/repos/{owner}/{repo} 更新仓库设置
RepositoriesApi PatchV5ReposOwnerRepoCommentsId Patch /v5/repos/{owner}/{repo}/comments/{id} 更新Commit评论
RepositoriesApi PatchV5ReposOwnerRepoReleasesId Patch /v5/repos/{owner}/{repo}/releases/{id} 更新仓库Release
RepositoriesApi PostV5EnterprisesEnterpriseRepos Post /v5/enterprises/{enterprise}/repos 创建企业仓库
RepositoriesApi PostV5OrgsOrgRepos Post /v5/orgs/{org}/repos 创建组织仓库
RepositoriesApi PostV5ReposOwnerRepoBranches Post /v5/repos/{owner}/{repo}/branches 创建分支
RepositoriesApi PostV5ReposOwnerRepoCommitsShaComments Post /v5/repos/{owner}/{repo}/commits/{sha}/comments 创建Commit评论
RepositoriesApi PostV5ReposOwnerRepoContentsPath Post /v5/repos/{owner}/{repo}/contents/{path} 新建文件
RepositoriesApi PostV5ReposOwnerRepoForks Post /v5/repos/{owner}/{repo}/forks Fork一个仓库
RepositoriesApi PostV5ReposOwnerRepoKeys Post /v5/repos/{owner}/{repo}/keys 为仓库添加公钥
RepositoriesApi PostV5ReposOwnerRepoPagesBuilds Post /v5/repos/{owner}/{repo}/pages/builds 请求建立Pages
RepositoriesApi PostV5ReposOwnerRepoReleases Post /v5/repos/{owner}/{repo}/releases 创建仓库Release
RepositoriesApi PostV5UserRepos Post /v5/user/repos 创建一个仓库
RepositoriesApi PutV5ReposOwnerRepoBranchesBranchProtection Put /v5/repos/{owner}/{repo}/branches/{branch}/protection 设置分支保护
RepositoriesApi PutV5ReposOwnerRepoClear Put /v5/repos/{owner}/{repo}/clear 清空一个仓库
RepositoriesApi PutV5ReposOwnerRepoCollaboratorsUsername Put /v5/repos/{owner}/{repo}/collaborators/{username} 添加仓库成员
RepositoriesApi PutV5ReposOwnerRepoContentsPath Put /v5/repos/{owner}/{repo}/contents/{path} 更新文件
RepositoriesApi PutV5ReposOwnerRepoKeysEnableId Put /v5/repos/{owner}/{repo}/keys/enable/{id} 启用仓库公钥
RepositoriesApi PutV5ReposOwnerRepoReviewer Put /v5/repos/{owner}/{repo}/reviewer 修改代码审查设置
SearchApi GetV5SearchGists Get /v5/search/gists 搜索代码片段
SearchApi GetV5SearchIssues Get /v5/search/issues 搜索 Issues
SearchApi GetV5SearchRepositories Get /v5/search/repositories 搜索仓库
SearchApi GetV5SearchUsers Get /v5/search/users 搜索用户
UsersApi DeleteV5UserFollowingUsername Delete /v5/user/following/{username} 取消关注一个用户
UsersApi DeleteV5UserKeysId Delete /v5/user/keys/{id} 删除一个公钥
UsersApi GetV5User Get /v5/user 获取授权用户的资料
UsersApi GetV5UserFollowers Get /v5/user/followers 列出授权用户的关注者
UsersApi GetV5UserFollowing Get /v5/user/following 列出授权用户正关注的用户
UsersApi GetV5UserFollowingUsername Get /v5/user/following/{username} 检查授权用户是否关注了一个用户
UsersApi GetV5UserKeys Get /v5/user/keys 列出授权用户的所有公钥
UsersApi GetV5UserKeysId Get /v5/user/keys/{id} 获取一个公钥
UsersApi GetV5UserNamespace Get /v5/user/namespace 获取授权用户的一个 Namespace
UsersApi GetV5UserNamespaces Get /v5/user/namespaces 列出授权用户所有的 Namespace
UsersApi GetV5UsersUsername Get /v5/users/{username} 获取一个用户
UsersApi GetV5UsersUsernameFollowers Get /v5/users/{username}/followers 列出指定用户的关注者
UsersApi GetV5UsersUsernameFollowing Get /v5/users/{username}/following 列出指定用户正在关注的用户
UsersApi GetV5UsersUsernameFollowingTargetUser Get /v5/users/{username}/following/{target_user} 检查指定用户是否关注目标用户
UsersApi GetV5UsersUsernameKeys Get /v5/users/{username}/keys 列出指定用户的所有公钥
UsersApi PatchV5User Patch /v5/user 更新授权用户的资料
UsersApi PostV5UserKeys Post /v5/user/keys 添加一个公钥
UsersApi PutV5UserFollowingUsername Put /v5/user/following/{username} 关注一个用户
WebhooksApi DeleteV5ReposOwnerRepoHooksId Delete /v5/repos/{owner}/{repo}/hooks/{id} 删除一个仓库WebHook
WebhooksApi GetV5ReposOwnerRepoHooks Get /v5/repos/{owner}/{repo}/hooks 列出仓库的WebHooks
WebhooksApi GetV5ReposOwnerRepoHooksId Get /v5/repos/{owner}/{repo}/hooks/{id} 获取仓库单个WebHook
WebhooksApi PatchV5ReposOwnerRepoHooksId Patch /v5/repos/{owner}/{repo}/hooks/{id} 更新一个仓库WebHook
WebhooksApi PostV5ReposOwnerRepoHooks Post /v5/repos/{owner}/{repo}/hooks 创建一个仓库WebHook
WebhooksApi PostV5ReposOwnerRepoHooksIdTests Post /v5/repos/{owner}/{repo}/hooks/{id}/tests 测试WebHook是否发送成功

Documentation For Models

License

See the LICENSE file for details.