Package io.gitea.api

Class AdminApi

java.lang.Object
io.gitea.api.AdminApi

public class AdminApi
extends java.lang.Object
  • Constructor Details

  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient​(ApiClient apiClient)
    • adminAdoptRepositoryCall

      public com.squareup.okhttp.Call adminAdoptRepositoryCall​(java.lang.String owner, java.lang.String repo, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for adminAdoptRepository
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • adminAdoptRepository

      public void adminAdoptRepository​(java.lang.String owner, java.lang.String repo) throws ApiException
      Adopt unadopted files as a repository
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • adminAdoptRepositoryWithHttpInfo

      public ApiResponse<java.lang.Void> adminAdoptRepositoryWithHttpInfo​(java.lang.String owner, java.lang.String repo) throws ApiException
      Adopt unadopted files as a repository
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • adminAdoptRepositoryAsync

      public com.squareup.okhttp.Call adminAdoptRepositoryAsync​(java.lang.String owner, java.lang.String repo, ApiCallback<java.lang.Void> callback) throws ApiException
      Adopt unadopted files as a repository (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • adminCreateOrgCall

      public com.squareup.okhttp.Call adminCreateOrgCall​(java.lang.String username, CreateOrgOption organization, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for adminCreateOrg
      Parameters:
      username - username of the user that will own the created organization (required)
      organization - (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • adminCreateOrg

      public Organization adminCreateOrg​(java.lang.String username, CreateOrgOption organization) throws ApiException
      Create an organization
      Parameters:
      username - username of the user that will own the created organization (required)
      organization - (required)
      Returns:
      Organization
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • adminCreateOrgWithHttpInfo

      public ApiResponse<Organization> adminCreateOrgWithHttpInfo​(java.lang.String username, CreateOrgOption organization) throws ApiException
      Create an organization
      Parameters:
      username - username of the user that will own the created organization (required)
      organization - (required)
      Returns:
      ApiResponse<Organization>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • adminCreateOrgAsync

      public com.squareup.okhttp.Call adminCreateOrgAsync​(java.lang.String username, CreateOrgOption organization, ApiCallback<Organization> callback) throws ApiException
      Create an organization (asynchronously)
      Parameters:
      username - username of the user that will own the created organization (required)
      organization - (required)
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • adminCreatePublicKeyCall

      public com.squareup.okhttp.Call adminCreatePublicKeyCall​(java.lang.String username, CreateKeyOption key, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for adminCreatePublicKey
      Parameters:
      username - username of the user (required)
      key - (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • adminCreatePublicKey

      public PublicKey adminCreatePublicKey​(java.lang.String username, CreateKeyOption key) throws ApiException
      Add a public key on behalf of a user
      Parameters:
      username - username of the user (required)
      key - (optional)
      Returns:
      PublicKey
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • adminCreatePublicKeyWithHttpInfo

      public ApiResponse<PublicKey> adminCreatePublicKeyWithHttpInfo​(java.lang.String username, CreateKeyOption key) throws ApiException
      Add a public key on behalf of a user
      Parameters:
      username - username of the user (required)
      key - (optional)
      Returns:
      ApiResponse<PublicKey>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • adminCreatePublicKeyAsync

      public com.squareup.okhttp.Call adminCreatePublicKeyAsync​(java.lang.String username, CreateKeyOption key, ApiCallback<PublicKey> callback) throws ApiException
      Add a public key on behalf of a user (asynchronously)
      Parameters:
      username - username of the user (required)
      key - (optional)
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • adminCreateRepoCall

      public com.squareup.okhttp.Call adminCreateRepoCall​(java.lang.String username, CreateRepoOption repository, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for adminCreateRepo
      Parameters:
      username - username of the user. This user will own the created repository (required)
      repository - (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • adminCreateRepo

      public Repository adminCreateRepo​(java.lang.String username, CreateRepoOption repository) throws ApiException
      Create a repository on behalf of a user
      Parameters:
      username - username of the user. This user will own the created repository (required)
      repository - (required)
      Returns:
      Repository
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • adminCreateRepoWithHttpInfo

      public ApiResponse<Repository> adminCreateRepoWithHttpInfo​(java.lang.String username, CreateRepoOption repository) throws ApiException
      Create a repository on behalf of a user
      Parameters:
      username - username of the user. This user will own the created repository (required)
      repository - (required)
      Returns:
      ApiResponse<Repository>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • adminCreateRepoAsync

      public com.squareup.okhttp.Call adminCreateRepoAsync​(java.lang.String username, CreateRepoOption repository, ApiCallback<Repository> callback) throws ApiException
      Create a repository on behalf of a user (asynchronously)
      Parameters:
      username - username of the user. This user will own the created repository (required)
      repository - (required)
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • adminCreateUserCall

      public com.squareup.okhttp.Call adminCreateUserCall​(CreateUserOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for adminCreateUser
      Parameters:
      body - (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • adminCreateUser

      public User adminCreateUser​(CreateUserOption body) throws ApiException
      Create a user
      Parameters:
      body - (optional)
      Returns:
      User
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • adminCreateUserWithHttpInfo

      public ApiResponse<User> adminCreateUserWithHttpInfo​(CreateUserOption body) throws ApiException
      Create a user
      Parameters:
      body - (optional)
      Returns:
      ApiResponse<User>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • adminCreateUserAsync

      public com.squareup.okhttp.Call adminCreateUserAsync​(CreateUserOption body, ApiCallback<User> callback) throws ApiException
      Create a user (asynchronously)
      Parameters:
      body - (optional)
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • adminCronListCall

      public com.squareup.okhttp.Call adminCronListCall​(java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for adminCronList
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • adminCronList

      public java.util.List<Cron> adminCronList​(java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List cron tasks
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<Cron>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • adminCronListWithHttpInfo

      public ApiResponse<java.util.List<Cron>> adminCronListWithHttpInfo​(java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List cron tasks
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<List<Cron>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • adminCronListAsync

      public com.squareup.okhttp.Call adminCronListAsync​(java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Cron>> callback) throws ApiException
      List cron tasks (asynchronously)
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • adminCronRunCall

      public com.squareup.okhttp.Call adminCronRunCall​(java.lang.String task, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for adminCronRun
      Parameters:
      task - task to run (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • adminCronRun

      public void adminCronRun​(java.lang.String task) throws ApiException
      Run cron task
      Parameters:
      task - task to run (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • adminCronRunWithHttpInfo

      public ApiResponse<java.lang.Void> adminCronRunWithHttpInfo​(java.lang.String task) throws ApiException
      Run cron task
      Parameters:
      task - task to run (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • adminCronRunAsync

      public com.squareup.okhttp.Call adminCronRunAsync​(java.lang.String task, ApiCallback<java.lang.Void> callback) throws ApiException
      Run cron task (asynchronously)
      Parameters:
      task - task to run (required)
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • adminDeleteUnadoptedRepositoryCall

      public com.squareup.okhttp.Call adminDeleteUnadoptedRepositoryCall​(java.lang.String owner, java.lang.String repo, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for adminDeleteUnadoptedRepository
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • adminDeleteUnadoptedRepository

      public void adminDeleteUnadoptedRepository​(java.lang.String owner, java.lang.String repo) throws ApiException
      Delete unadopted files
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • adminDeleteUnadoptedRepositoryWithHttpInfo

      public ApiResponse<java.lang.Void> adminDeleteUnadoptedRepositoryWithHttpInfo​(java.lang.String owner, java.lang.String repo) throws ApiException
      Delete unadopted files
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • adminDeleteUnadoptedRepositoryAsync

      public com.squareup.okhttp.Call adminDeleteUnadoptedRepositoryAsync​(java.lang.String owner, java.lang.String repo, ApiCallback<java.lang.Void> callback) throws ApiException
      Delete unadopted files (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • adminDeleteUserCall

      public com.squareup.okhttp.Call adminDeleteUserCall​(java.lang.String username, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for adminDeleteUser
      Parameters:
      username - username of user to delete (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • adminDeleteUser

      public void adminDeleteUser​(java.lang.String username) throws ApiException
      Delete a user
      Parameters:
      username - username of user to delete (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • adminDeleteUserWithHttpInfo

      public ApiResponse<java.lang.Void> adminDeleteUserWithHttpInfo​(java.lang.String username) throws ApiException
      Delete a user
      Parameters:
      username - username of user to delete (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • adminDeleteUserAsync

      public com.squareup.okhttp.Call adminDeleteUserAsync​(java.lang.String username, ApiCallback<java.lang.Void> callback) throws ApiException
      Delete a user (asynchronously)
      Parameters:
      username - username of user to delete (required)
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • adminDeleteUserPublicKeyCall

      public com.squareup.okhttp.Call adminDeleteUserPublicKeyCall​(java.lang.String username, java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for adminDeleteUserPublicKey
      Parameters:
      username - username of user (required)
      id - id of the key to delete (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • adminDeleteUserPublicKey

      public void adminDeleteUserPublicKey​(java.lang.String username, java.lang.Long id) throws ApiException
      Delete a user's public key
      Parameters:
      username - username of user (required)
      id - id of the key to delete (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • adminDeleteUserPublicKeyWithHttpInfo

      public ApiResponse<java.lang.Void> adminDeleteUserPublicKeyWithHttpInfo​(java.lang.String username, java.lang.Long id) throws ApiException
      Delete a user's public key
      Parameters:
      username - username of user (required)
      id - id of the key to delete (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • adminDeleteUserPublicKeyAsync

      public com.squareup.okhttp.Call adminDeleteUserPublicKeyAsync​(java.lang.String username, java.lang.Long id, ApiCallback<java.lang.Void> callback) throws ApiException
      Delete a user's public key (asynchronously)
      Parameters:
      username - username of user (required)
      id - id of the key to delete (required)
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • adminEditUserCall

      public com.squareup.okhttp.Call adminEditUserCall​(java.lang.String username, EditUserOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for adminEditUser
      Parameters:
      username - username of user to edit (required)
      body - (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • adminEditUser

      public User adminEditUser​(java.lang.String username, EditUserOption body) throws ApiException
      Edit an existing user
      Parameters:
      username - username of user to edit (required)
      body - (optional)
      Returns:
      User
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • adminEditUserWithHttpInfo

      public ApiResponse<User> adminEditUserWithHttpInfo​(java.lang.String username, EditUserOption body) throws ApiException
      Edit an existing user
      Parameters:
      username - username of user to edit (required)
      body - (optional)
      Returns:
      ApiResponse<User>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • adminEditUserAsync

      public com.squareup.okhttp.Call adminEditUserAsync​(java.lang.String username, EditUserOption body, ApiCallback<User> callback) throws ApiException
      Edit an existing user (asynchronously)
      Parameters:
      username - username of user to edit (required)
      body - (optional)
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • adminGetAllOrgsCall

      public com.squareup.okhttp.Call adminGetAllOrgsCall​(java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for adminGetAllOrgs
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • adminGetAllOrgs

      public java.util.List<Organization> adminGetAllOrgs​(java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List all organizations
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<Organization>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • adminGetAllOrgsWithHttpInfo

      public ApiResponse<java.util.List<Organization>> adminGetAllOrgsWithHttpInfo​(java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List all organizations
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<List<Organization>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • adminGetAllOrgsAsync

      public com.squareup.okhttp.Call adminGetAllOrgsAsync​(java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Organization>> callback) throws ApiException
      List all organizations (asynchronously)
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • adminGetAllUsersCall

      public com.squareup.okhttp.Call adminGetAllUsersCall​(java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for adminGetAllUsers
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • adminGetAllUsers

      public java.util.List<User> adminGetAllUsers​(java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List all users
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<User>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • adminGetAllUsersWithHttpInfo

      public ApiResponse<java.util.List<User>> adminGetAllUsersWithHttpInfo​(java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List all users
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<List<User>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • adminGetAllUsersAsync

      public com.squareup.okhttp.Call adminGetAllUsersAsync​(java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<User>> callback) throws ApiException
      List all users (asynchronously)
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • adminUnadoptedListCall

      public com.squareup.okhttp.Call adminUnadoptedListCall​(java.lang.Integer page, java.lang.Integer limit, java.lang.String pattern, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for adminUnadoptedList
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      pattern - pattern of repositories to search for (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • adminUnadoptedList

      public java.util.List<java.lang.String> adminUnadoptedList​(java.lang.Integer page, java.lang.Integer limit, java.lang.String pattern) throws ApiException
      List unadopted repositories
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      pattern - pattern of repositories to search for (optional)
      Returns:
      List<String>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • adminUnadoptedListWithHttpInfo

      public ApiResponse<java.util.List<java.lang.String>> adminUnadoptedListWithHttpInfo​(java.lang.Integer page, java.lang.Integer limit, java.lang.String pattern) throws ApiException
      List unadopted repositories
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      pattern - pattern of repositories to search for (optional)
      Returns:
      ApiResponse<List<String>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • adminUnadoptedListAsync

      public com.squareup.okhttp.Call adminUnadoptedListAsync​(java.lang.Integer page, java.lang.Integer limit, java.lang.String pattern, ApiCallback<java.util.List<java.lang.String>> callback) throws ApiException
      List unadopted repositories (asynchronously)
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      pattern - pattern of repositories to search for (optional)
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object