私信发送成功
Watch Star Fork

还是相信爱过 / gitee-clientJava

Gitee Java Api
克隆/下载
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
2017-11-14 16:15
2017-11-15 14:45
2017-11-14 16:15
2017-11-15 16:32
2017-11-14 16:08
2017-11-14 16:08
2017-11-14 16:08
Loading...
README.md 36.24 KB

gitee-api

安装

安装到仓库:

sh mvnw install

发布到私有仓库:

mvn deploy

Maven users

pom 引用jar包:

<dependency>
    <groupId>com.gitee</groupId>
    <artifactId>gitee-api</artifactId>
    <version>1.0.0</version>
    <scope>compile</scope>
</dependency>

Gradle users

Add this dependency to your project's build file:

compile "com.gitee:gitee-api:1.0.0"

Getting Started

import com.gitee.api.*;
import com.gitee.api.ApiClient;
import com.gitee.api.auth.*;
import com.gitee.api.model.*;
import rx.Observable;
import com.gitee.api.api.AuthApi;

import java.io.File;
import java.util.*;

public class AuthApiExample {

    public static void main(String[] args) {
        AuthApi api = new ApiClient().createService(AuthApi.class);
        Observable<OAuth2AccessToken> token = api.getToken("邮箱",
                "密码",
                "重定向网站",
                "clientId",
                "clientSecret",
                "password",
                "projects user_info issues notes");

        token.subscribe(new Observer<OAuth2AccessToken>() {
            @Override
            public void onCompleted() {

            }

            @Override
            public void onError(Throwable throwable) {
                System.err.println(throwable.getMessage());
            }

            @Override
            public void onNext(OAuth2AccessToken oAuth2AccessToken) {
                System.err.println(oAuth2AccessToken);
            }
        });
    }
}

Api 文档

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

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 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 一个项目
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 getV5Issues GET v5/issues 获取当前授权用户的所有Issue
IssuesApi getV5OrgsOrgIssues GET v5/orgs/{org}/issues 获取当前用户某个组织的Issues
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 patchV5ReposOwnerRepoIssuesCommentsId PATCH v5/repos/{owner}/{repo}/issues/comments/{id} 更新Issue某条评论
IssuesApi patchV5ReposOwnerRepoIssuesNumber PATCH v5/repos/{owner}/{repo}/issues/{number} 更新Issue
IssuesApi postV5ReposOwnerRepoIssues POST v5/repos/{owner}/{repo}/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 getV5ReposOwnerRepoIssuesNumberLabels GET v5/repos/{owner}/{repo}/issues/{number}/labels 获取项目Issue的所有标签
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 putV5OrgsOrgMembershipsUsername PUT v5/orgs/{org}/memberships/{username} 增加或更新授权用户所管理组织的成员
PullRequestsApi deleteV5ReposOwnerRepoPullsCommentsId DELETE v5/repos/{owner}/{repo}/pulls/comments/{id} 删除评论
PullRequestsApi deleteV5ReposOwnerRepoPullsNumberRequestedReviewers DELETE v5/repos/{owner}/{repo}/pulls/{number}/requested_reviewers 移除审查人员
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 getV5ReposOwnerRepoPullsNumberMerge GET v5/repos/{owner}/{repo}/pulls/{number}/merge 判断Pull Request是否已经合并
PullRequestsApi getV5ReposOwnerRepoPullsNumberRequestedReviewers GET v5/repos/{owner}/{repo}/pulls/{number}/requested_reviewers 获取审查人员的列表
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 postV5ReposOwnerRepoPullsNumberComments POST v5/repos/{owner}/{repo}/pulls/{number}/comments 提交Pull Request评论
PullRequestsApi postV5ReposOwnerRepoPullsNumberRequestedReviewers POST v5/repos/{owner}/{repo}/pulls/{number}/requested_reviewers 增加审查人员
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 deleteV5ReposOwnerRepoKeysId DELETE v5/repos/{owner}/{repo}/keys/{id} 删除一个项目公钥
RepositoriesApi deleteV5ReposOwnerRepoReleasesId DELETE v5/repos/{owner}/{repo}/releases/{id} 删除项目Release
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 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 postV5OrgsOrgRepos POST v5/orgs/{org}/repos 创建组织项目
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 putV5ReposOwnerRepoCollaboratorsUsername PUT v5/repos/{owner}/{repo}/collaborators/{username} 添加项目成员
RepositoriesApi putV5ReposOwnerRepoContentsPath PUT v5/repos/{owner}/{repo}/contents/{path} 更新文件
UsersApi deleteV5UserFollowingUsername DELETE v5/user/following/{username} 取消关注一个用户
UsersApi deleteV5UserKeysId DELETE v5/user/keys/{id} 删除一个公钥
UsersApi deleteV5UserUnconfirmedEmail DELETE v5/user/unconfirmed_email 删除授权用户未激活的邮箱地址
UsersApi getV5User GET v5/user 获取授权用户的资料
UsersApi getV5UserAddress GET v5/user/address 获取授权用户的地理信息
UsersApi getV5UserEmails GET v5/user/emails 获取授权用户的邮箱地址
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 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 patchV5UserAddress PATCH v5/user/address 更新授权用户的地理信息
UsersApi postV5UserEmails POST v5/user/emails 添加授权用户的新邮箱地址
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

项目点评 (10)

你可以在登录后,对此项目发表评论

3_float_left_people 3_float_left_close