Categorygithub.com/opensourceways/go-gitee
module
1.0.1
Repository: https://github.com/opensourceways/go-gitee.git
Documentation: pkg.go.dev

# README

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

ClassMethodHTTP requestDescription
ActivityApiDeleteV5UserStarredOwnerRepoDelete /v5/user/starred/{owner}/{repo}取消 star 一个仓库
ActivityApiDeleteV5UserSubscriptionsOwnerRepoDelete /v5/user/subscriptions/{owner}/{repo}取消 watch 一个仓库
ActivityApiGetV5EventsGet /v5/events获取站内所有公开动态
ActivityApiGetV5NetworksOwnerRepoEventsGet /v5/networks/{owner}/{repo}/events列出仓库的所有公开动态
ActivityApiGetV5NotificationsCountGet /v5/notifications/count获取授权用户的通知数
ActivityApiGetV5NotificationsMessagesGet /v5/notifications/messages列出授权用户的所有私信
ActivityApiGetV5NotificationsMessagesIdGet /v5/notifications/messages/{id}获取一条私信
ActivityApiGetV5NotificationsThreadsGet /v5/notifications/threads列出授权用户的所有通知
ActivityApiGetV5NotificationsThreadsIdGet /v5/notifications/threads/{id}获取一条通知
ActivityApiGetV5OrgsOrgEventsGet /v5/orgs/{org}/events列出组织的公开动态
ActivityApiGetV5ReposOwnerRepoEventsGet /v5/repos/{owner}/{repo}/events列出仓库的所有动态
ActivityApiGetV5ReposOwnerRepoNotificationsGet /v5/repos/{owner}/{repo}/notifications列出一个仓库里的通知
ActivityApiGetV5ReposOwnerRepoStargazersGet /v5/repos/{owner}/{repo}/stargazers列出 star 了仓库的用户
ActivityApiGetV5ReposOwnerRepoSubscribersGet /v5/repos/{owner}/{repo}/subscribers列出 watch 了仓库的用户
ActivityApiGetV5UserStarredGet /v5/user/starred列出授权用户 star 了的仓库
ActivityApiGetV5UserStarredOwnerRepoGet /v5/user/starred/{owner}/{repo}检查授权用户是否 star 了一个仓库
ActivityApiGetV5UserSubscriptionsGet /v5/user/subscriptions列出授权用户 watch 了的仓库
ActivityApiGetV5UserSubscriptionsOwnerRepoGet /v5/user/subscriptions/{owner}/{repo}检查授权用户是否 watch 了一个仓库
ActivityApiGetV5UsersUsernameEventsGet /v5/users/{username}/events列出用户的动态
ActivityApiGetV5UsersUsernameEventsOrgsOrgGet /v5/users/{username}/events/orgs/{org}列出用户所属组织的动态
ActivityApiGetV5UsersUsernameEventsPublicGet /v5/users/{username}/events/public列出用户的公开动态
ActivityApiGetV5UsersUsernameReceivedEventsGet /v5/users/{username}/received_events列出一个用户收到的动态
ActivityApiGetV5UsersUsernameReceivedEventsPublicGet /v5/users/{username}/received_events/public列出一个用户收到的公开动态
ActivityApiGetV5UsersUsernameStarredGet /v5/users/{username}/starred列出用户 star 了的仓库
ActivityApiGetV5UsersUsernameSubscriptionsGet /v5/users/{username}/subscriptions列出用户 watch 了的仓库
ActivityApiPatchV5NotificationsMessagesIdPatch /v5/notifications/messages/{id}标记一条私信为已读
ActivityApiPatchV5NotificationsThreadsIdPatch /v5/notifications/threads/{id}标记一条通知为已读
ActivityApiPostV5NotificationsMessagesPost /v5/notifications/messages发送私信给指定用户
ActivityApiPutV5NotificationsMessagesPut /v5/notifications/messages标记所有私信为已读
ActivityApiPutV5NotificationsThreadsPut /v5/notifications/threads标记所有通知为已读
ActivityApiPutV5ReposOwnerRepoNotificationsPut /v5/repos/{owner}/{repo}/notifications标记一个仓库里的通知为已读
ActivityApiPutV5UserStarredOwnerRepoPut /v5/user/starred/{owner}/{repo}star 一个仓库
ActivityApiPutV5UserSubscriptionsOwnerRepoPut /v5/user/subscriptions/{owner}/{repo}watch 一个仓库
EmailsApiGetV5EmailsGet /v5/emails获取授权用户的所有邮箱
EnterprisesApiDeleteV5EnterprisesEnterpriseMembersUsernameDelete /v5/enterprises/{enterprise}/members/{username}移除企业成员
EnterprisesApiDeleteV5EnterprisesEnterpriseWeekReportsReportIdCommentsIdDelete /v5/enterprises/{enterprise}/week_reports/{report_id}/comments/{id}删除周报某个评论
EnterprisesApiGetV5EnterprisesEnterpriseGet /v5/enterprises/{enterprise}获取一个企业
EnterprisesApiGetV5EnterprisesEnterpriseMembersGet /v5/enterprises/{enterprise}/members列出企业的所有成员
EnterprisesApiGetV5EnterprisesEnterpriseMembersUsernameGet /v5/enterprises/{enterprise}/members/{username}获取企业的一个成员
EnterprisesApiGetV5EnterprisesEnterpriseUsersUsernameWeekReportsGet /v5/enterprises/{enterprise}/users/{username}/week_reports个人周报列表
EnterprisesApiGetV5EnterprisesEnterpriseWeekReportsGet /v5/enterprises/{enterprise}/week_reports企业成员周报列表
EnterprisesApiGetV5EnterprisesEnterpriseWeekReportsIdGet /v5/enterprises/{enterprise}/week_reports/{id}周报详情
EnterprisesApiGetV5EnterprisesEnterpriseWeekReportsIdCommentsGet /v5/enterprises/{enterprise}/week_reports/{id}/comments某个周报评论列表
EnterprisesApiGetV5UserEnterprisesGet /v5/user/enterprises列出授权用户所属的企业
EnterprisesApiPatchV5EnterprisesEnterpriseWeekReportIdPatch /v5/enterprises/{enterprise}/week_report/{id}编辑周报
EnterprisesApiPostV5EnterprisesEnterpriseMembersPost /v5/enterprises/{enterprise}/members添加或邀请企业成员
EnterprisesApiPostV5EnterprisesEnterpriseWeekReportPost /v5/enterprises/{enterprise}/week_report新建周报
EnterprisesApiPostV5EnterprisesEnterpriseWeekReportsIdCommentPost /v5/enterprises/{enterprise}/week_reports/{id}/comment评论周报
EnterprisesApiPutV5EnterprisesEnterpriseMembersUsernamePut /v5/enterprises/{enterprise}/members/{username}修改企业成员权限或备注
GistsApiDeleteV5GistsGistIdCommentsIdDelete /v5/gists/{gist_id}/comments/{id}删除代码片段的评论
GistsApiDeleteV5GistsIdDelete /v5/gists/{id}删除指定代码片段
GistsApiDeleteV5GistsIdStarDelete /v5/gists/{id}/star取消Star代码片段
GistsApiGetV5GistsGet /v5/gists获取代码片段
GistsApiGetV5GistsGistIdCommentsGet /v5/gists/{gist_id}/comments获取代码片段的评论
GistsApiGetV5GistsGistIdCommentsIdGet /v5/gists/{gist_id}/comments/{id}获取单条代码片段的评论
GistsApiGetV5GistsIdGet /v5/gists/{id}获取单条代码片段
GistsApiGetV5GistsIdCommitsGet /v5/gists/{id}/commits获取代码片段的commit
GistsApiGetV5GistsIdForksGet /v5/gists/{id}/forks获取 Fork 了指定代码片段的列表
GistsApiGetV5GistsIdStarGet /v5/gists/{id}/star判断代码片段是否已Star
GistsApiGetV5GistsPublicGet /v5/gists/public获取公开的代码片段
GistsApiGetV5GistsStarredGet /v5/gists/starred获取用户Star的代码片段
GistsApiGetV5UsersUsernameGistsGet /v5/users/{username}/gists获取指定用户的公开代码片段
GistsApiPatchV5GistsGistIdCommentsIdPatch /v5/gists/{gist_id}/comments/{id}修改代码片段的评论
GistsApiPatchV5GistsIdPatch /v5/gists/{id}修改代码片段
GistsApiPostV5GistsPost /v5/gists创建代码片段
GistsApiPostV5GistsGistIdCommentsPost /v5/gists/{gist_id}/comments增加代码片段的评论
GistsApiPostV5GistsIdForksPost /v5/gists/{id}/forksFork代码片段
GistsApiPutV5GistsIdStarPut /v5/gists/{id}/starStar代码片段
GitDataApiGetV5ReposOwnerRepoGitBlobsShaGet /v5/repos/{owner}/{repo}/git/blobs/{sha}获取文件Blob
GitDataApiGetV5ReposOwnerRepoGitTreesShaGet /v5/repos/{owner}/{repo}/git/trees/{sha}获取目录Tree
IssuesApiDeleteV5ReposOwnerRepoIssuesCommentsIdDelete /v5/repos/{owner}/{repo}/issues/comments/{id}删除Issue某条评论
IssuesApiGetV5EnterprisesEnterpriseIssuesGet /v5/enterprises/{enterprise}/issues获取某个企业的所有Issues
IssuesApiGetV5EnterprisesEnterpriseIssuesNumberGet /v5/enterprises/{enterprise}/issues/{number}获取企业的某个Issue
IssuesApiGetV5EnterprisesEnterpriseIssuesNumberCommentsGet /v5/enterprises/{enterprise}/issues/{number}/comments获取企业某个Issue所有评论
IssuesApiGetV5EnterprisesEnterpriseIssuesNumberLabelsGet /v5/enterprises/{enterprise}/issues/{number}/labels获取企业某个Issue所有标签
IssuesApiGetV5IssuesGet /v5/issues获取当前授权用户的所有Issues
IssuesApiGetV5OrgsOrgIssuesGet /v5/orgs/{org}/issues获取当前用户某个组织的Issues
IssuesApiGetV5ReposOwnerIssuesNumberOperateLogsGet /v5/repos/{owner}/issues/{number}/operate_logs获取某个Issue下的操作日志
IssuesApiGetV5ReposOwnerRepoIssuesGet /v5/repos/{owner}/{repo}/issues仓库的所有Issues
IssuesApiGetV5ReposOwnerRepoIssuesCommentsGet /v5/repos/{owner}/{repo}/issues/comments获取仓库所有Issue的评论
IssuesApiGetV5ReposOwnerRepoIssuesCommentsIdGet /v5/repos/{owner}/{repo}/issues/comments/{id}获取仓库Issue某条评论
IssuesApiGetV5ReposOwnerRepoIssuesNumberGet /v5/repos/{owner}/{repo}/issues/{number}仓库的某个Issue
IssuesApiGetV5ReposOwnerRepoIssuesNumberCommentsGet /v5/repos/{owner}/{repo}/issues/{number}/comments获取仓库某个Issue所有的评论
IssuesApiGetV5UserIssuesGet /v5/user/issues获取授权用户的所有Issues
IssuesApiPatchV5ReposOwnerIssuesNumberPatch /v5/repos/{owner}/issues/{number}更新Issue
IssuesApiPatchV5ReposOwnerRepoIssuesCommentsIdPatch /v5/repos/{owner}/{repo}/issues/comments/{id}更新Issue某条评论
IssuesApiPostV5ReposOwnerIssuesPost /v5/repos/{owner}/issues创建Issue
IssuesApiPostV5ReposOwnerRepoIssuesNumberCommentsPost /v5/repos/{owner}/{repo}/issues/{number}/comments创建某个Issue评论
LabelsApiDeleteV5ReposOwnerRepoIssuesNumberLabelsDelete /v5/repos/{owner}/{repo}/issues/{number}/labels删除Issue所有标签
LabelsApiDeleteV5ReposOwnerRepoIssuesNumberLabelsNameDelete /v5/repos/{owner}/{repo}/issues/{number}/labels/{name}删除Issue标签
LabelsApiDeleteV5ReposOwnerRepoLabelsNameDelete /v5/repos/{owner}/{repo}/labels/{name}删除一个仓库任务标签
LabelsApiGetV5EnterprisesEnterpriseLabelsGet /v5/enterprises/{enterprise}/labels获取企业所有标签
LabelsApiGetV5EnterprisesEnterpriseLabelsNameGet /v5/enterprises/{enterprise}/labels/{name}获取企业某个标签
LabelsApiGetV5ReposOwnerRepoIssuesNumberLabelsGet /v5/repos/{owner}/{repo}/issues/{number}/labels获取仓库任务的所有标签
LabelsApiGetV5ReposOwnerRepoLabelsGet /v5/repos/{owner}/{repo}/labels获取仓库所有任务标签
LabelsApiGetV5ReposOwnerRepoLabelsNameGet /v5/repos/{owner}/{repo}/labels/{name}根据标签名称获取单个标签
LabelsApiPatchV5ReposOwnerRepoLabelsOriginalNamePatch /v5/repos/{owner}/{repo}/labels/{original_name}更新一个仓库任务标签
LabelsApiPostV5ReposOwnerRepoIssuesNumberLabelsPost /v5/repos/{owner}/{repo}/issues/{number}/labels创建Issue标签
LabelsApiPostV5ReposOwnerRepoLabelsPost /v5/repos/{owner}/{repo}/labels创建仓库任务标签
LabelsApiPutV5ReposOwnerRepoIssuesNumberLabelsPut /v5/repos/{owner}/{repo}/issues/{number}/labels替换Issue所有标签
MilestonesApiDeleteV5ReposOwnerRepoMilestonesNumberDelete /v5/repos/{owner}/{repo}/milestones/{number}删除仓库单个里程碑
MilestonesApiGetV5ReposOwnerRepoMilestonesGet /v5/repos/{owner}/{repo}/milestones获取仓库所有里程碑
MilestonesApiGetV5ReposOwnerRepoMilestonesNumberGet /v5/repos/{owner}/{repo}/milestones/{number}获取仓库单个里程碑
MilestonesApiPatchV5ReposOwnerRepoMilestonesNumberPatch /v5/repos/{owner}/{repo}/milestones/{number}更新仓库里程碑
MilestonesApiPostV5ReposOwnerRepoMilestonesPost /v5/repos/{owner}/{repo}/milestones创建仓库里程碑
MiscellaneousApiGetV5EmojisGet /v5/emojis列出可使用的 Emoji
MiscellaneousApiGetV5GitignoreTemplatesGet /v5/gitignore/templates列出可使用的 .gitignore 模板
MiscellaneousApiGetV5GitignoreTemplatesNameGet /v5/gitignore/templates/{name}获取一个 .gitignore 模板
MiscellaneousApiGetV5GitignoreTemplatesNameRawGet /v5/gitignore/templates/{name}/raw获取一个 .gitignore 模板原始文件
MiscellaneousApiGetV5LicensesGet /v5/licenses列出可使用的开源许可协议
MiscellaneousApiGetV5LicensesLicenseGet /v5/licenses/{license}获取一个开源许可协议
MiscellaneousApiGetV5LicensesLicenseRawGet /v5/licenses/{license}/raw获取一个开源许可协议原始文件
MiscellaneousApiGetV5ReposOwnerRepoLicenseGet /v5/repos/{owner}/{repo}/license获取一个仓库使用的开源许可协议
MiscellaneousApiPostV5MarkdownPost /v5/markdown渲染 Markdown 文本
OrganizationsApiDeleteV5OrgsOrgMembershipsUsernameDelete /v5/orgs/{org}/memberships/{username}移除授权用户所管理组织中的成员
OrganizationsApiDeleteV5UserMembershipsOrgsOrgDelete /v5/user/memberships/orgs/{org}退出一个组织
OrganizationsApiGetV5OrgsOrgGet /v5/orgs/{org}获取一个组织
OrganizationsApiGetV5OrgsOrgMembersGet /v5/orgs/{org}/members列出一个组织的所有成员
OrganizationsApiGetV5OrgsOrgMembershipsUsernameGet /v5/orgs/{org}/memberships/{username}获取授权用户所属组织的一个成员
OrganizationsApiGetV5UserMembershipsOrgsGet /v5/user/memberships/orgs列出授权用户在所属组织的成员资料
OrganizationsApiGetV5UserMembershipsOrgsOrgGet /v5/user/memberships/orgs/{org}获取授权用户在一个组织的成员资料
OrganizationsApiGetV5UserOrgsGet /v5/user/orgs列出授权用户所属的组织
OrganizationsApiGetV5UsersUsernameOrgsGet /v5/users/{username}/orgs列出用户所属的组织
OrganizationsApiPatchV5OrgsOrgPatch /v5/orgs/{org}更新授权用户所管理的组织资料
OrganizationsApiPatchV5UserMembershipsOrgsOrgPatch /v5/user/memberships/orgs/{org}更新授权用户在一个组织的成员资料
OrganizationsApiPostV5UsersOrganizationPost /v5/users/organization创建组织
OrganizationsApiPutV5OrgsOrgMembershipsUsernamePut /v5/orgs/{org}/memberships/{username}增加或更新授权用户所管理组织的成员
PullRequestsApiDeleteV5ReposOwnerRepoPullsCommentsIdDelete /v5/repos/{owner}/{repo}/pulls/comments/{id}删除评论
PullRequestsApiDeleteV5ReposOwnerRepoPullsLabelDelete /v5/repos/{owner}/{repo}/pulls/{number}/labels/{name}删除 Pull Request 标签
PullRequestsApiDeleteV5ReposOwnerRepoPullsNumberAssigneesDelete /v5/repos/{owner}/{repo}/pulls/{number}/assignees取消用户审查 Pull Request
PullRequestsApiDeleteV5ReposOwnerRepoPullsNumberTestersDelete /v5/repos/{owner}/{repo}/pulls/{number}/testers取消用户测试 Pull Request
PullRequestsApiGetV5ReposOwnerRepoPullsGet /v5/repos/{owner}/{repo}/pulls获取Pull Request列表
PullRequestsApiGetV5ReposOwnerRepoPullsCommentsGet /v5/repos/{owner}/{repo}/pulls/comments获取该仓库下的所有Pull Request评论
PullRequestsApiGetV5ReposOwnerRepoPullsCommentsIdGet /v5/repos/{owner}/{repo}/pulls/comments/{id}获取Pull Request的某个评论
PullRequestsApiGetV5ReposOwnerRepoPullsNumberGet /v5/repos/{owner}/{repo}/pulls/{number}获取单个Pull Request
PullRequestsApiGetV5ReposOwnerRepoPullsNumberCommentsGet /v5/repos/{owner}/{repo}/pulls/{number}/comments获取某个Pull Request的所有评论
PullRequestsApiGetV5ReposOwnerRepoPullsNumberCommitsGet /v5/repos/{owner}/{repo}/pulls/{number}/commits获取某Pull Request的所有Commit信息。最多显示250条Commit
PullRequestsApiGetV5ReposOwnerRepoPullsNumberFilesGet /v5/repos/{owner}/{repo}/pulls/{number}/filesPull Request Commit文件列表。最多显示300条diff
PullRequestsApiGetV5ReposOwnerRepoPullsNumberIssuesGet /v5/repos/{owner}/{repo}/pulls/{number}/issues获取 Pull Request 关联的 issues
PullRequestsApiGetV5ReposOwnerRepoPullsNumberLabelsGet /v5/repos/{owner}/{repo}/pulls/{number}/labels获取某个 Pull Request 的所有标签
PullRequestsApiGetV5ReposOwnerRepoPullsNumberMergeGet /v5/repos/{owner}/{repo}/pulls/{number}/merge判断Pull Request是否已经合并
PullRequestsApiGetV5ReposOwnerRepoPullsNumberOperateLogsGet /v5/repos/{owner}/{repo}/pulls/{number}/operate_logs获取某个Pull Request的操作日志
PullRequestsApiPatchV5ReposOwnerRepoPullsCommentsIdPatch /v5/repos/{owner}/{repo}/pulls/comments/{id}编辑评论
PullRequestsApiPatchV5ReposOwnerRepoPullsNumberPatch /v5/repos/{owner}/{repo}/pulls/{number}更新Pull Request信息
PullRequestsApiPostV5ReposOwnerRepoPullsPost /v5/repos/{owner}/{repo}/pulls创建Pull Request
PullRequestsApiPostV5ReposOwnerRepoPullsNumberAssigneesPost /v5/repos/{owner}/{repo}/pulls/{number}/assignees指派用户审查 Pull Request
PullRequestsApiPostV5ReposOwnerRepoPullsNumberCommentsPost /v5/repos/{owner}/{repo}/pulls/{number}/comments提交Pull Request评论
PullRequestsApiPostV5ReposOwnerRepoPullsNumberLabelsPost /v5/repos/{owner}/{repo}/pulls/{number}/labels创建 Pull Request 标签
PullRequestsApiPostV5ReposOwnerRepoPullsNumberTestersPost /v5/repos/{owner}/{repo}/pulls/{number}/testers指派用户测试 Pull Request
PullRequestsApiPutV5ReposOwnerRepoPullsNumberLabelsPut /v5/repos/{owner}/{repo}/pulls/{number}/labels替换Pull Request 所有标签
PullRequestsApiPutV5ReposOwnerRepoPullsNumberMergePut /v5/repos/{owner}/{repo}/pulls/{number}/merge合并Pull Request
RepositoriesApiDeleteV5ReposOwnerRepoDelete /v5/repos/{owner}/{repo}删除一个仓库
RepositoriesApiDeleteV5ReposOwnerRepoBranchesBranchProtectionDelete /v5/repos/{owner}/{repo}/branches/{branch}/protection取消保护分支的设置
RepositoriesApiDeleteV5ReposOwnerRepoCollaboratorsUsernameDelete /v5/repos/{owner}/{repo}/collaborators/{username}移除仓库成员
RepositoriesApiDeleteV5ReposOwnerRepoCommentsIdDelete /v5/repos/{owner}/{repo}/comments/{id}删除Commit评论
RepositoriesApiDeleteV5ReposOwnerRepoContentsPathDelete /v5/repos/{owner}/{repo}/contents/{path}删除文件
RepositoriesApiDeleteV5ReposOwnerRepoKeysEnableIdDelete /v5/repos/{owner}/{repo}/keys/enable/{id}停用仓库公钥
RepositoriesApiDeleteV5ReposOwnerRepoKeysIdDelete /v5/repos/{owner}/{repo}/keys/{id}删除一个仓库公钥
RepositoriesApiDeleteV5ReposOwnerRepoReleasesIdDelete /v5/repos/{owner}/{repo}/releases/{id}删除仓库Release
RepositoriesApiGetV5EnterprisesEnterpriseReposGet /v5/enterprises/{enterprise}/repos获取企业的所有仓库
RepositoriesApiGetV5OrgsOrgReposGet /v5/orgs/{org}/repos获取一个组织的仓库
RepositoriesApiGetV5ReposOwnerRepoGet /v5/repos/{owner}/{repo}获取用户的某个仓库
RepositoriesApiGetV5ReposOwnerRepoBranchesGet /v5/repos/{owner}/{repo}/branches获取所有分支
RepositoriesApiGetV5ReposOwnerRepoBranchesBranchGet /v5/repos/{owner}/{repo}/branches/{branch}获取单个分支
RepositoriesApiGetV5ReposOwnerRepoCollaboratorsGet /v5/repos/{owner}/{repo}/collaborators获取仓库的所有成员
RepositoriesApiGetV5ReposOwnerRepoCollaboratorsUsernameGet /v5/repos/{owner}/{repo}/collaborators/{username}判断用户是否为仓库成员
RepositoriesApiGetV5ReposOwnerRepoCollaboratorsUsernamePermissionGet /v5/repos/{owner}/{repo}/collaborators/{username}/permission查看仓库成员的权限
RepositoriesApiGetV5ReposOwnerRepoCommentsGet /v5/repos/{owner}/{repo}/comments获取仓库的Commit评论
RepositoriesApiGetV5ReposOwnerRepoCommentsIdGet /v5/repos/{owner}/{repo}/comments/{id}获取仓库的某条Commit评论
RepositoriesApiGetV5ReposOwnerRepoCommitsGet /v5/repos/{owner}/{repo}/commits仓库的所有提交
RepositoriesApiGetV5ReposOwnerRepoCommitsRefCommentsGet /v5/repos/{owner}/{repo}/commits/{ref}/comments获取单个Commit的评论
RepositoriesApiGetV5ReposOwnerRepoCommitsShaGet /v5/repos/{owner}/{repo}/commits/{sha}仓库的某个提交
RepositoriesApiGetV5ReposOwnerRepoCompareBaseHeadGet /v5/repos/{owner}/{repo}/compare/{base}...{head}两个Commits之间对比的版本差异
RepositoriesApiGetV5ReposOwnerRepoContentsPathGet /v5/repos/{owner}/{repo}/contents/{path}获取仓库具体路径下的内容
RepositoriesApiGetV5ReposOwnerRepoContributorsGet /v5/repos/{owner}/{repo}/contributors获取仓库贡献者
RepositoriesApiGetV5ReposOwnerRepoForksGet /v5/repos/{owner}/{repo}/forks查看仓库的Forks
RepositoriesApiGetV5ReposOwnerRepoKeysGet /v5/repos/{owner}/{repo}/keys获取仓库已部署的公钥
RepositoriesApiGetV5ReposOwnerRepoKeysAvailableGet /v5/repos/{owner}/{repo}/keys/available获取仓库可部署的公钥
RepositoriesApiGetV5ReposOwnerRepoKeysIdGet /v5/repos/{owner}/{repo}/keys/{id}获取仓库的单个公钥
RepositoriesApiGetV5ReposOwnerRepoPagesGet /v5/repos/{owner}/{repo}/pages获取Pages信息
RepositoriesApiGetV5ReposOwnerRepoReadmeGet /v5/repos/{owner}/{repo}/readme获取仓库README
RepositoriesApiGetV5ReposOwnerRepoReleasesGet /v5/repos/{owner}/{repo}/releases获取仓库的所有Releases
RepositoriesApiGetV5ReposOwnerRepoReleasesIdGet /v5/repos/{owner}/{repo}/releases/{id}获取仓库的单个Releases
RepositoriesApiGetV5ReposOwnerRepoReleasesLatestGet /v5/repos/{owner}/{repo}/releases/latest获取仓库的最后更新的Release
RepositoriesApiGetV5ReposOwnerRepoReleasesTagsTagGet /v5/repos/{owner}/{repo}/releases/tags/{tag}根据Tag名称获取仓库的Release
RepositoriesApiGetV5ReposOwnerRepoTagsGet /v5/repos/{owner}/{repo}/tags列出仓库所有的tags
RepositoriesApiGetV5UserReposGet /v5/user/repos列出授权用户的所有仓库
RepositoriesApiGetV5UsersUsernameReposGet /v5/users/{username}/repos获取某个用户的公开仓库
RepositoriesApiPatchV5ReposOwnerRepoPatch /v5/repos/{owner}/{repo}更新仓库设置
RepositoriesApiPatchV5ReposOwnerRepoCommentsIdPatch /v5/repos/{owner}/{repo}/comments/{id}更新Commit评论
RepositoriesApiPatchV5ReposOwnerRepoReleasesIdPatch /v5/repos/{owner}/{repo}/releases/{id}更新仓库Release
RepositoriesApiPostV5EnterprisesEnterpriseReposPost /v5/enterprises/{enterprise}/repos创建企业仓库
RepositoriesApiPostV5OrgsOrgReposPost /v5/orgs/{org}/repos创建组织仓库
RepositoriesApiPostV5ReposOwnerRepoBranchesPost /v5/repos/{owner}/{repo}/branches创建分支
RepositoriesApiPostV5ReposOwnerRepoCommitsShaCommentsPost /v5/repos/{owner}/{repo}/commits/{sha}/comments创建Commit评论
RepositoriesApiPostV5ReposOwnerRepoContentsPathPost /v5/repos/{owner}/{repo}/contents/{path}新建文件
RepositoriesApiPostV5ReposOwnerRepoForksPost /v5/repos/{owner}/{repo}/forksFork一个仓库
RepositoriesApiPostV5ReposOwnerRepoKeysPost /v5/repos/{owner}/{repo}/keys为仓库添加公钥
RepositoriesApiPostV5ReposOwnerRepoPagesBuildsPost /v5/repos/{owner}/{repo}/pages/builds请求建立Pages
RepositoriesApiPostV5ReposOwnerRepoReleasesPost /v5/repos/{owner}/{repo}/releases创建仓库Release
RepositoriesApiPostV5UserReposPost /v5/user/repos创建一个仓库
RepositoriesApiPutV5ReposOwnerRepoBranchesBranchProtectionPut /v5/repos/{owner}/{repo}/branches/{branch}/protection设置分支保护
RepositoriesApiPutV5ReposOwnerRepoClearPut /v5/repos/{owner}/{repo}/clear清空一个仓库
RepositoriesApiPutV5ReposOwnerRepoCollaboratorsUsernamePut /v5/repos/{owner}/{repo}/collaborators/{username}添加仓库成员
RepositoriesApiPutV5ReposOwnerRepoContentsPathPut /v5/repos/{owner}/{repo}/contents/{path}更新文件
RepositoriesApiPutV5ReposOwnerRepoKeysEnableIdPut /v5/repos/{owner}/{repo}/keys/enable/{id}启用仓库公钥
RepositoriesApiPutV5ReposOwnerRepoReviewerPut /v5/repos/{owner}/{repo}/reviewer修改代码审查设置
SearchApiGetV5SearchGistsGet /v5/search/gists搜索代码片段
SearchApiGetV5SearchIssuesGet /v5/search/issues搜索 Issues
SearchApiGetV5SearchRepositoriesGet /v5/search/repositories搜索仓库
SearchApiGetV5SearchUsersGet /v5/search/users搜索用户
UsersApiDeleteV5UserFollowingUsernameDelete /v5/user/following/{username}取消关注一个用户
UsersApiDeleteV5UserKeysIdDelete /v5/user/keys/{id}删除一个公钥
UsersApiGetV5UserGet /v5/user获取授权用户的资料
UsersApiGetV5UserFollowersGet /v5/user/followers列出授权用户的关注者
UsersApiGetV5UserFollowingGet /v5/user/following列出授权用户正关注的用户
UsersApiGetV5UserFollowingUsernameGet /v5/user/following/{username}检查授权用户是否关注了一个用户
UsersApiGetV5UserKeysGet /v5/user/keys列出授权用户的所有公钥
UsersApiGetV5UserKeysIdGet /v5/user/keys/{id}获取一个公钥
UsersApiGetV5UserNamespaceGet /v5/user/namespace获取授权用户的一个 Namespace
UsersApiGetV5UserNamespacesGet /v5/user/namespaces列出授权用户所有的 Namespace
UsersApiGetV5UsersUsernameGet /v5/users/{username}获取一个用户
UsersApiGetV5UsersUsernameFollowersGet /v5/users/{username}/followers列出指定用户的关注者
UsersApiGetV5UsersUsernameFollowingGet /v5/users/{username}/following列出指定用户正在关注的用户
UsersApiGetV5UsersUsernameFollowingTargetUserGet /v5/users/{username}/following/{target_user}检查指定用户是否关注目标用户
UsersApiGetV5UsersUsernameKeysGet /v5/users/{username}/keys列出指定用户的所有公钥
UsersApiPatchV5UserPatch /v5/user更新授权用户的资料
UsersApiPostV5UserKeysPost /v5/user/keys添加一个公钥
UsersApiPutV5UserFollowingUsernamePut /v5/user/following/{username}关注一个用户
WebhooksApiDeleteV5ReposOwnerRepoHooksIdDelete /v5/repos/{owner}/{repo}/hooks/{id}删除一个仓库WebHook
WebhooksApiGetV5ReposOwnerRepoHooksGet /v5/repos/{owner}/{repo}/hooks列出仓库的WebHooks
WebhooksApiGetV5ReposOwnerRepoHooksIdGet /v5/repos/{owner}/{repo}/hooks/{id}获取仓库单个WebHook
WebhooksApiPatchV5ReposOwnerRepoHooksIdPatch /v5/repos/{owner}/{repo}/hooks/{id}更新一个仓库WebHook
WebhooksApiPostV5ReposOwnerRepoHooksPost /v5/repos/{owner}/{repo}/hooks创建一个仓库WebHook
WebhooksApiPostV5ReposOwnerRepoHooksIdTestsPost /v5/repos/{owner}/{repo}/hooks/{id}/tests测试WebHook是否发送成功

Documentation For Models

License

See the LICENSE file for details.

# Packages

No description provided by the author
No description provided by the author