Package: pygitee
giteepygitee 是封装了gitee的OpenAPI的python库.Requirements.Python 3.4+Installation & Usagepip installpipinstallpygiteeThen import the package:importgiteeSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importgiteeGetting StartedPlease follow theinstallation procedureand then run the following:from__future__importprint_functionimporttimeimportgiteefromgitee.restimportApiExceptionfrompprintimportpprint# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))owner='owner_example'# str | 仓库所属空间地址(企业、组织或个人的地址path)repo='repo_example'# str | 仓库路径(path)access_token='access_token_example'# str | 用户授权码 (optional)try:# 取消 star 一个仓库api_instance.delete_v5_user_starred_owner_repo(owner,repo,access_token=access_token)exceptApiExceptionase:print("Exception when calling ActivityApi->delete_v5_user_starred_owner_repo:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))owner='owner_example'# str | 仓库所属空间地址(企业、组织或个人的地址path)repo='repo_example'# str | 仓库路径(path)access_token='access_token_example'# str | 用户授权码 (optional)try:# 取消 watch 一个仓库api_instance.delete_v5_user_subscriptions_owner_repo(owner,repo,access_token=access_token)exceptApiExceptionase:print("Exception when calling ActivityApi->delete_v5_user_subscriptions_owner_repo:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))owner='owner_example'# str | 仓库所属空间地址(企业、组织或个人的地址path)repo='repo_example'# str | 仓库路径(path)access_token='access_token_example'# str | 用户授权码 (optional)page=1# int | 当前的页码 (optional) (default to 1)per_page=20# int | 每页的数量，最大为 100 (optional) (default to 20)try:# 列出仓库的所有公开动态api_response=api_instance.get_v5_networks_owner_repo_events(owner,repo,access_token=access_token,page=page,per_page=per_page)pprint(api_response)exceptApiExceptionase:print("Exception when calling ActivityApi->get_v5_networks_owner_repo_events:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))access_token='access_token_example'# str | 用户授权码 (optional)unread=true# bool | 是否只获取未读消息，默认：否 (optional)try:# 获取授权用户的通知数api_response=api_instance.get_v5_notifications_count(access_token=access_token,unread=unread)pprint(api_response)exceptApiExceptionase:print("Exception when calling ActivityApi->get_v5_notifications_count:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))access_token='access_token_example'# str | 用户授权码 (optional)unread=true# bool | 是否只显示未读私信，默认：否 (optional)since='since_example'# str | 只获取在给定时间后更新的私信，要求时间格式为 ISO 8601 (optional)before='before_example'# str | 只获取在给定时间前更新的私信，要求时间格式为 ISO 8601 (optional)ids='ids_example'# str | 指定一组私信 ID，以 , 分隔 (optional)page=1# int | 当前的页码 (optional) (default to 1)per_page=20# int | 每页的数量，最大为 100 (optional) (default to 20)try:# 列出授权用户的所有私信api_response=api_instance.get_v5_notifications_messages(access_token=access_token,unread=unread,since=since,before=before,ids=ids,page=page,per_page=per_page)pprint(api_response)exceptApiExceptionase:print("Exception when calling ActivityApi->get_v5_notifications_messages:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))id='id_example'# str | 私信的 IDaccess_token='access_token_example'# str | 用户授权码 (optional)try:# 获取一条私信api_response=api_instance.get_v5_notifications_messages_id(id,access_token=access_token)pprint(api_response)exceptApiExceptionase:print("Exception when calling ActivityApi->get_v5_notifications_messages_id:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))access_token='access_token_example'# str | 用户授权码 (optional)unread=true# bool | 是否只获取未读消息，默认：否 (optional)participating=true# bool | 是否只获取自己直接参与的消息，默认：否 (optional)type='all'# str | 筛选指定类型的通知，all：所有，event：事件通知，referer：@ 通知 (optional) (default to all)since='since_example'# str | 只获取在给定时间后更新的消息，要求时间格式为 ISO 8601 (optional)before='before_example'# str | 只获取在给定时间前更新的消息，要求时间格式为 ISO 8601 (optional)ids='ids_example'# str | 指定一组通知 ID，以 , 分隔 (optional)page=1# int | 当前的页码 (optional) (default to 1)per_page=20# int | 每页的数量，最大为 100 (optional) (default to 20)try:# 列出授权用户的所有通知api_response=api_instance.get_v5_notifications_threads(access_token=access_token,unread=unread,participating=participating,type=type,since=since,before=before,ids=ids,page=page,per_page=per_page)pprint(api_response)exceptApiExceptionase:print("Exception when calling ActivityApi->get_v5_notifications_threads:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))id='id_example'# str | 通知的 IDaccess_token='access_token_example'# str | 用户授权码 (optional)try:# 获取一条通知api_response=api_instance.get_v5_notifications_threads_id(id,access_token=access_token)pprint(api_response)exceptApiExceptionase:print("Exception when calling ActivityApi->get_v5_notifications_threads_id:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))org='org_example'# str | 组织的路径(path/login)access_token='access_token_example'# str | 用户授权码 (optional)page=1# int | 当前的页码 (optional) (default to 1)per_page=20# int | 每页的数量，最大为 100 (optional) (default to 20)try:# 列出组织的公开动态api_response=api_instance.get_v5_orgs_org_events(org,access_token=access_token,page=page,per_page=per_page)pprint(api_response)exceptApiExceptionase:print("Exception when calling ActivityApi->get_v5_orgs_org_events:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))owner='owner_example'# str | 仓库所属空间地址(企业、组织或个人的地址path)repo='repo_example'# str | 仓库路径(path)access_token='access_token_example'# str | 用户授权码 (optional)page=1# int | 当前的页码 (optional) (default to 1)per_page=20# int | 每页的数量，最大为 100 (optional) (default to 20)try:# 列出仓库的所有动态api_response=api_instance.get_v5_repos_owner_repo_events(owner,repo,access_token=access_token,page=page,per_page=per_page)pprint(api_response)exceptApiExceptionase:print("Exception when calling ActivityApi->get_v5_repos_owner_repo_events:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))owner='owner_example'# str | 仓库所属空间地址(企业、组织或个人的地址path)repo='repo_example'# str | 仓库路径(path)access_token='access_token_example'# str | 用户授权码 (optional)unread=true# bool | 是否只获取未读消息，默认：否 (optional)participating=true# bool | 是否只获取自己直接参与的消息，默认：否 (optional)type='all'# str | 筛选指定类型的通知，all：所有，event：事件通知，referer：@ 通知 (optional) (default to all)since='since_example'# str | 只获取在给定时间后更新的消息，要求时间格式为 ISO 8601 (optional)before='before_example'# str | 只获取在给定时间前更新的消息，要求时间格式为 ISO 8601 (optional)ids='ids_example'# str | 指定一组通知 ID，以 , 分隔 (optional)page=1# int | 当前的页码 (optional) (default to 1)per_page=20# int | 每页的数量，最大为 100 (optional) (default to 20)try:# 列出一个仓库里的通知api_response=api_instance.get_v5_repos_owner_repo_notifications(owner,repo,access_token=access_token,unread=unread,participating=participating,type=type,since=since,before=before,ids=ids,page=page,per_page=per_page)pprint(api_response)exceptApiExceptionase:print("Exception when calling ActivityApi->get_v5_repos_owner_repo_notifications:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))owner='owner_example'# str | 仓库所属空间地址(企业、组织或个人的地址path)repo='repo_example'# str | 仓库路径(path)access_token='access_token_example'# str | 用户授权码 (optional)page=1# int | 当前的页码 (optional) (default to 1)per_page=20# int | 每页的数量，最大为 100 (optional) (default to 20)try:# 列出 star 了仓库的用户api_response=api_instance.get_v5_repos_owner_repo_stargazers(owner,repo,access_token=access_token,page=page,per_page=per_page)pprint(api_response)exceptApiExceptionase:print("Exception when calling ActivityApi->get_v5_repos_owner_repo_stargazers:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))owner='owner_example'# str | 仓库所属空间地址(企业、组织或个人的地址path)repo='repo_example'# str | 仓库路径(path)access_token='access_token_example'# str | 用户授权码 (optional)page=1# int | 当前的页码 (optional) (default to 1)per_page=20# int | 每页的数量，最大为 100 (optional) (default to 20)try:# 列出 watch 了仓库的用户api_response=api_instance.get_v5_repos_owner_repo_subscribers(owner,repo,access_token=access_token,page=page,per_page=per_page)pprint(api_response)exceptApiExceptionase:print("Exception when calling ActivityApi->get_v5_repos_owner_repo_subscribers:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))access_token='access_token_example'# str | 用户授权码 (optional)sort='created'# str | 根据仓库创建时间(created)或最后推送时间(updated)进行排序，默认：创建时间 (optional) (default to created)direction='desc'# str | 按递增(asc)或递减(desc)排序，默认：递减 (optional) (default to desc)page=1# int | 当前的页码 (optional) (default to 1)per_page=20# int | 每页的数量，最大为 100 (optional) (default to 20)try:# 列出授权用户 star 了的仓库api_response=api_instance.get_v5_user_starred(access_token=access_token,sort=sort,direction=direction,page=page,per_page=per_page)pprint(api_response)exceptApiExceptionase:print("Exception when calling ActivityApi->get_v5_user_starred:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))owner='owner_example'# str | 仓库所属空间地址(企业、组织或个人的地址path)repo='repo_example'# str | 仓库路径(path)access_token='access_token_example'# str | 用户授权码 (optional)try:# 检查授权用户是否 star 了一个仓库api_instance.get_v5_user_starred_owner_repo(owner,repo,access_token=access_token)exceptApiExceptionase:print("Exception when calling ActivityApi->get_v5_user_starred_owner_repo:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))access_token='access_token_example'# str | 用户授权码 (optional)sort='created'# str | 根据仓库创建时间(created)或最后推送时间(updated)进行排序，默认：创建时间 (optional) (default to created)direction='desc'# str | 按递增(asc)或递减(desc)排序，默认：递减 (optional) (default to desc)page=1# int | 当前的页码 (optional) (default to 1)per_page=20# int | 每页的数量，最大为 100 (optional) (default to 20)try:# 列出授权用户 watch 了的仓库api_response=api_instance.get_v5_user_subscriptions(access_token=access_token,sort=sort,direction=direction,page=page,per_page=per_page)pprint(api_response)exceptApiExceptionase:print("Exception when calling ActivityApi->get_v5_user_subscriptions:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))owner='owner_example'# str | 仓库所属空间地址(企业、组织或个人的地址path)repo='repo_example'# str | 仓库路径(path)access_token='access_token_example'# str | 用户授权码 (optional)try:# 检查授权用户是否 watch 了一个仓库api_instance.get_v5_user_subscriptions_owner_repo(owner,repo,access_token=access_token)exceptApiExceptionase:print("Exception when calling ActivityApi->get_v5_user_subscriptions_owner_repo:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))username='username_example'# str | 用户名(username/login)access_token='access_token_example'# str | 用户授权码 (optional)page=1# int | 当前的页码 (optional) (default to 1)per_page=20# int | 每页的数量，最大为 100 (optional) (default to 20)try:# 列出用户的动态api_response=api_instance.get_v5_users_username_events(username,access_token=access_token,page=page,per_page=per_page)pprint(api_response)exceptApiExceptionase:print("Exception when calling ActivityApi->get_v5_users_username_events:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))username='username_example'# str | 用户名(username/login)org='org_example'# str | 组织的路径(path/login)access_token='access_token_example'# str | 用户授权码 (optional)page=1# int | 当前的页码 (optional) (default to 1)per_page=20# int | 每页的数量，最大为 100 (optional) (default to 20)try:# 列出用户所属组织的动态api_response=api_instance.get_v5_users_username_events_orgs_org(username,org,access_token=access_token,page=page,per_page=per_page)pprint(api_response)exceptApiExceptionase:print("Exception when calling ActivityApi->get_v5_users_username_events_orgs_org:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))username='username_example'# str | 用户名(username/login)access_token='access_token_example'# str | 用户授权码 (optional)page=1# int | 当前的页码 (optional) (default to 1)per_page=20# int | 每页的数量，最大为 100 (optional) (default to 20)try:# 列出用户的公开动态api_response=api_instance.get_v5_users_username_events_public(username,access_token=access_token,page=page,per_page=per_page)pprint(api_response)exceptApiExceptionase:print("Exception when calling ActivityApi->get_v5_users_username_events_public:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))username='username_example'# str | 用户名(username/login)access_token='access_token_example'# str | 用户授权码 (optional)page=1# int | 当前的页码 (optional) (default to 1)per_page=20# int | 每页的数量，最大为 100 (optional) (default to 20)try:# 列出一个用户收到的动态api_response=api_instance.get_v5_users_username_received_events(username,access_token=access_token,page=page,per_page=per_page)pprint(api_response)exceptApiExceptionase:print("Exception when calling ActivityApi->get_v5_users_username_received_events:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))username='username_example'# str | 用户名(username/login)access_token='access_token_example'# str | 用户授权码 (optional)page=1# int | 当前的页码 (optional) (default to 1)per_page=20# int | 每页的数量，最大为 100 (optional) (default to 20)try:# 列出一个用户收到的公开动态api_response=api_instance.get_v5_users_username_received_events_public(username,access_token=access_token,page=page,per_page=per_page)pprint(api_response)exceptApiExceptionase:print("Exception when calling ActivityApi->get_v5_users_username_received_events_public:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))username='username_example'# str | 用户名(username/login)access_token='access_token_example'# str | 用户授权码 (optional)page=1# int | 当前的页码 (optional) (default to 1)per_page=20# int | 每页的数量，最大为 100 (optional) (default to 20)sort='created'# str | 根据仓库创建时间(created)或最后推送时间(updated)进行排序，默认：创建时间 (optional) (default to created)direction='desc'# str | 按递增(asc)或递减(desc)排序，默认：递减 (optional) (default to desc)try:# 列出用户 star 了的仓库api_response=api_instance.get_v5_users_username_starred(username,access_token=access_token,page=page,per_page=per_page,sort=sort,direction=direction)pprint(api_response)exceptApiExceptionase:print("Exception when calling ActivityApi->get_v5_users_username_starred:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))username='username_example'# str | 用户名(username/login)access_token='access_token_example'# str | 用户授权码 (optional)page=1# int | 当前的页码 (optional) (default to 1)per_page=20# int | 每页的数量，最大为 100 (optional) (default to 20)sort='created'# str | 根据仓库创建时间(created)或最后推送时间(updated)进行排序，默认：创建时间 (optional) (default to created)direction='desc'# str | 按递增(asc)或递减(desc)排序，默认：递减 (optional) (default to desc)try:# 列出用户 watch 了的仓库api_response=api_instance.get_v5_users_username_subscriptions(username,access_token=access_token,page=page,per_page=per_page,sort=sort,direction=direction)pprint(api_response)exceptApiExceptionase:print("Exception when calling ActivityApi->get_v5_users_username_subscriptions:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))id='id_example'# str | 私信的 IDaccess_token='access_token_example'# str |  (optional)try:# 标记一条私信为已读api_instance.patch_v5_notifications_messages_id(id,access_token=access_token)exceptApiExceptionase:print("Exception when calling ActivityApi->patch_v5_notifications_messages_id:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))id='id_example'# str | 通知的 IDaccess_token='access_token_example'# str |  (optional)try:# 标记一条通知为已读api_instance.patch_v5_notifications_threads_id(id,access_token=access_token)exceptApiExceptionase:print("Exception when calling ActivityApi->patch_v5_notifications_threads_id:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))body=gitee.Body71()# Body71 |try:# 发送私信给指定用户api_response=api_instance.post_v5_notifications_messages(body)pprint(api_response)exceptApiExceptionase:print("Exception when calling ActivityApi->post_v5_notifications_messages:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))body=gitee.Body70()# Body70 |  (optional)try:# 标记所有私信为已读api_instance.put_v5_notifications_messages(body=body)exceptApiExceptionase:print("Exception when calling ActivityApi->put_v5_notifications_messages:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))body=gitee.Body68()# Body68 |  (optional)try:# 标记所有通知为已读api_instance.put_v5_notifications_threads(body=body)exceptApiExceptionase:print("Exception when calling ActivityApi->put_v5_notifications_threads:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))owner='owner_example'# str | 仓库所属空间地址(企业、组织或个人的地址path)repo='repo_example'# str | 仓库路径(path)body=gitee.Body43()# Body43 |  (optional)try:# 标记一个仓库里的通知为已读api_instance.put_v5_repos_owner_repo_notifications(owner,repo,body=body)exceptApiExceptionase:print("Exception when calling ActivityApi->put_v5_repos_owner_repo_notifications:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))owner='owner_example'# str | 仓库所属空间地址(企业、组织或个人的地址path)repo='repo_example'# str | 仓库路径(path)body=gitee.Body49()# Body49 |  (optional)try:# star 一个仓库api_instance.put_v5_user_starred_owner_repo(owner,repo,body=body)exceptApiExceptionase:print("Exception when calling ActivityApi->put_v5_user_starred_owner_repo:%s\n"%e)# create an instance of the API classapi_instance=gitee.ActivityApi(gitee.ApiClient(configuration))body=gitee.Body50()# Body50 |owner='owner_example'# str | 仓库所属空间地址(企业、组织或个人的地址path)repo='repo_example'# str | 仓库路径(path)try:# watch 一个仓库api_instance.put_v5_user_subscriptions_owner_repo(body,owner,repo)exceptApiExceptionase:print("Exception when calling ActivityApi->put_v5_user_subscriptions_owner_repo:%s\n"%e)Documentation for API EndpointsAll URIs are relative to//https://gitee.com/apiClassMethodHTTP requestDescriptionActivityApidelete_v5_user_starred_owner_repoDELETE/v5/user/starred/{owner}/{repo}取消 star 一个仓库ActivityApidelete_v5_user_subscriptions_owner_repoDELETE/v5/user/subscriptions/{owner}/{repo}取消 watch 一个仓库ActivityApiget_v5_networks_owner_repo_eventsGET/v5/networks/{owner}/{repo}/events列出仓库的所有公开动态ActivityApiget_v5_notifications_countGET/v5/notifications/count获取授权用户的通知数ActivityApiget_v5_notifications_messagesGET/v5/notifications/messages列出授权用户的所有私信ActivityApiget_v5_notifications_messages_idGET/v5/notifications/messages/{id}获取一条私信ActivityApiget_v5_notifications_threadsGET/v5/notifications/threads列出授权用户的所有通知ActivityApiget_v5_notifications_threads_idGET/v5/notifications/threads/{id}获取一条通知ActivityApiget_v5_orgs_org_eventsGET/v5/orgs/{org}/events列出组织的公开动态ActivityApiget_v5_repos_owner_repo_eventsGET/v5/repos/{owner}/{repo}/events列出仓库的所有动态ActivityApiget_v5_repos_owner_repo_notificationsGET/v5/repos/{owner}/{repo}/notifications列出一个仓库里的通知ActivityApiget_v5_repos_owner_repo_stargazersGET/v5/repos/{owner}/{repo}/stargazers列出 star 了仓库的用户ActivityApiget_v5_repos_owner_repo_subscribersGET/v5/repos/{owner}/{repo}/subscribers列出 watch 了仓库的用户ActivityApiget_v5_user_starredGET/v5/user/starred列出授权用户 star 了的仓库ActivityApiget_v5_user_starred_owner_repoGET/v5/user/starred/{owner}/{repo}检查授权用户是否 star 了一个仓库ActivityApiget_v5_user_subscriptionsGET/v5/user/subscriptions列出授权用户 watch 了的仓库ActivityApiget_v5_user_subscriptions_owner_repoGET/v5/user/subscriptions/{owner}/{repo}检查授权用户是否 watch 了一个仓库ActivityApiget_v5_users_username_eventsGET/v5/users/{username}/events列出用户的动态ActivityApiget_v5_users_username_events_orgs_orgGET/v5/users/{username}/events/orgs/{org}列出用户所属组织的动态ActivityApiget_v5_users_username_events_publicGET/v5/users/{username}/events/public列出用户的公开动态ActivityApiget_v5_users_username_received_eventsGET/v5/users/{username}/received_events列出一个用户收到的动态ActivityApiget_v5_users_username_received_events_publicGET/v5/users/{username}/received_events/public列出一个用户收到的公开动态ActivityApiget_v5_users_username_starredGET/v5/users/{username}/starred列出用户 star 了的仓库ActivityApiget_v5_users_username_subscriptionsGET/v5/users/{username}/subscriptions列出用户 watch 了的仓库ActivityApipatch_v5_notifications_messages_idPATCH/v5/notifications/messages/{id}标记一条私信为已读ActivityApipatch_v5_notifications_threads_idPATCH/v5/notifications/threads/{id}标记一条通知为已读ActivityApipost_v5_notifications_messagesPOST/v5/notifications/messages发送私信给指定用户ActivityApiput_v5_notifications_messagesPUT/v5/notifications/messages标记所有私信为已读ActivityApiput_v5_notifications_threadsPUT/v5/notifications/threads标记所有通知为已读ActivityApiput_v5_repos_owner_repo_notificationsPUT/v5/repos/{owner}/{repo}/notifications标记一个仓库里的通知为已读ActivityApiput_v5_user_starred_owner_repoPUT/v5/user/starred/{owner}/{repo}star 一个仓库ActivityApiput_v5_user_subscriptions_owner_repoPUT/v5/user/subscriptions/{owner}/{repo}watch 一个仓库EmailsApiget_v5_emailsGET/v5/emails获取授权用户的全部邮箱EnterprisesApidelete_v5_enterprises_enterprise_members_usernameDELETE/v5/enterprises/{enterprise}/members/{username}移除企业成员EnterprisesApidelete_v5_enterprises_enterprise_week_reports_report_id_comments_idDELETE/v5/enterprises/{enterprise}/week_reports/{report_id}/comments/{id}删除周报某个评论EnterprisesApiget_v5_enterprise_enterprise_pull_requestsGET/v5/enterprise/{enterprise}/pull_requests企业Pull Reuqest 列表EnterprisesApiget_v5_enterprises_enterpriseGET/v5/enterprises/{enterprise}获取一个企业EnterprisesApiget_v5_enterprises_enterprise_membersGET/v5/enterprises/{enterprise}/members列出企业的所有成员EnterprisesApiget_v5_enterprises_enterprise_members_usernameGET/v5/enterprises/{enterprise}/members/{username}获取企业的一个成员EnterprisesApiget_v5_enterprises_enterprise_users_username_week_reportsGET/v5/enterprises/{enterprise}/users/{username}/week_reports个人周报列表EnterprisesApiget_v5_enterprises_enterprise_week_reportsGET/v5/enterprises/{enterprise}/week_reports企业成员周报列表EnterprisesApiget_v5_enterprises_enterprise_week_reports_idGET/v5/enterprises/{enterprise}/week_reports/{id}周报详情EnterprisesApiget_v5_enterprises_enterprise_week_reports_id_commentsGET/v5/enterprises/{enterprise}/week_reports/{id}/comments某个周报评论列表EnterprisesApiget_v5_user_enterprisesGET/v5/user/enterprises列出授权用户所属的企业EnterprisesApipatch_v5_enterprises_enterprise_week_report_idPATCH/v5/enterprises/{enterprise}/week_report/{id}编辑周报EnterprisesApipost_v5_enterprises_enterprise_membersPOST/v5/enterprises/{enterprise}/members添加或邀请企业成员EnterprisesApipost_v5_enterprises_enterprise_week_reportPOST/v5/enterprises/{enterprise}/week_report新建周报EnterprisesApipost_v5_enterprises_enterprise_week_reports_id_commentPOST/v5/enterprises/{enterprise}/week_reports/{id}/comment评论周报EnterprisesApiput_v5_enterprises_enterprise_members_usernamePUT/v5/enterprises/{enterprise}/members/{username}修改企业成员权限或备注GistsApidelete_v5_gists_gist_id_comments_idDELETE/v5/gists/{gist_id}/comments/{id}删除代码片段的评论GistsApidelete_v5_gists_idDELETE/v5/gists/{id}删除指定代码片段GistsApidelete_v5_gists_id_starDELETE/v5/gists/{id}/star取消Star代码片段GistsApiget_v5_gistsGET/v5/gists获取代码片段GistsApiget_v5_gists_gist_id_commentsGET/v5/gists/{gist_id}/comments获取代码片段的评论GistsApiget_v5_gists_gist_id_comments_idGET/v5/gists/{gist_id}/comments/{id}获取单条代码片段的评论GistsApiget_v5_gists_idGET/v5/gists/{id}获取单条代码片段GistsApiget_v5_gists_id_commitsGET/v5/gists/{id}/commits获取代码片段的commitGistsApiget_v5_gists_id_forksGET/v5/gists/{id}/forks获取 Fork 了指定代码片段的列表GistsApiget_v5_gists_id_starGET/v5/gists/{id}/star判断代码片段是否已StarGistsApiget_v5_gists_starredGET/v5/gists/starred获取用户Star的代码片段GistsApipatch_v5_gists_gist_id_comments_idPATCH/v5/gists/{gist_id}/comments/{id}修改代码片段的评论GistsApipatch_v5_gists_idPATCH/v5/gists/{id}修改代码片段GistsApipost_v5_gistsPOST/v5/gists创建代码片段GistsApipost_v5_gists_gist_id_commentsPOST/v5/gists/{gist_id}/comments增加代码片段的评论GistsApipost_v5_gists_id_forksPOST/v5/gists/{id}/forksFork代码片段GistsApiput_v5_gists_id_starPUT/v5/gists/{id}/starStar代码片段GitDataApiget_v5_repos_owner_repo_git_blobs_shaGET/v5/repos/{owner}/{repo}/git/blobs/{sha}获取文件BlobGitDataApiget_v5_repos_owner_repo_git_trees_shaGET/v5/repos/{owner}/{repo}/git/trees/{sha}获取目录TreeIssuesApidelete_v5_repos_owner_repo_issues_comments_idDELETE/v5/repos/{owner}/{repo}/issues/comments/{id}删除Issue某条评论IssuesApiget_v5_enterprises_enterprise_issuesGET/v5/enterprises/{enterprise}/issues获取某个企业的所有IssuesIssuesApiget_v5_enterprises_enterprise_issues_numberGET/v5/enterprises/{enterprise}/issues/{number}获取企业的某个IssueIssuesApiget_v5_enterprises_enterprise_issues_number_commentsGET/v5/enterprises/{enterprise}/issues/{number}/comments获取企业某个Issue所有评论IssuesApiget_v5_enterprises_enterprise_issues_number_labelsGET/v5/enterprises/{enterprise}/issues/{number}/labels获取企业某个Issue所有标签IssuesApiget_v5_issuesGET/v5/issues获取当前授权用户的所有IssuesIssuesApiget_v5_orgs_org_issuesGET/v5/orgs/{org}/issues获取当前用户某个组织的IssuesIssuesApiget_v5_repos_owner_issues_number_operate_logsGET/v5/repos/{owner}/issues/{number}/operate_logs获取某个Issue下的操作日志IssuesApiget_v5_repos_owner_repo_issuesGET/v5/repos/{owner}/{repo}/issues仓库的所有IssuesIssuesApiget_v5_repos_owner_repo_issues_commentsGET/v5/repos/{owner}/{repo}/issues/comments获取仓库所有Issue的评论IssuesApiget_v5_repos_owner_repo_issues_comments_idGET/v5/repos/{owner}/{repo}/issues/comments/{id}获取仓库Issue某条评论IssuesApiget_v5_repos_owner_repo_issues_numberGET/v5/repos/{owner}/{repo}/issues/{number}仓库的某个IssueIssuesApiget_v5_repos_owner_repo_issues_number_commentsGET/v5/repos/{owner}/{repo}/issues/{number}/comments获取仓库某个Issue所有的评论IssuesApiget_v5_user_issuesGET/v5/user/issues获取授权用户的所有IssuesIssuesApipatch_v5_repos_owner_issues_numberPATCH/v5/repos/{owner}/issues/{number}更新IssueIssuesApipatch_v5_repos_owner_repo_issues_comments_idPATCH/v5/repos/{owner}/{repo}/issues/comments/{id}更新Issue某条评论IssuesApipost_v5_repos_owner_issuesPOST/v5/repos/{owner}/issues创建IssueIssuesApipost_v5_repos_owner_repo_issues_number_commentsPOST/v5/repos/{owner}/{repo}/issues/{number}/comments创建某个Issue评论LabelsApidelete_v5_repos_owner_repo_issues_number_labelsDELETE/v5/repos/{owner}/{repo}/issues/{number}/labels删除Issue所有标签LabelsApidelete_v5_repos_owner_repo_issues_number_labels_nameDELETE/v5/repos/{owner}/{repo}/issues/{number}/labels/{name}删除Issue标签LabelsApidelete_v5_repos_owner_repo_labels_nameDELETE/v5/repos/{owner}/{repo}/labels/{name}删除一个仓库任务标签LabelsApiget_v5_enterprises_enterprise_labelsGET/v5/enterprises/{enterprise}/labels获取企业所有标签LabelsApiget_v5_enterprises_enterprise_labels_nameGET/v5/enterprises/{enterprise}/labels/{name}获取企业某个标签LabelsApiget_v5_repos_owner_repo_issues_number_labelsGET/v5/repos/{owner}/{repo}/issues/{number}/labels获取仓库任务的所有标签LabelsApiget_v5_repos_owner_repo_labelsGET/v5/repos/{owner}/{repo}/labels获取仓库所有任务标签LabelsApiget_v5_repos_owner_repo_labels_nameGET/v5/repos/{owner}/{repo}/labels/{name}根据标签名称获取单个标签LabelsApipatch_v5_repos_owner_repo_labels_original_namePATCH/v5/repos/{owner}/{repo}/labels/{original_name}更新一个仓库任务标签LabelsApipost_v5_repos_owner_repo_issues_number_labelsPOST/v5/repos/{owner}/{repo}/issues/{number}/labels创建Issue标签LabelsApipost_v5_repos_owner_repo_labelsPOST/v5/repos/{owner}/{repo}/labels创建仓库任务标签LabelsApiput_v5_repos_owner_repo_issues_number_labelsPUT/v5/repos/{owner}/{repo}/issues/{number}/labels替换Issue所有标签MilestonesApidelete_v5_repos_owner_repo_milestones_numberDELETE/v5/repos/{owner}/{repo}/milestones/{number}删除仓库单个里程碑MilestonesApiget_v5_repos_owner_repo_milestonesGET/v5/repos/{owner}/{repo}/milestones获取仓库所有里程碑MilestonesApiget_v5_repos_owner_repo_milestones_numberGET/v5/repos/{owner}/{repo}/milestones/{number}获取仓库单个里程碑MilestonesApipatch_v5_repos_owner_repo_milestones_numberPATCH/v5/repos/{owner}/{repo}/milestones/{number}更新仓库里程碑MilestonesApipost_v5_repos_owner_repo_milestonesPOST/v5/repos/{owner}/{repo}/milestones创建仓库里程碑MiscellaneousApiget_v5_emojisGET/v5/emojis列出可使用的 EmojiMiscellaneousApiget_v5_gitignore_templatesGET/v5/gitignore/templates列出可使用的 .gitignore 模板MiscellaneousApiget_v5_gitignore_templates_nameGET/v5/gitignore/templates/{name}获取一个 .gitignore 模板MiscellaneousApiget_v5_gitignore_templates_name_rawGET/v5/gitignore/templates/{name}/raw获取一个 .gitignore 模板原始文件MiscellaneousApiget_v5_licensesGET/v5/licenses列出可使用的开源许可协议MiscellaneousApiget_v5_licenses_licenseGET/v5/licenses/{license}获取一个开源许可协议MiscellaneousApiget_v5_licenses_license_rawGET/v5/licenses/{license}/raw获取一个开源许可协议原始文件MiscellaneousApiget_v5_repos_owner_repo_licenseGET/v5/repos/{owner}/{repo}/license获取一个仓库使用的开源许可协议MiscellaneousApipost_v5_markdownPOST/v5/markdown渲染 Markdown 文本OrganizationsApidelete_v5_orgs_org_memberships_usernameDELETE/v5/orgs/{org}/memberships/{username}移除授权用户所管理组织中的成员OrganizationsApidelete_v5_user_memberships_orgs_orgDELETE/v5/user/memberships/orgs/{org}退出一个组织OrganizationsApiget_v5_orgs_orgGET/v5/orgs/{org}获取一个组织OrganizationsApiget_v5_orgs_org_followersGET/v5/orgs/{org}/followers列出指定组织的所有关注者OrganizationsApiget_v5_orgs_org_membersGET/v5/orgs/{org}/members列出一个组织的所有成员OrganizationsApiget_v5_orgs_org_memberships_usernameGET/v5/orgs/{org}/memberships/{username}获取授权用户所属组织的一个成员OrganizationsApiget_v5_user_memberships_orgsGET/v5/user/memberships/orgs列出授权用户在所属组织的成员资料OrganizationsApiget_v5_user_memberships_orgs_orgGET/v5/user/memberships/orgs/{org}获取授权用户在一个组织的成员资料OrganizationsApiget_v5_user_orgsGET/v5/user/orgs列出授权用户所属的组织OrganizationsApiget_v5_users_username_orgsGET/v5/users/{username}/orgs列出用户所属的组织OrganizationsApipatch_v5_orgs_orgPATCH/v5/orgs/{org}更新授权用户所管理的组织资料OrganizationsApipatch_v5_user_memberships_orgs_orgPATCH/v5/user/memberships/orgs/{org}更新授权用户在一个组织的成员资料OrganizationsApipost_v5_users_organizationPOST/v5/users/organization创建组织OrganizationsApiput_v5_orgs_org_memberships_usernamePUT/v5/orgs/{org}/memberships/{username}增加或更新授权用户所管理组织的成员PullRequestsApidelete_v5_repos_owner_repo_pulls_comments_idDELETE/v5/repos/{owner}/{repo}/pulls/comments/{id}删除评论PullRequestsApidelete_v5_repos_owner_repo_pulls_number_assigneesDELETE/v5/repos/{owner}/{repo}/pulls/{number}/assignees取消用户审查 Pull RequestPullRequestsApidelete_v5_repos_owner_repo_pulls_number_labels_nameDELETE/v5/repos/{owner}/{repo}/pulls/{number}/labels/{name}删除 Pull Request 标签PullRequestsApidelete_v5_repos_owner_repo_pulls_number_testersDELETE/v5/repos/{owner}/{repo}/pulls/{number}/testers取消用户测试 Pull RequestPullRequestsApiget_v5_repos_owner_repo_pullsGET/v5/repos/{owner}/{repo}/pulls获取Pull Request列表PullRequestsApiget_v5_repos_owner_repo_pulls_commentsGET/v5/repos/{owner}/{repo}/pulls/comments获取该仓库下的所有Pull Request评论PullRequestsApiget_v5_repos_owner_repo_pulls_comments_idGET/v5/repos/{owner}/{repo}/pulls/comments/{id}获取Pull Request的某个评论PullRequestsApiget_v5_repos_owner_repo_pulls_numberGET/v5/repos/{owner}/{repo}/pulls/{number}获取单个Pull RequestPullRequestsApiget_v5_repos_owner_repo_pulls_number_commentsGET/v5/repos/{owner}/{repo}/pulls/{number}/comments获取某个Pull Request的所有评论PullRequestsApiget_v5_repos_owner_repo_pulls_number_commitsGET/v5/repos/{owner}/{repo}/pulls/{number}/commits获取某Pull Request的所有Commit信息。最多显示250条CommitPullRequestsApiget_v5_repos_owner_repo_pulls_number_filesGET/v5/repos/{owner}/{repo}/pulls/{number}/filesPull Request Commit文件列表。最多显示300条diffPullRequestsApiget_v5_repos_owner_repo_pulls_number_issuesGET/v5/repos/{owner}/{repo}/pulls/{number}/issues获取 Pull Request 关联的 issuesPullRequestsApiget_v5_repos_owner_repo_pulls_number_labelsGET/v5/repos/{owner}/{repo}/pulls/{number}/labels获取某个 Pull Request 的所有标签PullRequestsApiget_v5_repos_owner_repo_pulls_number_mergeGET/v5/repos/{owner}/{repo}/pulls/{number}/merge判断Pull Request是否已经合并PullRequestsApiget_v5_repos_owner_repo_pulls_number_operate_logsGET/v5/repos/{owner}/{repo}/pulls/{number}/operate_logs获取某个Pull Request的操作日志PullRequestsApipatch_v5_repos_owner_repo_pulls_comments_idPATCH/v5/repos/{owner}/{repo}/pulls/comments/{id}编辑评论PullRequestsApipatch_v5_repos_owner_repo_pulls_numberPATCH/v5/repos/{owner}/{repo}/pulls/{number}更新Pull Request信息PullRequestsApipatch_v5_repos_owner_repo_pulls_number_assigneesPATCH/v5/repos/{owner}/{repo}/pulls/{number}/assignees重置 Pull Request 审查 的状态PullRequestsApipatch_v5_repos_owner_repo_pulls_number_testersPATCH/v5/repos/{owner}/{repo}/pulls/{number}/testers重置 Pull Request 测试 的状态PullRequestsApipost_v5_repos_owner_repo_pullsPOST/v5/repos/{owner}/{repo}/pulls创建Pull RequestPullRequestsApipost_v5_repos_owner_repo_pulls_number_assigneesPOST/v5/repos/{owner}/{repo}/pulls/{number}/assignees指派用户审查 Pull RequestPullRequestsApipost_v5_repos_owner_repo_pulls_number_commentsPOST/v5/repos/{owner}/{repo}/pulls/{number}/comments提交Pull Request评论PullRequestsApipost_v5_repos_owner_repo_pulls_number_labelsPOST/v5/repos/{owner}/{repo}/pulls/{number}/labels创建 Pull Request 标签PullRequestsApipost_v5_repos_owner_repo_pulls_number_reviewPOST/v5/repos/{owner}/{repo}/pulls/{number}/review处理 Pull Request 审查PullRequestsApipost_v5_repos_owner_repo_pulls_number_testPOST/v5/repos/{owner}/{repo}/pulls/{number}/test处理 Pull Request 测试PullRequestsApipost_v5_repos_owner_repo_pulls_number_testersPOST/v5/repos/{owner}/{repo}/pulls/{number}/testers指派用户测试 Pull RequestPullRequestsApiput_v5_repos_owner_repo_pulls_number_labelsPUT/v5/repos/{owner}/{repo}/pulls/{number}/labels替换 Pull Request 所有标签PullRequestsApiput_v5_repos_owner_repo_pulls_number_mergePUT/v5/repos/{owner}/{repo}/pulls/{number}/merge合并Pull RequestRepositoriesApidelete_v5_repos_owner_repoDELETE/v5/repos/{owner}/{repo}删除一个仓库RepositoriesApidelete_v5_repos_owner_repo_branches_branch_protectionDELETE/v5/repos/{owner}/{repo}/branches/{branch}/protection取消保护分支的设置RepositoriesApidelete_v5_repos_owner_repo_collaborators_usernameDELETE/v5/repos/{owner}/{repo}/collaborators/{username}移除仓库成员RepositoriesApidelete_v5_repos_owner_repo_comments_idDELETE/v5/repos/{owner}/{repo}/comments/{id}删除Commit评论RepositoriesApidelete_v5_repos_owner_repo_contents_pathDELETE/v5/repos/{owner}/{repo}/contents/{path}删除文件RepositoriesApidelete_v5_repos_owner_repo_keys_enable_idDELETE/v5/repos/{owner}/{repo}/keys/enable/{id}停用仓库公钥RepositoriesApidelete_v5_repos_owner_repo_keys_idDELETE/v5/repos/{owner}/{repo}/keys/{id}删除一个仓库公钥RepositoriesApidelete_v5_repos_owner_repo_releases_idDELETE/v5/repos/{owner}/{repo}/releases/{id}删除仓库ReleaseRepositoriesApiget_v5_enterprises_enterprise_reposGET/v5/enterprises/{enterprise}/repos获取企业的所有仓库RepositoriesApiget_v5_orgs_org_reposGET/v5/orgs/{org}/repos获取一个组织的仓库RepositoriesApiget_v5_repos_owner_repoGET/v5/repos/{owner}/{repo}获取用户的某个仓库RepositoriesApiget_v5_repos_owner_repo_branchesGET/v5/repos/{owner}/{repo}/branches获取所有分支RepositoriesApiget_v5_repos_owner_repo_branches_branchGET/v5/repos/{owner}/{repo}/branches/{branch}获取单个分支RepositoriesApiget_v5_repos_owner_repo_collaboratorsGET/v5/repos/{owner}/{repo}/collaborators获取仓库的所有成员RepositoriesApiget_v5_repos_owner_repo_collaborators_usernameGET/v5/repos/{owner}/{repo}/collaborators/{username}判断用户是否为仓库成员RepositoriesApiget_v5_repos_owner_repo_collaborators_username_permissionGET/v5/repos/{owner}/{repo}/collaborators/{username}/permission查看仓库成员的权限RepositoriesApiget_v5_repos_owner_repo_commentsGET/v5/repos/{owner}/{repo}/comments获取仓库的Commit评论RepositoriesApiget_v5_repos_owner_repo_comments_idGET/v5/repos/{owner}/{repo}/comments/{id}获取仓库的某条Commit评论RepositoriesApiget_v5_repos_owner_repo_commitsGET/v5/repos/{owner}/{repo}/commits仓库的所有提交RepositoriesApiget_v5_repos_owner_repo_commits_ref_commentsGET/v5/repos/{owner}/{repo}/commits/{ref}/comments获取单个Commit的评论RepositoriesApiget_v5_repos_owner_repo_commits_shaGET/v5/repos/{owner}/{repo}/commits/{sha}仓库的某个提交RepositoriesApiget_v5_repos_owner_repo_compare_base___headGET/v5/repos/{owner}/{repo}/compare/{base}...{head}两个Commits之间对比的版本差异RepositoriesApiget_v5_repos_owner_repo_contents_pathGET/v5/repos/{owner}/{repo}/contents(/{path})获取仓库具体路径下的内容RepositoriesApiget_v5_repos_owner_repo_contributorsGET/v5/repos/{owner}/{repo}/contributors获取仓库贡献者RepositoriesApiget_v5_repos_owner_repo_forksGET/v5/repos/{owner}/{repo}/forks查看仓库的ForksRepositoriesApiget_v5_repos_owner_repo_keysGET/v5/repos/{owner}/{repo}/keys获取仓库已部署的公钥RepositoriesApiget_v5_repos_owner_repo_keys_availableGET/v5/repos/{owner}/{repo}/keys/available获取仓库可部署的公钥RepositoriesApiget_v5_repos_owner_repo_keys_idGET/v5/repos/{owner}/{repo}/keys/{id}获取仓库的单个公钥RepositoriesApiget_v5_repos_owner_repo_pagesGET/v5/repos/{owner}/{repo}/pages获取Pages信息RepositoriesApiget_v5_repos_owner_repo_readmeGET/v5/repos/{owner}/{repo}/readme获取仓库READMERepositoriesApiget_v5_repos_owner_repo_releasesGET/v5/repos/{owner}/{repo}/releases获取仓库的所有ReleasesRepositoriesApiget_v5_repos_owner_repo_releases_idGET/v5/repos/{owner}/{repo}/releases/{id}获取仓库的单个ReleasesRepositoriesApiget_v5_repos_owner_repo_releases_latestGET/v5/repos/{owner}/{repo}/releases/latest获取仓库的最后更新的ReleaseRepositoriesApiget_v5_repos_owner_repo_releases_tags_tagGET/v5/repos/{owner}/{repo}/releases/tags/{tag}根据Tag名称获取仓库的ReleaseRepositoriesApiget_v5_repos_owner_repo_tagsGET/v5/repos/{owner}/{repo}/tags列出仓库所有的tagsRepositoriesApiget_v5_user_reposGET/v5/user/repos列出授权用户的所有仓库RepositoriesApiget_v5_users_username_reposGET/v5/users/{username}/repos获取某个用户的公开仓库RepositoriesApipatch_v5_repos_owner_repoPATCH/v5/repos/{owner}/{repo}更新仓库设置RepositoriesApipatch_v5_repos_owner_repo_comments_idPATCH/v5/repos/{owner}/{repo}/comments/{id}更新Commit评论RepositoriesApipatch_v5_repos_owner_repo_releases_idPATCH/v5/repos/{owner}/{repo}/releases/{id}更新仓库ReleaseRepositoriesApipost_v5_enterprises_enterprise_reposPOST/v5/enterprises/{enterprise}/repos创建企业仓库RepositoriesApipost_v5_orgs_org_reposPOST/v5/orgs/{org}/repos创建组织仓库RepositoriesApipost_v5_repos_owner_repo_branchesPOST/v5/repos/{owner}/{repo}/branches创建分支RepositoriesApipost_v5_repos_owner_repo_commits_sha_commentsPOST/v5/repos/{owner}/{repo}/commits/{sha}/comments创建Commit评论RepositoriesApipost_v5_repos_owner_repo_contents_pathPOST/v5/repos/{owner}/{repo}/contents/{path}新建文件RepositoriesApipost_v5_repos_owner_repo_forksPOST/v5/repos/{owner}/{repo}/forksFork一个仓库RepositoriesApipost_v5_repos_owner_repo_keysPOST/v5/repos/{owner}/{repo}/keys为仓库添加公钥RepositoriesApipost_v5_repos_owner_repo_pages_buildsPOST/v5/repos/{owner}/{repo}/pages/builds请求建立PagesRepositoriesApipost_v5_repos_owner_repo_releasesPOST/v5/repos/{owner}/{repo}/releases创建仓库ReleaseRepositoriesApipost_v5_repos_owner_repo_tagsPOST/v5/repos/{owner}/{repo}/tags创建一个仓库的 TagRepositoriesApipost_v5_user_reposPOST/v5/user/repos创建一个仓库RepositoriesApiput_v5_repos_owner_repo_branches_branch_protectionPUT/v5/repos/{owner}/{repo}/branches/{branch}/protection设置分支保护RepositoriesApiput_v5_repos_owner_repo_clearPUT/v5/repos/{owner}/{repo}/clear清空一个仓库RepositoriesApiput_v5_repos_owner_repo_collaborators_usernamePUT/v5/repos/{owner}/{repo}/collaborators/{username}添加仓库成员RepositoriesApiput_v5_repos_owner_repo_contents_pathPUT/v5/repos/{owner}/{repo}/contents/{path}更新文件RepositoriesApiput_v5_repos_owner_repo_keys_enable_idPUT/v5/repos/{owner}/{repo}/keys/enable/{id}启用仓库公钥RepositoriesApiput_v5_repos_owner_repo_reviewerPUT/v5/repos/{owner}/{repo}/reviewer修改代码审查设置SearchApiget_v5_search_issuesGET/v5/search/issues搜索 IssuesSearchApiget_v5_search_repositoriesGET/v5/search/repositories搜索仓库SearchApiget_v5_search_usersGET/v5/search/users搜索用户UsersApidelete_v5_user_following_usernameDELETE/v5/user/following/{username}取消关注一个用户UsersApidelete_v5_user_keys_idDELETE/v5/user/keys/{id}删除一个公钥UsersApiget_v5_userGET/v5/user获取授权用户的资料UsersApiget_v5_user_followersGET/v5/user/followers列出授权用户的关注者UsersApiget_v5_user_followingGET/v5/user/following列出授权用户正关注的用户UsersApiget_v5_user_following_usernameGET/v5/user/following/{username}检查授权用户是否关注了一个用户UsersApiget_v5_user_keysGET/v5/user/keys列出授权用户的所有公钥UsersApiget_v5_user_keys_idGET/v5/user/keys/{id}获取一个公钥UsersApiget_v5_user_namespaceGET/v5/user/namespace获取授权用户的一个 NamespaceUsersApiget_v5_user_namespacesGET/v5/user/namespaces列出授权用户所有的 NamespaceUsersApiget_v5_users_usernameGET/v5/users/{username}获取一个用户UsersApiget_v5_users_username_followersGET/v5/users/{username}/followers列出指定用户的关注者UsersApiget_v5_users_username_followingGET/v5/users/{username}/following列出指定用户正在关注的用户UsersApiget_v5_users_username_following_target_userGET/v5/users/{username}/following/{target_user}检查指定用户是否关注目标用户UsersApiget_v5_users_username_keysGET/v5/users/{username}/keys列出指定用户的所有公钥UsersApipatch_v5_userPATCH/v5/user更新授权用户的资料UsersApipost_v5_user_keysPOST/v5/user/keys添加一个公钥UsersApiput_v5_user_following_usernamePUT/v5/user/following/{username}关注一个用户WebhooksApidelete_v5_repos_owner_repo_hooks_idDELETE/v5/repos/{owner}/{repo}/hooks/{id}删除一个仓库WebHookWebhooksApiget_v5_repos_owner_repo_hooksGET/v5/repos/{owner}/{repo}/hooks列出仓库的WebHooksWebhooksApiget_v5_repos_owner_repo_hooks_idGET/v5/repos/{owner}/{repo}/hooks/{id}获取仓库单个WebHookWebhooksApipatch_v5_repos_owner_repo_hooks_idPATCH/v5/repos/{owner}/{repo}/hooks/{id}更新一个仓库WebHookWebhooksApipost_v5_repos_owner_repo_hooksPOST/v5/repos/{owner}/{repo}/hooks创建一个仓库WebHookWebhooksApipost_v5_repos_owner_repo_hooks_id_testsPOST/v5/repos/{owner}/{repo}/hooks/{id}/tests测试WebHook是否发送成功Documentation For ModelsBlobBodyBody1Body10Body11Body12Body13Body14Body15Body16Body17Body18Body19Body2Body20Body21Body22Body23Body24Body25Body26Body27Body28Body29Body3Body30Body31Body32Body33Body34Body35Body36Body37Body38Body39Body4Body40Body41Body42Body43Body44Body45Body46Body47Body48Body49Body5Body50Body51Body52Body53Body54Body55Body56Body57Body58Body59Body6Body60Body61Body62Body63Body64Body65Body66Body67Body68Body69Body7Body70Body71Body72Body8Body9BranchCodeCodeCommentCodeForksCodeForksHistoryCommitCommitContentCompareCompleteBranchContentContentBasicContributorEnterpriseBasicEnterpriseMemberEventGroupGroupDetailGroupFollowersGroupMemberHookIssueLabelMilestoneNamespaceNamespaceMiniNoteOperateLogProgramBasicProjectProjectBasicProjectMemberProjectMemberPermissionProjectStargazersProjectWatchersPullRequestPullRequestCommentsPullRequestCommitsPullRequestFilesReleaseRepoCommitSSHKeySSHKeyBasicTagTreeUserUserBasicUserDetailUserEmailUserInfoUserMessageUserMessageListUserMiniUserNotificationUserNotificationCountUserNotificationListUserNotificationNamespaceUserNotificationSubjectWeekReportDocumentation For AuthorizationAll endpoints do not require authorization.Authorkingreatwillcodegen 3.0.21