Package io.gitea.api
Class MiscellaneousApi
- java.lang.Object
-
- io.gitea.api.MiscellaneousApi
-
public class MiscellaneousApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MiscellaneousApi()MiscellaneousApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()NodeInfogetNodeInfo()Returns the nodeinfo of the Gitea applicationcom.squareup.okhttp.CallgetNodeInfoAsync(ApiCallback<NodeInfo> callback)Returns the nodeinfo of the Gitea application (asynchronously)com.squareup.okhttp.CallgetNodeInfoCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for getNodeInfoApiResponse<NodeInfo>getNodeInfoWithHttpInfo()Returns the nodeinfo of the Gitea applicationjava.lang.StringgetSigningKey()Get default signing-key.gpgcom.squareup.okhttp.CallgetSigningKeyAsync(ApiCallback<java.lang.String> callback)Get default signing-key.gpg (asynchronously)com.squareup.okhttp.CallgetSigningKeyCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for getSigningKeyApiResponse<java.lang.String>getSigningKeyWithHttpInfo()Get default signing-key.gpgServerVersiongetVersion()Returns the version of the Gitea applicationcom.squareup.okhttp.CallgetVersionAsync(ApiCallback<ServerVersion> callback)Returns the version of the Gitea application (asynchronously)com.squareup.okhttp.CallgetVersionCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for getVersionApiResponse<ServerVersion>getVersionWithHttpInfo()Returns the version of the Gitea applicationjava.lang.StringrenderMarkdown(MarkdownOption body)Render a markdown document as HTMLcom.squareup.okhttp.CallrenderMarkdownAsync(MarkdownOption body, ApiCallback<java.lang.String> callback)Render a markdown document as HTML (asynchronously)com.squareup.okhttp.CallrenderMarkdownCall(MarkdownOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for renderMarkdownjava.lang.StringrenderMarkdownRaw(java.lang.String body)Render raw markdown as HTMLcom.squareup.okhttp.CallrenderMarkdownRawAsync(java.lang.String body, ApiCallback<java.lang.String> callback)Render raw markdown as HTML (asynchronously)com.squareup.okhttp.CallrenderMarkdownRawCall(java.lang.String body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for renderMarkdownRawApiResponse<java.lang.String>renderMarkdownRawWithHttpInfo(java.lang.String body)Render raw markdown as HTMLApiResponse<java.lang.String>renderMarkdownWithHttpInfo(MarkdownOption body)Render a markdown document as HTMLvoidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
MiscellaneousApi
public MiscellaneousApi()
-
MiscellaneousApi
public MiscellaneousApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getNodeInfoCall
public com.squareup.okhttp.Call getNodeInfoCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for getNodeInfo- Parameters:
progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getNodeInfo
public NodeInfo getNodeInfo() throws ApiException
Returns the nodeinfo of the Gitea application- Returns:
- NodeInfo
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getNodeInfoWithHttpInfo
public ApiResponse<NodeInfo> getNodeInfoWithHttpInfo() throws ApiException
Returns the nodeinfo of the Gitea application- Returns:
- ApiResponse<NodeInfo>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getNodeInfoAsync
public com.squareup.okhttp.Call getNodeInfoAsync(ApiCallback<NodeInfo> callback) throws ApiException
Returns the nodeinfo of the Gitea application (asynchronously)- Parameters:
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
-
getSigningKeyCall
public com.squareup.okhttp.Call getSigningKeyCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for getSigningKey- Parameters:
progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getSigningKey
public java.lang.String getSigningKey() throws ApiExceptionGet default signing-key.gpg- Returns:
- String
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSigningKeyWithHttpInfo
public ApiResponse<java.lang.String> getSigningKeyWithHttpInfo() throws ApiException
Get default signing-key.gpg- Returns:
- ApiResponse<String>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSigningKeyAsync
public com.squareup.okhttp.Call getSigningKeyAsync(ApiCallback<java.lang.String> callback) throws ApiException
Get default signing-key.gpg (asynchronously)- Parameters:
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
-
getVersionCall
public com.squareup.okhttp.Call getVersionCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for getVersion- Parameters:
progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getVersion
public ServerVersion getVersion() throws ApiException
Returns the version of the Gitea application- Returns:
- ServerVersion
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getVersionWithHttpInfo
public ApiResponse<ServerVersion> getVersionWithHttpInfo() throws ApiException
Returns the version of the Gitea application- Returns:
- ApiResponse<ServerVersion>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getVersionAsync
public com.squareup.okhttp.Call getVersionAsync(ApiCallback<ServerVersion> callback) throws ApiException
Returns the version of the Gitea application (asynchronously)- Parameters:
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
-
renderMarkdownCall
public com.squareup.okhttp.Call renderMarkdownCall(MarkdownOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for renderMarkdown- Parameters:
body- (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
renderMarkdown
public java.lang.String renderMarkdown(MarkdownOption body) throws ApiException
Render a markdown document as HTML- Parameters:
body- (optional)- Returns:
- String
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
renderMarkdownWithHttpInfo
public ApiResponse<java.lang.String> renderMarkdownWithHttpInfo(MarkdownOption body) throws ApiException
Render a markdown document as HTML- Parameters:
body- (optional)- Returns:
- ApiResponse<String>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
renderMarkdownAsync
public com.squareup.okhttp.Call renderMarkdownAsync(MarkdownOption body, ApiCallback<java.lang.String> callback) throws ApiException
Render a markdown document as HTML (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
-
renderMarkdownRawCall
public com.squareup.okhttp.Call renderMarkdownRawCall(java.lang.String body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for renderMarkdownRaw- Parameters:
body- Request body to render (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
renderMarkdownRaw
public java.lang.String renderMarkdownRaw(java.lang.String body) throws ApiExceptionRender raw markdown as HTML- Parameters:
body- Request body to render (required)- Returns:
- String
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
renderMarkdownRawWithHttpInfo
public ApiResponse<java.lang.String> renderMarkdownRawWithHttpInfo(java.lang.String body) throws ApiException
Render raw markdown as HTML- Parameters:
body- Request body to render (required)- Returns:
- ApiResponse<String>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
renderMarkdownRawAsync
public com.squareup.okhttp.Call renderMarkdownRawAsync(java.lang.String body, ApiCallback<java.lang.String> callback) throws ApiExceptionRender raw markdown as HTML (asynchronously)- Parameters:
body- Request body to render (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
-
-