mirror of
https://codeberg.org/gitnex/tea4j-autodeploy
synced 2026-06-04 08:42:18 +00:00
Synchronizing API and documentation updates
This commit is contained in:
@@ -197,17 +197,6 @@ public interface AdminApi {
|
||||
Call<List<Organization>> adminGetAllOrgs(
|
||||
@retrofit2.http.Query("page") Integer page, @retrofit2.http.Query("limit") Integer limit);
|
||||
|
||||
/**
|
||||
* List all users
|
||||
*
|
||||
* @param page page number of results to return (1-based) (optional)
|
||||
* @param limit page size of results (optional)
|
||||
* @return Call<List<User>>
|
||||
*/
|
||||
@GET("admin/users")
|
||||
Call<List<User>> adminGetAllUsers(
|
||||
@retrofit2.http.Query("page") Integer page, @retrofit2.http.Query("limit") Integer limit);
|
||||
|
||||
/**
|
||||
* Get a hook
|
||||
*
|
||||
@@ -254,6 +243,22 @@ public interface AdminApi {
|
||||
@retrofit2.http.Query("page") Integer page,
|
||||
@retrofit2.http.Query("limit") Integer limit);
|
||||
|
||||
/**
|
||||
* Search users according filter conditions
|
||||
*
|
||||
* @param sourceId ID of the user's login source to search for (optional)
|
||||
* @param loginName user's login name to search for (optional)
|
||||
* @param page page number of results to return (1-based) (optional)
|
||||
* @param limit page size of results (optional)
|
||||
* @return Call<List<User>>
|
||||
*/
|
||||
@GET("admin/users")
|
||||
Call<List<User>> adminSearchUsers(
|
||||
@retrofit2.http.Query("source_id") Long sourceId,
|
||||
@retrofit2.http.Query("login_name") String loginName,
|
||||
@retrofit2.http.Query("page") Integer page,
|
||||
@retrofit2.http.Query("limit") Integer limit);
|
||||
|
||||
/**
|
||||
* List unadopted repositories
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user