public class AdministrationApi extends Object
| Constructor and Description |
|---|
AdministrationApi() |
AdministrationApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteGroup(String name)
Delete the user group given by its name
|
okhttp3.Call |
deleteGroupAsync(String name,
ApiCallback<Void> _callback)
Delete the user group given by its name (asynchronously)
|
okhttp3.Call |
deleteGroupCall(String name,
ApiCallback _callback)
Build call for deleteGroup
|
ApiResponse<Void> |
deleteGroupWithHttpInfo(String name)
Delete the user group given by its name
|
InlineResponse202 |
exportPost(InlineObject inlineObject)
Get all requested corpora as ZIP-file
|
okhttp3.Call |
exportPostAsync(InlineObject inlineObject,
ApiCallback<InlineResponse202> _callback)
Get all requested corpora as ZIP-file (asynchronously)
|
okhttp3.Call |
exportPostCall(InlineObject inlineObject,
ApiCallback _callback)
Build call for exportPost
|
ApiResponse<InlineResponse202> |
exportPostWithHttpInfo(InlineObject inlineObject)
Get all requested corpora as ZIP-file
|
ApiClient |
getApiClient() |
void |
getJob(String uuid)
Get the status of the background job with the UUID
|
okhttp3.Call |
getJobAsync(String uuid,
ApiCallback<Void> _callback)
Get the status of the background job with the UUID (asynchronously)
|
okhttp3.Call |
getJobCall(String uuid,
ApiCallback _callback)
Build call for getJob
|
ApiResponse<Void> |
getJobWithHttpInfo(String uuid)
Get the status of the background job with the UUID
|
ImportResult |
importPost(File body,
Boolean overrideExisting)
Import all corpora which are part of the uploaded ZIP-file
This will search for all GraphML and relANNIS files in the uploaded ZIP file and imports them.
|
okhttp3.Call |
importPostAsync(File body,
Boolean overrideExisting,
ApiCallback<ImportResult> _callback)
Import all corpora which are part of the uploaded ZIP-file (asynchronously)
This will search for all GraphML and relANNIS files in the uploaded ZIP file and imports them.
|
okhttp3.Call |
importPostCall(File body,
Boolean overrideExisting,
ApiCallback _callback)
Build call for importPost
|
ApiResponse<ImportResult> |
importPostWithHttpInfo(File body,
Boolean overrideExisting)
Import all corpora which are part of the uploaded ZIP-file
This will search for all GraphML and relANNIS files in the uploaded ZIP file and imports them.
|
List<Group> |
listGroups()
Get all available user groups
|
okhttp3.Call |
listGroupsAsync(ApiCallback<List<Group>> _callback)
Get all available user groups (asynchronously)
|
okhttp3.Call |
listGroupsCall(ApiCallback _callback)
Build call for listGroups
|
ApiResponse<List<Group>> |
listGroupsWithHttpInfo()
Get all available user groups
|
void |
putGroup(String name,
Group group)
Add or replace the user group given by its name
|
okhttp3.Call |
putGroupAsync(String name,
Group group,
ApiCallback<Void> _callback)
Add or replace the user group given by its name (asynchronously)
|
okhttp3.Call |
putGroupCall(String name,
Group group,
ApiCallback _callback)
Build call for putGroup
|
ApiResponse<Void> |
putGroupWithHttpInfo(String name,
Group group)
Add or replace the user group given by its name
|
void |
setApiClient(ApiClient apiClient) |
public AdministrationApi()
public AdministrationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call deleteGroupCall(String name, ApiCallback _callback) throws ApiException
name - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic void deleteGroup(String name) throws ApiException
name - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteGroupWithHttpInfo(String name) throws ApiException
name - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call deleteGroupAsync(String name, ApiCallback<Void> _callback) throws ApiException
name - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call exportPostCall(InlineObject inlineObject, ApiCallback _callback) throws ApiException
inlineObject - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic InlineResponse202 exportPost(InlineObject inlineObject) throws ApiException
inlineObject - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<InlineResponse202> exportPostWithHttpInfo(InlineObject inlineObject) throws ApiException
inlineObject - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call exportPostAsync(InlineObject inlineObject, ApiCallback<InlineResponse202> _callback) throws ApiException
inlineObject - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getJobCall(String uuid, ApiCallback _callback) throws ApiException
uuid - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic void getJob(String uuid) throws ApiException
uuid - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> getJobWithHttpInfo(String uuid) throws ApiException
uuid - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getJobAsync(String uuid, ApiCallback<Void> _callback) throws ApiException
uuid - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call importPostCall(File body, Boolean overrideExisting, ApiCallback _callback) throws ApiException
body - (required)overrideExisting - If true, existing corpora will be overwritten by the uploaded ones. (optional, default to false)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic ImportResult importPost(File body, Boolean overrideExisting) throws ApiException
body - (required)overrideExisting - If true, existing corpora will be overwritten by the uploaded ones. (optional, default to false)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ImportResult> importPostWithHttpInfo(File body, Boolean overrideExisting) throws ApiException
body - (required)overrideExisting - If true, existing corpora will be overwritten by the uploaded ones. (optional, default to false)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call importPostAsync(File body, Boolean overrideExisting, ApiCallback<ImportResult> _callback) throws ApiException
body - (required)overrideExisting - If true, existing corpora will be overwritten by the uploaded ones. (optional, default to false)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call listGroupsCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic List<Group> listGroups() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<Group>> listGroupsWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call listGroupsAsync(ApiCallback<List<Group>> _callback) throws ApiException
_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call putGroupCall(String name, Group group, ApiCallback _callback) throws ApiException
name - (required)group - The group to add (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic void putGroup(String name, Group group) throws ApiException
name - (required)group - The group to add (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> putGroupWithHttpInfo(String name, Group group) throws ApiException
name - (required)group - The group to add (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call putGroupAsync(String name, Group group, ApiCallback<Void> _callback) throws ApiException
name - (required)group - The group to add (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2021 Corpuslinguistic working group Humboldt University Berlin. All rights reserved.