Gitee Open API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
Automatically generated by the Swagger Codegen
Building the API client library requires:
To install the API client library to your local Maven repository, simply execute:
mvn clean install
To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:
mvn clean deploy
Refer to the OSSRH Guide for more information.
Add this dependency to your project's POM:
<dependency>
<groupId>com.gitee.sdk</groupId>
<artifactId>gitee5j</artifactId>
<version>1.1-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
At first generate the JAR by executing:
mvn clean package
Then manually install the following JARs:
target/gitee5j-1.1-SNAPSHOT.jar
target/lib/*.jar
Please follow the installation instruction and execute the following Java code:
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
String owner = "owner_example"; // String | 仓库所属空间地址(企业、组织或个人的地址path)
String repo = "repo_example"; // String | 仓库路径(path)
try {
apiInstance.deleteUserStarredOwnerRepo(owner, repo);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#deleteUserStarredOwnerRepo");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
String owner = "owner_example"; // String | 仓库所属空间地址(企业、组织或个人的地址path)
String repo = "repo_example"; // String | 仓库路径(path)
try {
apiInstance.deleteUserSubscriptionsOwnerRepo(owner, repo);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#deleteUserSubscriptionsOwnerRepo");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
String owner = "owner_example"; // String | 仓库所属空间地址(企业、组织或个人的地址path)
String repo = "repo_example"; // String | 仓库路径(path)
Integer prevId = 56; // Integer | 滚动列表的最后一条记录的id
Integer limit = 20; // Integer | 滚动列表每页的数量,最大为 100
try {
List<Event> result = apiInstance.getNetworksOwnerRepoEvents(owner, repo, prevId, limit);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#getNetworksOwnerRepoEvents");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
Boolean unread = true; // Boolean | 是否只获取未读消息,默认:否
try {
UserNotificationCount result = apiInstance.getNotificationsCount(unread);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#getNotificationsCount");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
Boolean unread = true; // Boolean | 是否只显示未读私信,默认:否
String since = "since_example"; // String | 只获取在给定时间后更新的私信,要求时间格式为 ISO 8601
String before = "before_example"; // String | 只获取在给定时间前更新的私信,要求时间格式为 ISO 8601
String ids = "ids_example"; // String | 指定一组私信 ID,以 , 分隔
Integer page = 1; // Integer | 当前的页码
Integer perPage = 20; // Integer | 每页的数量,最大为 100
try {
UserMessageList result = apiInstance.getNotificationsMessages(unread, since, before, ids, page, perPage);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#getNotificationsMessages");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
Integer id = 56; // Integer | 私信的 ID
try {
UserMessage result = apiInstance.getNotificationsMessagesId(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#getNotificationsMessagesId");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
Boolean unread = true; // Boolean | 是否只获取未读消息,默认:否
Boolean participating = true; // Boolean | 是否只获取自己直接参与的消息,默认:否
String type = "all"; // String | 筛选指定类型的通知,all:所有,event:事件通知,referer:@ 通知
String since = "since_example"; // String | 只获取在给定时间后更新的消息,要求时间格式为 ISO 8601
String before = "before_example"; // String | 只获取在给定时间前更新的消息,要求时间格式为 ISO 8601
String ids = "ids_example"; // String | 指定一组通知 ID,以 , 分隔
Integer page = 1; // Integer | 当前的页码
Integer perPage = 20; // Integer | 每页的数量,最大为 100
try {
UserNotificationList result = apiInstance.getNotificationsThreads(unread, participating, type, since, before, ids, page, perPage);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#getNotificationsThreads");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
Integer id = 56; // Integer | 通知的 ID
try {
UserNotification result = apiInstance.getNotificationsThreadsId(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#getNotificationsThreadsId");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
String org = "org_example"; // String | 组织的路径(path/login)
Integer prevId = 56; // Integer | 滚动列表的最后一条记录的id
Integer limit = 20; // Integer | 滚动列表每页的数量,最大为 100
try {
List<Event> result = apiInstance.getOrgsOrgEvents(org, prevId, limit);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#getOrgsOrgEvents");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
String owner = "owner_example"; // String | 仓库所属空间地址(企业、组织或个人的地址path)
String repo = "repo_example"; // String | 仓库路径(path)
Integer prevId = 56; // Integer | 滚动列表的最后一条记录的id
Integer limit = 20; // Integer | 滚动列表每页的数量,最大为 100
try {
List<Event> result = apiInstance.getReposOwnerRepoEvents(owner, repo, prevId, limit);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#getReposOwnerRepoEvents");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
String owner = "owner_example"; // String | 仓库所属空间地址(企业、组织或个人的地址path)
String repo = "repo_example"; // String | 仓库路径(path)
Boolean unread = true; // Boolean | 是否只获取未读消息,默认:否
Boolean participating = true; // Boolean | 是否只获取自己直接参与的消息,默认:否
String type = "all"; // String | 筛选指定类型的通知,all:所有,event:事件通知,referer:@ 通知
String since = "since_example"; // String | 只获取在给定时间后更新的消息,要求时间格式为 ISO 8601
String before = "before_example"; // String | 只获取在给定时间前更新的消息,要求时间格式为 ISO 8601
String ids = "ids_example"; // String | 指定一组通知 ID,以 , 分隔
Integer page = 1; // Integer | 当前的页码
Integer perPage = 20; // Integer | 每页的数量,最大为 100
try {
UserNotificationList result = apiInstance.getReposOwnerRepoNotifications(owner, repo, unread, participating, type, since, before, ids, page, perPage);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#getReposOwnerRepoNotifications");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
String owner = "owner_example"; // String | 仓库所属空间地址(企业、组织或个人的地址path)
String repo = "repo_example"; // String | 仓库路径(path)
Integer page = 1; // Integer | 当前的页码
Integer perPage = 20; // Integer | 每页的数量,最大为 100
try {
List<ProjectStargazers> result = apiInstance.getReposOwnerRepoStargazers(owner, repo, page, perPage);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#getReposOwnerRepoStargazers");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
String owner = "owner_example"; // String | 仓库所属空间地址(企业、组织或个人的地址path)
String repo = "repo_example"; // String | 仓库路径(path)
Integer page = 1; // Integer | 当前的页码
Integer perPage = 20; // Integer | 每页的数量,最大为 100
try {
List<ProjectWatchers> result = apiInstance.getReposOwnerRepoSubscribers(owner, repo, page, perPage);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#getReposOwnerRepoSubscribers");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
String sort = "created"; // String | 根据仓库创建时间(created)或最后推送时间(updated)进行排序,默认:创建时间
String direction = "desc"; // String | 按递增(asc)或递减(desc)排序,默认:递减
Integer page = 1; // Integer | 当前的页码
Integer perPage = 20; // Integer | 每页的数量,最大为 100
try {
List<Project> result = apiInstance.getUserStarred(sort, direction, page, perPage);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#getUserStarred");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
String owner = "owner_example"; // String | 仓库所属空间地址(企业、组织或个人的地址path)
String repo = "repo_example"; // String | 仓库路径(path)
try {
apiInstance.getUserStarredOwnerRepo(owner, repo);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#getUserStarredOwnerRepo");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
String sort = "created"; // String | 根据仓库创建时间(created)或最后推送时间(updated)进行排序,默认:创建时间
String direction = "desc"; // String | 按递增(asc)或递减(desc)排序,默认:递减
Integer page = 1; // Integer | 当前的页码
Integer perPage = 20; // Integer | 每页的数量,最大为 100
try {
List<Project> result = apiInstance.getUserSubscriptions(sort, direction, page, perPage);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#getUserSubscriptions");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
String owner = "owner_example"; // String | 仓库所属空间地址(企业、组织或个人的地址path)
String repo = "repo_example"; // String | 仓库路径(path)
try {
apiInstance.getUserSubscriptionsOwnerRepo(owner, repo);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#getUserSubscriptionsOwnerRepo");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
String username = "username_example"; // String | 用户名(username/login)
Integer prevId = 56; // Integer | 滚动列表的最后一条记录的id
Integer limit = 20; // Integer | 滚动列表每页的数量,最大为 100
try {
List<Event> result = apiInstance.getUsersUsernameEvents(username, prevId, limit);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#getUsersUsernameEvents");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
String username = "username_example"; // String | 用户名(username/login)
String org = "org_example"; // String | 组织的路径(path/login)
Integer prevId = 56; // Integer | 滚动列表的最后一条记录的id
Integer limit = 20; // Integer | 滚动列表每页的数量,最大为 100
try {
List<Event> result = apiInstance.getUsersUsernameEventsOrgsOrg(username, org, prevId, limit);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#getUsersUsernameEventsOrgsOrg");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
String username = "username_example"; // String | 用户名(username/login)
Integer prevId = 56; // Integer | 滚动列表的最后一条记录的id
Integer limit = 20; // Integer | 滚动列表每页的数量,最大为 100
try {
List<Event> result = apiInstance.getUsersUsernameEventsPublic(username, prevId, limit);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#getUsersUsernameEventsPublic");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
String username = "username_example"; // String | 用户名(username/login)
Integer prevId = 56; // Integer | 滚动列表的最后一条记录的id
Integer limit = 20; // Integer | 滚动列表每页的数量,最大为 100
try {
List<Event> result = apiInstance.getUsersUsernameReceivedEvents(username, prevId, limit);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#getUsersUsernameReceivedEvents");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
String username = "username_example"; // String | 用户名(username/login)
Integer prevId = 56; // Integer | 滚动列表的最后一条记录的id
Integer limit = 20; // Integer | 滚动列表每页的数量,最大为 100
try {
List<Event> result = apiInstance.getUsersUsernameReceivedEventsPublic(username, prevId, limit);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#getUsersUsernameReceivedEventsPublic");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
String username = "username_example"; // String | 用户名(username/login)
Integer prevId = 56; // Integer | 滚动列表的最后一条记录的id
Integer limit = 20; // Integer | 滚动列表每页的数量,最大为 100
String sort = "created"; // String | 根据仓库创建时间(created)或最后推送时间(updated)进行排序,默认:创建时间
String direction = "desc"; // String | 按递增(asc)或递减(desc)排序,默认:递减
try {
List<Project> result = apiInstance.getUsersUsernameStarred(username, prevId, limit, sort, direction);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#getUsersUsernameStarred");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
String username = "username_example"; // String | 用户名(username/login)
Integer prevId = 56; // Integer | 滚动列表的最后一条记录的id
Integer limit = 20; // Integer | 滚动列表每页的数量,最大为 100
String sort = "created"; // String | 根据仓库创建时间(created)或最后推送时间(updated)进行排序,默认:创建时间
String direction = "desc"; // String | 按递增(asc)或递减(desc)排序,默认:递减
try {
List<Project> result = apiInstance.getUsersUsernameSubscriptions(username, prevId, limit, sort, direction);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#getUsersUsernameSubscriptions");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
Integer id = 56; // Integer | 私信的 ID
try {
apiInstance.patchNotificationsMessagesId(id);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#patchNotificationsMessagesId");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
Integer id = 56; // Integer | 通知的 ID
try {
apiInstance.patchNotificationsThreadsId(id);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#patchNotificationsThreadsId");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
NotificationsMessagesBody1 body = new NotificationsMessagesBody1(); // NotificationsMessagesBody1 |
try {
UserMessage result = apiInstance.postNotificationsMessages(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#postNotificationsMessages");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
NotificationsMessagesBody body = new NotificationsMessagesBody(); // NotificationsMessagesBody |
try {
apiInstance.putNotificationsMessages(body);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#putNotificationsMessages");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
NotificationsThreadsBody body = new NotificationsThreadsBody(); // NotificationsThreadsBody |
try {
apiInstance.putNotificationsThreads(body);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#putNotificationsThreads");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
String owner = "owner_example"; // String | 仓库所属空间地址(企业、组织或个人的地址path)
String repo = "repo_example"; // String | 仓库路径(path)
RepoNotificationsBody body = new RepoNotificationsBody(); // RepoNotificationsBody |
try {
apiInstance.putReposOwnerRepoNotifications(owner, repo, body);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#putReposOwnerRepoNotifications");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
String owner = "owner_example"; // String | 仓库所属空间地址(企业、组织或个人的地址path)
String repo = "repo_example"; // String | 仓库路径(path)
try {
apiInstance.putUserStarredOwnerRepo(owner, repo);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#putUserStarredOwnerRepo");
e.printStackTrace();
}
}
}
import com.gitee.sdk.gitee5j.*;
import com.gitee.sdk.gitee5j.auth.*;
import com.gitee.sdk.gitee5j.model.*;
import com.gitee.sdk.gitee5j.api.ActivityApi;
import java.io.File;
import java.util.*;
public class ActivityApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
ActivityApi apiInstance = new ActivityApi();
String owner = "owner_example"; // String | 仓库所属空间地址(企业、组织或个人的地址path)
String repo = "repo_example"; // String | 仓库路径(path)
OwnerRepoBody1 body = new OwnerRepoBody1(); // OwnerRepoBody1 |
try {
apiInstance.putUserSubscriptionsOwnerRepo(owner, repo, body);
} catch (ApiException e) {
System.err.println("Exception when calling ActivityApi#putUserSubscriptionsOwnerRepo");
e.printStackTrace();
}
}
}
All URIs are relative to https://gitee.com/api/v5
Class | Method | HTTP request | Description |
---|---|---|---|
ActivityApi | deleteUserStarredOwnerRepo | DELETE /user/starred/{owner}/{repo} | 取消 star 一个仓库 |
ActivityApi | deleteUserSubscriptionsOwnerRepo | DELETE /user/subscriptions/{owner}/{repo} | 取消 watch 一个仓库 |
ActivityApi | getNetworksOwnerRepoEvents | GET /networks/{owner}/{repo}/events | 列出仓库的所有公开动态 |
ActivityApi | getNotificationsCount | GET /notifications/count | 获取授权用户的通知数 |
ActivityApi | getNotificationsMessages | GET /notifications/messages | 列出授权用户的所有私信 |
ActivityApi | getNotificationsMessagesId | GET /notifications/messages/{id} | 获取一条私信 |
ActivityApi | getNotificationsThreads | GET /notifications/threads | 列出授权用户的所有通知 |
ActivityApi | getNotificationsThreadsId | GET /notifications/threads/{id} | 获取一条通知 |
ActivityApi | getOrgsOrgEvents | GET /orgs/{org}/events | 列出组织的公开动态 |
ActivityApi | getReposOwnerRepoEvents | GET /repos/{owner}/{repo}/events | 列出仓库的所有动态 |
ActivityApi | getReposOwnerRepoNotifications | GET /repos/{owner}/{repo}/notifications | 列出一个仓库里的通知 |
ActivityApi | getReposOwnerRepoStargazers | GET /repos/{owner}/{repo}/stargazers | 列出 star 了仓库的用户 |
ActivityApi | getReposOwnerRepoSubscribers | GET /repos/{owner}/{repo}/subscribers | 列出 watch 了仓库的用户 |
ActivityApi | getUserStarred | GET /user/starred | 列出授权用户 star 了的仓库 |
ActivityApi | getUserStarredOwnerRepo | GET /user/starred/{owner}/{repo} | 检查授权用户是否 star 了一个仓库 |
ActivityApi | getUserSubscriptions | GET /user/subscriptions | 列出授权用户 watch 了的仓库 |
ActivityApi | getUserSubscriptionsOwnerRepo | GET /user/subscriptions/{owner}/{repo} | 检查授权用户是否 watch 了一个仓库 |
ActivityApi | getUsersUsernameEvents | GET /users/{username}/events | 列出用户的动态 |
ActivityApi | getUsersUsernameEventsOrgsOrg | GET /users/{username}/events/orgs/{org} | 列出用户所属组织的动态 |
ActivityApi | getUsersUsernameEventsPublic | GET /users/{username}/events/public | 列出用户的公开动态 |
ActivityApi | getUsersUsernameReceivedEvents | GET /users/{username}/received_events | 列出一个用户收到的动态 |
ActivityApi | getUsersUsernameReceivedEventsPublic | GET /users/{username}/received_events/public | 列出一个用户收到的公开动态 |
ActivityApi | getUsersUsernameStarred | GET /users/{username}/starred | 列出用户 star 了的仓库 |
ActivityApi | getUsersUsernameSubscriptions | GET /users/{username}/subscriptions | 列出用户 watch 了的仓库 |
ActivityApi | patchNotificationsMessagesId | PATCH /notifications/messages/{id} | 标记一条私信为已读 |
ActivityApi | patchNotificationsThreadsId | PATCH /notifications/threads/{id} | 标记一条通知为已读 |
ActivityApi | postNotificationsMessages | POST /notifications/messages | 发送私信给指定用户 |
ActivityApi | putNotificationsMessages | PUT /notifications/messages | 标记所有私信为已读 |
ActivityApi | putNotificationsThreads | PUT /notifications/threads | 标记所有通知为已读 |
ActivityApi | putReposOwnerRepoNotifications | PUT /repos/{owner}/{repo}/notifications | 标记一个仓库里的通知为已读 |
ActivityApi | putUserStarredOwnerRepo | PUT /user/starred/{owner}/{repo} | star 一个仓库 |
ActivityApi | putUserSubscriptionsOwnerRepo | PUT /user/subscriptions/{owner}/{repo} | watch 一个仓库 |
EmailsApi | getEmails | GET /emails | 获取授权用户的全部邮箱 |
EnterprisesApi | deleteEnterprisesEnterpriseMembersUsername | DELETE /enterprises/{enterprise}/members/{username} | 移除企业成员 |
EnterprisesApi | deleteEnterprisesEnterpriseWeekReportsReportIdCommentsId | DELETE /enterprises/{enterprise}/week_reports/{report_id}/comments/{id} | 删除周报某个评论 |
EnterprisesApi | getEnterpriseEnterprisePullRequests | GET /enterprise/{enterprise}/pull_requests | 企业 Pull Request 列表 |
EnterprisesApi | getEnterprisesEnterprise | GET /enterprises/{enterprise} | 获取一个企业 |
EnterprisesApi | getEnterprisesEnterpriseMembers | GET /enterprises/{enterprise}/members | 列出企业的所有成员 |
EnterprisesApi | getEnterprisesEnterpriseMembersSearch | GET /enterprises/{enterprise}/members/search | 获取企业成员信息(通过用户名/邮箱) |
EnterprisesApi | getEnterprisesEnterpriseMembersUsername | GET /enterprises/{enterprise}/members/{username} | 获取企业的一个成员 |
EnterprisesApi | getEnterprisesEnterpriseUsersUsernameWeekReports | GET /enterprises/{enterprise}/users/{username}/week_reports | 个人周报列表 |
EnterprisesApi | getEnterprisesEnterpriseWeekReports | GET /enterprises/{enterprise}/week_reports | 企业成员周报列表 |
EnterprisesApi | getEnterprisesEnterpriseWeekReportsId | GET /enterprises/{enterprise}/week_reports/{id} | 周报详情 |
EnterprisesApi | getEnterprisesEnterpriseWeekReportsIdComments | GET /enterprises/{enterprise}/week_reports/{id}/comments | 某个周报评论列表 |
EnterprisesApi | getUserEnterprises | GET /user/enterprises | 列出授权用户所属的企业 |
EnterprisesApi | patchEnterprisesEnterpriseWeekReportId | PATCH /enterprises/{enterprise}/week_report/{id} | 编辑周报 |
EnterprisesApi | postEnterprisesEnterpriseMembers | POST /enterprises/{enterprise}/members | 添加或邀请企业成员 |
EnterprisesApi | postEnterprisesEnterpriseWeekReport | POST /enterprises/{enterprise}/week_report | 新建周报 |
EnterprisesApi | postEnterprisesEnterpriseWeekReportsIdComment | POST /enterprises/{enterprise}/week_reports/{id}/comment | 评论周报 |
EnterprisesApi | putEnterprisesEnterpriseMembersUsername | PUT /enterprises/{enterprise}/members/{username} | 修改企业成员权限或备注 |
GistsApi | deleteGistsGistIdCommentsId | DELETE /gists/{gist_id}/comments/{id} | 删除代码片段的评论 |
GistsApi | deleteGistsId | DELETE /gists/{id} | 删除指定代码片段 |
GistsApi | deleteGistsIdStar | DELETE /gists/{id}/star | 取消Star代码片段 |
GistsApi | getGists | GET /gists | 获取代码片段 |
GistsApi | getGistsGistIdComments | GET /gists/{gist_id}/comments | 获取代码片段的评论 |
GistsApi | getGistsGistIdCommentsId | GET /gists/{gist_id}/comments/{id} | 获取单条代码片段的评论 |
GistsApi | getGistsId | GET /gists/{id} | 获取单条代码片段 |
GistsApi | getGistsIdCommits | GET /gists/{id}/commits | 获取代码片段的commit |
GistsApi | getGistsIdForks | GET /gists/{id}/forks | 获取 Fork 了指定代码片段的列表 |
GistsApi | getGistsIdStar | GET /gists/{id}/star | 判断代码片段是否已Star |
GistsApi | getGistsStarred | GET /gists/starred | 获取用户Star的代码片段 |
GistsApi | patchGistsGistIdCommentsId | PATCH /gists/{gist_id}/comments/{id} | 修改代码片段的评论 |
GistsApi | patchGistsId | PATCH /gists/{id} | 修改代码片段 |
GistsApi | postGists | POST /gists | 创建代码片段 |
GistsApi | postGistsGistIdComments | POST /gists/{gist_id}/comments | 增加代码片段的评论 |
GistsApi | postGistsIdForks | POST /gists/{id}/forks | Fork代码片段 |
GistsApi | putGistsIdStar | PUT /gists/{id}/star | Star代码片段 |
GitDataApi | getReposOwnerRepoGitBlobsSha | GET /repos/{owner}/{repo}/git/blobs/{sha} | 获取文件Blob |
GitDataApi | getReposOwnerRepoGitGiteeMetrics | GET /repos/{owner}/{repo}/git/gitee_metrics | 获取 Gitee 指数 |
GitDataApi | getReposOwnerRepoGitTreesSha | GET /repos/{owner}/{repo}/git/trees/{sha} | 获取目录Tree |
IssuesApi | deleteReposOwnerRepoIssuesCommentsId | DELETE /repos/{owner}/{repo}/issues/comments/{id} | 删除Issue某条评论 |
IssuesApi | getEnterprisesEnterpriseIssues | GET /enterprises/{enterprise}/issues | 获取某个企业的所有Issues |
IssuesApi | getEnterprisesEnterpriseIssuesNumber | GET /enterprises/{enterprise}/issues/{number} | 获取企业的某个Issue |
IssuesApi | getEnterprisesEnterpriseIssuesNumberComments | GET /enterprises/{enterprise}/issues/{number}/comments | 获取企业某个Issue所有评论 |
IssuesApi | getEnterprisesEnterpriseIssuesNumberLabels | GET /enterprises/{enterprise}/issues/{number}/labels | 获取企业某个Issue所有标签 |
IssuesApi | getEnterprisesEnterpriseIssuesNumberPullRequests | GET /enterprises/{enterprise}/issues/{number}/pull_requests | 获取企业 issue 关联的 Pull Requests |
IssuesApi | getIssues | GET /issues | 获取当前授权用户的所有Issues |
IssuesApi | getOrgsOrgIssues | GET /orgs/{org}/issues | 获取当前用户某个组织的Issues |
IssuesApi | getReposOwnerIssuesNumberOperateLogs | GET /repos/{owner}/issues/{number}/operate_logs | 获取某个Issue下的操作日志 |
IssuesApi | getReposOwnerIssuesNumberPullRequests | GET /repos/{owner}/issues/{number}/pull_requests | 获取 issue 关联的 Pull Requests |
IssuesApi | getReposOwnerRepoIssues | GET /repos/{owner}/{repo}/issues | 仓库的所有Issues |
IssuesApi | getReposOwnerRepoIssuesComments | GET /repos/{owner}/{repo}/issues/comments | 获取仓库所有Issue的评论 |
IssuesApi | getReposOwnerRepoIssuesCommentsId | GET /repos/{owner}/{repo}/issues/comments/{id} | 获取仓库Issue某条评论 |
IssuesApi | getReposOwnerRepoIssuesNumber | GET /repos/{owner}/{repo}/issues/{number} | 仓库的某个Issue |
IssuesApi | getReposOwnerRepoIssuesNumberComments | GET /repos/{owner}/{repo}/issues/{number}/comments | 获取仓库某个Issue所有的评论 |
IssuesApi | getUserIssues | GET /user/issues | 获取授权用户的所有Issues |
IssuesApi | patchEnterprisesEnterpriseIssuesNumber | PATCH /enterprises/{enterprise}/issues/{number} | 更新企业的某个Issue |
IssuesApi | patchReposOwnerIssuesNumber | PATCH /repos/{owner}/issues/{number} | 更新Issue |
IssuesApi | patchReposOwnerRepoIssuesCommentsId | PATCH /repos/{owner}/{repo}/issues/comments/{id} | 更新Issue某条评论 |
IssuesApi | postReposOwnerIssues | POST /repos/{owner}/issues | 创建Issue |
IssuesApi | postReposOwnerRepoIssuesNumberComments | POST /repos/{owner}/{repo}/issues/{number}/comments | 创建某个Issue评论 |
LabelsApi | deleteReposOwnerRepoIssuesNumberLabels | DELETE /repos/{owner}/{repo}/issues/{number}/labels | 删除Issue所有标签 |
LabelsApi | deleteReposOwnerRepoIssuesNumberLabelsName | DELETE /repos/{owner}/{repo}/issues/{number}/labels/{name} | 删除Issue标签 |
LabelsApi | deleteReposOwnerRepoLabelsName | DELETE /repos/{owner}/{repo}/labels/{name} | 删除一个仓库任务标签 |
LabelsApi | deleteReposOwnerRepoProjectLabels | DELETE /repos/{owner}/{repo}/project_labels | 删除仓库标签 |
LabelsApi | getEnterprisesEnterpriseLabels | GET /enterprises/{enterprise}/labels | 获取企业所有标签 |
LabelsApi | getEnterprisesEnterpriseLabelsName | GET /enterprises/{enterprise}/labels/{name} | 获取企业某个标签 |
LabelsApi | getReposOwnerRepoIssuesNumberLabels | GET /repos/{owner}/{repo}/issues/{number}/labels | 获取仓库任务的所有标签 |
LabelsApi | getReposOwnerRepoLabels | GET /repos/{owner}/{repo}/labels | 获取仓库所有任务标签 |
LabelsApi | getReposOwnerRepoLabelsName | GET /repos/{owner}/{repo}/labels/{name} | 根据标签名称获取单个标签 |
LabelsApi | getReposOwnerRepoProjectLabels | GET /repos/{owner}/{repo}/project_labels | 获取仓库所有标签 |
LabelsApi | patchReposOwnerRepoLabelsOriginalName | PATCH /repos/{owner}/{repo}/labels/{original_name} | 更新一个仓库任务标签 |
LabelsApi | postReposOwnerRepoIssuesNumberLabels | POST /repos/{owner}/{repo}/issues/{number}/labels | 创建Issue标签 |
LabelsApi | postReposOwnerRepoLabels | POST /repos/{owner}/{repo}/labels | 创建仓库任务标签 |
LabelsApi | postReposOwnerRepoProjectLabels | POST /repos/{owner}/{repo}/project_labels | 添加仓库标签 |
LabelsApi | putReposOwnerRepoIssuesNumberLabels | PUT /repos/{owner}/{repo}/issues/{number}/labels | 替换Issue所有标签 |
LabelsApi | putReposOwnerRepoProjectLabels | PUT /repos/{owner}/{repo}/project_labels | 替换所有仓库标签 |
MilestonesApi | deleteReposOwnerRepoMilestonesNumber | DELETE /repos/{owner}/{repo}/milestones/{number} | 删除仓库单个里程碑 |
MilestonesApi | getReposOwnerRepoMilestones | GET /repos/{owner}/{repo}/milestones | 获取仓库所有里程碑 |
MilestonesApi | getReposOwnerRepoMilestonesNumber | GET /repos/{owner}/{repo}/milestones/{number} | 获取仓库单个里程碑 |
MilestonesApi | patchReposOwnerRepoMilestonesNumber | PATCH /repos/{owner}/{repo}/milestones/{number} | 更新仓库里程碑 |
MilestonesApi | postReposOwnerRepoMilestones | POST /repos/{owner}/{repo}/milestones | 创建仓库里程碑 |
MiscellaneousApi | getEmojis | GET /emojis | 列出可使用的 Emoji |
MiscellaneousApi | getGitignoreTemplates | GET /gitignore/templates | 列出可使用的 .gitignore 模板 |
MiscellaneousApi | getGitignoreTemplatesName | GET /gitignore/templates/{name} | 获取一个 .gitignore 模板 |
MiscellaneousApi | getGitignoreTemplatesNameRaw | GET /gitignore/templates/{name}/raw | 获取一个 .gitignore 模板原始文件 |
MiscellaneousApi | getLicenses | GET /licenses | 列出可使用的开源许可协议 |
MiscellaneousApi | getLicensesLicense | GET /licenses/{license} | 获取一个开源许可协议 |
MiscellaneousApi | getLicensesLicenseRaw | GET /licenses/{license}/raw | 获取一个开源许可协议原始文件 |
MiscellaneousApi | getReposOwnerRepoLicense | GET /repos/{owner}/{repo}/license | 获取一个仓库使用的开源许可协议 |
MiscellaneousApi | postMarkdown | POST /markdown | 渲染 Markdown 文本 |
OrganizationsApi | deleteOrgsOrgMembershipsUsername | DELETE /orgs/{org}/memberships/{username} | 移除授权用户所管理组织中的成员 |
OrganizationsApi | deleteUserMembershipsOrgsOrg | DELETE /user/memberships/orgs/{org} | 退出一个组织 |
OrganizationsApi | getOrgsOrg | GET /orgs/{org} | 获取一个组织 |
OrganizationsApi | getOrgsOrgFollowers | GET /orgs/{org}/followers | 列出指定组织的所有关注者 |
OrganizationsApi | getOrgsOrgMembers | GET /orgs/{org}/members | 列出一个组织的所有成员 |
OrganizationsApi | getOrgsOrgMembershipsUsername | GET /orgs/{org}/memberships/{username} | 获取授权用户所属组织的一个成员 |
OrganizationsApi | getUserMembershipsOrgs | GET /user/memberships/orgs | 列出授权用户在所属组织的成员资料 |
OrganizationsApi | getUserMembershipsOrgsOrg | GET /user/memberships/orgs/{org} | 获取授权用户在一个组织的成员资料 |
OrganizationsApi | getUserOrgs | GET /user/orgs | 列出授权用户所属的组织 |
OrganizationsApi | getUsersUsernameOrgs | GET /users/{username}/orgs | 列出用户所属的组织 |
OrganizationsApi | patchOrgsOrg | PATCH /orgs/{org} | 更新授权用户所管理的组织资料 |
OrganizationsApi | patchUserMembershipsOrgsOrg | PATCH /user/memberships/orgs/{org} | 更新授权用户在一个组织的成员资料 |
OrganizationsApi | postUsersOrganization | POST /users/organization | 创建组织 |
OrganizationsApi | putOrgsOrgMembershipsUsername | PUT /orgs/{org}/memberships/{username} | 增加或更新授权用户所管理组织的成员 |
PullRequestsApi | deleteReposOwnerRepoPullsCommentsId | DELETE /repos/{owner}/{repo}/pulls/comments/{id} | 删除评论 |
PullRequestsApi | deleteReposOwnerRepoPullsNumberAssignees | DELETE /repos/{owner}/{repo}/pulls/{number}/assignees | 取消用户审查 Pull Request |
PullRequestsApi | deleteReposOwnerRepoPullsNumberLabelsName | DELETE /repos/{owner}/{repo}/pulls/{number}/labels/{name} | 删除 Pull Request 标签 |
PullRequestsApi | deleteReposOwnerRepoPullsNumberTesters | DELETE /repos/{owner}/{repo}/pulls/{number}/testers | 取消用户测试 Pull Request |
PullRequestsApi | getReposOwnerRepoPulls | GET /repos/{owner}/{repo}/pulls | 获取Pull Request列表 |
PullRequestsApi | getReposOwnerRepoPullsCommentsId | GET /repos/{owner}/{repo}/pulls/comments/{id} | 获取Pull Request的某个评论 |
PullRequestsApi | getReposOwnerRepoPullsNumber | GET /repos/{owner}/{repo}/pulls/{number} | 获取单个Pull Request |
PullRequestsApi | getReposOwnerRepoPullsNumberComments | GET /repos/{owner}/{repo}/pulls/{number}/comments | 获取某个Pull Request的所有评论 |
PullRequestsApi | getReposOwnerRepoPullsNumberCommits | GET /repos/{owner}/{repo}/pulls/{number}/commits | 获取某Pull Request的所有Commit信息。最多显示250条Commit |
PullRequestsApi | getReposOwnerRepoPullsNumberFiles | GET /repos/{owner}/{repo}/pulls/{number}/files | Pull Request Commit文件列表。最多显示300条diff |
PullRequestsApi | getReposOwnerRepoPullsNumberIssues | GET /repos/{owner}/{repo}/pulls/{number}/issues | 获取 Pull Request 关联的 issues |
PullRequestsApi | getReposOwnerRepoPullsNumberLabels | GET /repos/{owner}/{repo}/pulls/{number}/labels | 获取某个 Pull Request 的所有标签 |
PullRequestsApi | getReposOwnerRepoPullsNumberMerge | GET /repos/{owner}/{repo}/pulls/{number}/merge | 判断Pull Request是否已经合并 |
PullRequestsApi | getReposOwnerRepoPullsNumberOperateLogs | GET /repos/{owner}/{repo}/pulls/{number}/operate_logs | 获取某个Pull Request的操作日志 |
PullRequestsApi | patchReposOwnerRepoPullsCommentsId | PATCH /repos/{owner}/{repo}/pulls/comments/{id} | 编辑评论 |
PullRequestsApi | patchReposOwnerRepoPullsNumber | PATCH /repos/{owner}/{repo}/pulls/{number} | 更新Pull Request信息 |
PullRequestsApi | patchReposOwnerRepoPullsNumberAssignees | PATCH /repos/{owner}/{repo}/pulls/{number}/assignees | 重置 Pull Request 审查 的状态 |
PullRequestsApi | patchReposOwnerRepoPullsNumberTesters | PATCH /repos/{owner}/{repo}/pulls/{number}/testers | 重置 Pull Request 测试 的状态 |
PullRequestsApi | postReposOwnerRepoPulls | POST /repos/{owner}/{repo}/pulls | 创建Pull Request |
PullRequestsApi | postReposOwnerRepoPullsNumberAssignees | POST /repos/{owner}/{repo}/pulls/{number}/assignees | 指派用户审查 Pull Request |
PullRequestsApi | postReposOwnerRepoPullsNumberComments | POST /repos/{owner}/{repo}/pulls/{number}/comments | 提交Pull Request评论 |
PullRequestsApi | postReposOwnerRepoPullsNumberLabels | POST /repos/{owner}/{repo}/pulls/{number}/labels | 创建 Pull Request 标签 |
PullRequestsApi | postReposOwnerRepoPullsNumberReview | POST /repos/{owner}/{repo}/pulls/{number}/review | 处理 Pull Request 审查 |
PullRequestsApi | postReposOwnerRepoPullsNumberTest | POST /repos/{owner}/{repo}/pulls/{number}/test | 处理 Pull Request 测试 |
PullRequestsApi | postReposOwnerRepoPullsNumberTesters | POST /repos/{owner}/{repo}/pulls/{number}/testers | 指派用户测试 Pull Request |
PullRequestsApi | putReposOwnerRepoPullsNumberLabels | PUT /repos/{owner}/{repo}/pulls/{number}/labels | 替换 Pull Request 所有标签 |
PullRequestsApi | putReposOwnerRepoPullsNumberMerge | PUT /repos/{owner}/{repo}/pulls/{number}/merge | 合并Pull Request |
RepositoriesApi | deleteReposOwnerRepo | DELETE /repos/{owner}/{repo} | 删除一个仓库 |
RepositoriesApi | deleteReposOwnerRepoBaiduStatisticKey | DELETE /repos/{owner}/{repo}/baidu_statistic_key | 删除仓库的百度统计 key |
RepositoriesApi | deleteReposOwnerRepoBranchesBranchProtection | DELETE /repos/{owner}/{repo}/branches/{branch}/protection | 取消保护分支的设置 |
RepositoriesApi | deleteReposOwnerRepoBranchesWildcardSetting | DELETE /repos/{owner}/{repo}/branches/{wildcard}/setting | 删除保护分支规则 |
RepositoriesApi | deleteReposOwnerRepoCollaboratorsUsername | DELETE /repos/{owner}/{repo}/collaborators/{username} | 移除仓库成员 |
RepositoriesApi | deleteReposOwnerRepoCommentsId | DELETE /repos/{owner}/{repo}/comments/{id} | 删除Commit评论 |
RepositoriesApi | deleteReposOwnerRepoContentsPath | DELETE /repos/{owner}/{repo}/contents/{path} | 删除文件 |
RepositoriesApi | deleteReposOwnerRepoKeysEnableId | DELETE /repos/{owner}/{repo}/keys/enable/{id} | 停用仓库公钥 |
RepositoriesApi | deleteReposOwnerRepoKeysId | DELETE /repos/{owner}/{repo}/keys/{id} | 删除一个仓库公钥 |
RepositoriesApi | deleteReposOwnerRepoReleasesId | DELETE /repos/{owner}/{repo}/releases/{id} | 删除仓库Release |
RepositoriesApi | deleteReposOwnerRepoReleasesReleaseIdAttachFilesAttachFileId | DELETE /repos/{owner}/{repo}/releases/{release_id}/attach_files/{attach_file_id} | 删除仓库下指定 Release 的指定附件 |
RepositoriesApi | getEnterprisesEnterpriseRepos | GET /enterprises/{enterprise}/repos | 获取企业的所有仓库 |
RepositoriesApi | getOrgsOrgRepos | GET /orgs/{org}/repos | 获取一个组织的仓库 |
RepositoriesApi | getReposOwnerRepo | GET /repos/{owner}/{repo} | 获取用户的某个仓库 |
RepositoriesApi | getReposOwnerRepoBaiduStatisticKey | GET /repos/{owner}/{repo}/baidu_statistic_key | 获取仓库的百度统计 key |
RepositoriesApi | getReposOwnerRepoBlamePath | GET /repos/{owner}/{repo}/blame/{path} | Blame |
RepositoriesApi | getReposOwnerRepoBranches | GET /repos/{owner}/{repo}/branches | 获取所有分支 |
RepositoriesApi | getReposOwnerRepoBranchesBranch | GET /repos/{owner}/{repo}/branches/{branch} | 获取单个分支 |
RepositoriesApi | getReposOwnerRepoCollaborators | GET /repos/{owner}/{repo}/collaborators | 获取仓库的所有成员 |
RepositoriesApi | getReposOwnerRepoCollaboratorsUsername | GET /repos/{owner}/{repo}/collaborators/{username} | 判断用户是否为仓库成员 |
RepositoriesApi | getReposOwnerRepoCollaboratorsUsernamePermission | GET /repos/{owner}/{repo}/collaborators/{username}/permission | 查看仓库成员的权限 |
RepositoriesApi | getReposOwnerRepoComments | GET /repos/{owner}/{repo}/comments | 获取仓库的 Commit 评论 |
RepositoriesApi | getReposOwnerRepoCommentsId | GET /repos/{owner}/{repo}/comments/{id} | 获取仓库的某条Commit评论 |
RepositoriesApi | getReposOwnerRepoCommits | GET /repos/{owner}/{repo}/commits | 仓库的所有提交 |
RepositoriesApi | getReposOwnerRepoCommitsRefComments | GET /repos/{owner}/{repo}/commits/{ref}/comments | 获取单个Commit的评论 |
RepositoriesApi | getReposOwnerRepoCommitsSha | GET /repos/{owner}/{repo}/commits/{sha} | 仓库的某个提交 |
RepositoriesApi | getReposOwnerRepoCompareBaseHead | GET /repos/{owner}/{repo}/compare/{base}...{head} | Commits 对比 |
RepositoriesApi | getReposOwnerRepoContentsPath | GET /repos/{owner}/{repo}/contents/{path} | 获取仓库具体路径下的内容 |
RepositoriesApi | getReposOwnerRepoContributors | GET /repos/{owner}/{repo}/contributors | 获取仓库贡献者 |
RepositoriesApi | getReposOwnerRepoForks | GET /repos/{owner}/{repo}/forks | 查看仓库的Forks |
RepositoriesApi | getReposOwnerRepoKeys | GET /repos/{owner}/{repo}/keys | 获取仓库已部署的公钥 |
RepositoriesApi | getReposOwnerRepoKeysAvailable | GET /repos/{owner}/{repo}/keys/available | 获取仓库可部署的公钥 |
RepositoriesApi | getReposOwnerRepoKeysId | GET /repos/{owner}/{repo}/keys/{id} | 获取仓库的单个公钥 |
RepositoriesApi | getReposOwnerRepoPages | GET /repos/{owner}/{repo}/pages | 获取Pages信息 |
RepositoriesApi | getReposOwnerRepoPushConfig | GET /repos/{owner}/{repo}/push_config | 获取仓库推送规则设置 |
RepositoriesApi | getReposOwnerRepoRawPath | GET /repos/{owner}/{repo}/raw/{path} | 获取 raw 文件(100MB 以内) |
RepositoriesApi | getReposOwnerRepoReadme | GET /repos/{owner}/{repo}/readme | 获取仓库README |
RepositoriesApi | getReposOwnerRepoReleases | GET /repos/{owner}/{repo}/releases | 获取仓库的所有Releases |
RepositoriesApi | getReposOwnerRepoReleasesId | GET /repos/{owner}/{repo}/releases/{id} | 获取仓库的单个Releases |
RepositoriesApi | getReposOwnerRepoReleasesLatest | GET /repos/{owner}/{repo}/releases/latest | 获取仓库的最后更新的Release |
RepositoriesApi | getReposOwnerRepoReleasesReleaseIdAttachFiles | GET /repos/{owner}/{repo}/releases/{release_id}/attach_files | 获取仓库下的指定 Release 的所有附件 |
RepositoriesApi | getReposOwnerRepoReleasesReleaseIdAttachFilesAttachFileId | GET /repos/{owner}/{repo}/releases/{release_id}/attach_files/{attach_file_id} | 获取仓库下指定 Release 的单个附件 |
RepositoriesApi | getReposOwnerRepoReleasesReleaseIdAttachFilesAttachFileIdDownload | GET /repos/{owner}/{repo}/releases/{release_id}/attach_files/{attach_file_id}/download | 下载指定 Release 的单个附件 |
RepositoriesApi | getReposOwnerRepoReleasesTagsTag | GET /repos/{owner}/{repo}/releases/tags/{tag} | 根据Tag名称获取仓库的Release |
RepositoriesApi | getReposOwnerRepoTags | GET /repos/{owner}/{repo}/tags | 列出仓库所有的 tags |
RepositoriesApi | getReposOwnerRepoTarball | GET /repos/{owner}/{repo}/tarball | 下载仓库 tar.gz |
RepositoriesApi | getReposOwnerRepoZipball | GET /repos/{owner}/{repo}/zipball | 下载仓库 zip |
RepositoriesApi | getUserRepos | GET /user/repos | 列出授权用户的所有仓库 |
RepositoriesApi | getUsersUsernameRepos | GET /users/{username}/repos | 获取某个用户的公开仓库 |
RepositoriesApi | patchReposOwnerRepo | PATCH /repos/{owner}/{repo} | 更新仓库设置 |
RepositoriesApi | patchReposOwnerRepoCommentsId | PATCH /repos/{owner}/{repo}/comments/{id} | 更新Commit评论 |
RepositoriesApi | patchReposOwnerRepoReleasesId | PATCH /repos/{owner}/{repo}/releases/{id} | 更新仓库Release |
RepositoriesApi | postEnterprisesEnterpriseRepos | POST /enterprises/{enterprise}/repos | 创建企业仓库 |
RepositoriesApi | postOrgsOrgRepos | POST /orgs/{org}/repos | 创建组织仓库 |
RepositoriesApi | postReposOwnerRepoBaiduStatisticKey | POST /repos/{owner}/{repo}/baidu_statistic_key | 设置/更新仓库的百度统计 key |
RepositoriesApi | postReposOwnerRepoBranches | POST /repos/{owner}/{repo}/branches | 创建分支 |
RepositoriesApi | postReposOwnerRepoCommits | POST /repos/{owner}/{repo}/commits | 提交多个文件变更 |
RepositoriesApi | postReposOwnerRepoCommitsShaComments | POST /repos/{owner}/{repo}/commits/{sha}/comments | 创建Commit评论 |
RepositoriesApi | postReposOwnerRepoContentsPath | POST /repos/{owner}/{repo}/contents/{path} | 新建文件 |
RepositoriesApi | postReposOwnerRepoForks | POST /repos/{owner}/{repo}/forks | Fork一个仓库 |
RepositoriesApi | postReposOwnerRepoKeys | POST /repos/{owner}/{repo}/keys | 为仓库添加公钥 |
RepositoriesApi | postReposOwnerRepoOpen | POST /repos/{owner}/{repo}/open | 开通Gitee Go |
RepositoriesApi | postReposOwnerRepoPagesBuilds | POST /repos/{owner}/{repo}/pages/builds | 请求建立Pages |
RepositoriesApi | postReposOwnerRepoReleases | POST /repos/{owner}/{repo}/releases | 创建仓库Release |
RepositoriesApi | postReposOwnerRepoReleasesReleaseIdAttachFiles | POST /repos/{owner}/{repo}/releases/{release_id}/attach_files | 上传附件到仓库指定 Release |
RepositoriesApi | postReposOwnerRepoTags | POST /repos/{owner}/{repo}/tags | 创建一个仓库的 Tag |
RepositoriesApi | postReposOwnerRepoTrafficData | POST /repos/{owner}/{repo}/traffic-data | 获取最近30天的七日以内访问量 |
RepositoriesApi | postUserRepos | POST /user/repos | 创建一个仓库 |
RepositoriesApi | putReposOwnerRepoBranchesBranchProtection | PUT /repos/{owner}/{repo}/branches/{branch}/protection | 设置分支保护 |
RepositoriesApi | putReposOwnerRepoBranchesSettingNew | PUT /repos/{owner}/{repo}/branches/setting/new | 新建保护分支规则 |
RepositoriesApi | putReposOwnerRepoBranchesWildcardSetting | PUT /repos/{owner}/{repo}/branches/{wildcard}/setting | 更新保护分支规则 |
RepositoriesApi | putReposOwnerRepoClear | PUT /repos/{owner}/{repo}/clear | 清空一个仓库 |
RepositoriesApi | putReposOwnerRepoCollaboratorsUsername | PUT /repos/{owner}/{repo}/collaborators/{username} | 添加仓库成员或更新仓库成员权限 |
RepositoriesApi | putReposOwnerRepoContentsPath | PUT /repos/{owner}/{repo}/contents/{path} | 更新文件 |
RepositoriesApi | putReposOwnerRepoKeysEnableId | PUT /repos/{owner}/{repo}/keys/enable/{id} | 启用仓库公钥 |
RepositoriesApi | putReposOwnerRepoPages | PUT /repos/{owner}/{repo}/pages | 上传设置 Pages SSL 证书和域名 |
RepositoriesApi | putReposOwnerRepoPushConfig | PUT /repos/{owner}/{repo}/push_config | 修改仓库推送规则设置 |
RepositoriesApi | putReposOwnerRepoReviewer | PUT /repos/{owner}/{repo}/reviewer | 修改代码审查设置 |
SearchApi | getSearchIssues | GET /search/issues | 搜索 Issues |
SearchApi | getSearchRepositories | GET /search/repositories | 搜索仓库 |
SearchApi | getSearchUsers | GET /search/users | 搜索用户 |
UsersApi | deleteUserFollowingUsername | DELETE /user/following/{username} | 取消关注一个用户 |
UsersApi | deleteUserKeysId | DELETE /user/keys/{id} | 删除一个公钥 |
UsersApi | getUser | GET /user | 获取授权用户的资料 |
UsersApi | getUserFollowers | GET /user/followers | 列出授权用户的关注者 |
UsersApi | getUserFollowing | GET /user/following | 列出授权用户正关注的用户 |
UsersApi | getUserFollowingUsername | GET /user/following/{username} | 检查授权用户是否关注了一个用户 |
UsersApi | getUserKeys | GET /user/keys | 列出授权用户的所有公钥 |
UsersApi | getUserKeysId | GET /user/keys/{id} | 获取一个公钥 |
UsersApi | getUserNamespace | GET /user/namespace | 获取授权用户的一个 Namespace |
UsersApi | getUserNamespaces | GET /user/namespaces | 列出授权用户所有的 Namespace |
UsersApi | getUsersUsername | GET /users/{username} | 获取一个用户 |
UsersApi | getUsersUsernameFollowers | GET /users/{username}/followers | 列出指定用户的关注者 |
UsersApi | getUsersUsernameFollowing | GET /users/{username}/following | 列出指定用户正在关注的用户 |
UsersApi | getUsersUsernameFollowingTargetUser | GET /users/{username}/following/{target_user} | 检查指定用户是否关注目标用户 |
UsersApi | getUsersUsernameKeys | GET /users/{username}/keys | 列出指定用户的所有公钥 |
UsersApi | patchUser | PATCH /user | 更新授权用户的资料 |
UsersApi | postUserKeys | POST /user/keys | 添加一个公钥 |
UsersApi | putUserFollowingUsername | PUT /user/following/{username} | 关注一个用户 |
WebhooksApi | deleteReposOwnerRepoHooksId | DELETE /repos/{owner}/{repo}/hooks/{id} | 删除一个仓库WebHook |
WebhooksApi | getReposOwnerRepoHooks | GET /repos/{owner}/{repo}/hooks | 列出仓库的WebHooks |
WebhooksApi | getReposOwnerRepoHooksId | GET /repos/{owner}/{repo}/hooks/{id} | 获取仓库单个WebHook |
WebhooksApi | patchReposOwnerRepoHooksId | PATCH /repos/{owner}/{repo}/hooks/{id} | 更新一个仓库WebHook |
WebhooksApi | postReposOwnerRepoHooks | POST /repos/{owner}/{repo}/hooks | 创建一个仓库WebHook |
WebhooksApi | postReposOwnerRepoHooksIdTests | POST /repos/{owner}/{repo}/hooks/{id}/tests | 测试WebHook是否发送成功 |
Authentication schemes defined for the API:
It's recommended to create an instance of ApiClient
per thread in a multithreaded environment to avoid any potential issues.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
1. 开源生态
2. 协作、人、软件
3. 评估模型