Package sh.ory.api
Class MetadataApi
java.lang.Object
sh.ory.api.MetadataApi
public class MetadataApi extends Object
-
Constructor Summary
Constructors Constructor Description MetadataApi()MetadataApi(ApiClient apiClient) -
Method Summary
Modifier and Type Method Description ApiClientgetApiClient()StringgetCustomBaseUrl()intgetHostIndex()InlineResponse2001getVersion()Return Running Software Version.okhttp3.CallgetVersionAsync(ApiCallback<InlineResponse2001> _callback)Return Running Software Version.okhttp3.CallgetVersionCall(ApiCallback _callback)Build call for getVersionApiResponse<InlineResponse2001>getVersionWithHttpInfo()Return Running Software Version.InlineResponse200isAlive()Check HTTP Server Status This endpoint returns a HTTP 200 status code when Ory Kratos is accepting incoming HTTP requests.okhttp3.CallisAliveAsync(ApiCallback<InlineResponse200> _callback)Check HTTP Server Status (asynchronously) This endpoint returns a HTTP 200 status code when Ory Kratos is accepting incoming HTTP requests.okhttp3.CallisAliveCall(ApiCallback _callback)Build call for isAliveApiResponse<InlineResponse200>isAliveWithHttpInfo()Check HTTP Server Status This endpoint returns a HTTP 200 status code when Ory Kratos is accepting incoming HTTP requests.InlineResponse200isReady()Check HTTP Server and Database Status This endpoint returns a HTTP 200 status code when Ory Kratos is up running and the environment dependencies (e.g.okhttp3.CallisReadyAsync(ApiCallback<InlineResponse200> _callback)Check HTTP Server and Database Status (asynchronously) This endpoint returns a HTTP 200 status code when Ory Kratos is up running and the environment dependencies (e.g.okhttp3.CallisReadyCall(ApiCallback _callback)Build call for isReadyApiResponse<InlineResponse200>isReadyWithHttpInfo()Check HTTP Server and Database Status This endpoint returns a HTTP 200 status code when Ory Kratos is up running and the environment dependencies (e.g.voidsetApiClient(ApiClient apiClient)voidsetCustomBaseUrl(String customBaseUrl)voidsetHostIndex(int hostIndex)
-
Constructor Details
-
MetadataApi
public MetadataApi() -
MetadataApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
getVersionCall
Build call for getVersion- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 Returns the Ory Kratos version. -
-
getVersion
Return Running Software Version. This endpoint returns the version of Ory Kratos. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the version will never refer to the cluster state, only to a single instance.- Returns:
- InlineResponse2001
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Returns the Ory Kratos version. -
-
getVersionWithHttpInfo
Return Running Software Version. This endpoint returns the version of Ory Kratos. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the version will never refer to the cluster state, only to a single instance.- Returns:
- ApiResponse<InlineResponse2001>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Returns the Ory Kratos version. -
-
getVersionAsync
Return Running Software Version. (asynchronously) This endpoint returns the version of Ory Kratos. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the version will never refer to the cluster state, only to a single instance.- 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- Http Response Details:
Status Code Description Response Headers 200 Returns the Ory Kratos version. -
-
isAliveCall
Build call for isAlive- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 Ory Kratos is ready to accept connections. - 500 genericError -
-
isAlive
Check HTTP Server Status This endpoint returns a HTTP 200 status code when Ory Kratos is accepting incoming HTTP requests. This status does currently not include checks whether the database connection is working. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.- Returns:
- InlineResponse200
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Ory Kratos is ready to accept connections. - 500 genericError -
-
isAliveWithHttpInfo
Check HTTP Server Status This endpoint returns a HTTP 200 status code when Ory Kratos is accepting incoming HTTP requests. This status does currently not include checks whether the database connection is working. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.- Returns:
- ApiResponse<InlineResponse200>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Ory Kratos is ready to accept connections. - 500 genericError -
-
isAliveAsync
Check HTTP Server Status (asynchronously) This endpoint returns a HTTP 200 status code when Ory Kratos is accepting incoming HTTP requests. This status does currently not include checks whether the database connection is working. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.- 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- Http Response Details:
Status Code Description Response Headers 200 Ory Kratos is ready to accept connections. - 500 genericError -
-
isReadyCall
Build call for isReady- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 Ory Kratos is ready to accept requests. - 503 Ory Kratos is not yet ready to accept requests. -
-
isReady
Check HTTP Server and Database Status This endpoint returns a HTTP 200 status code when Ory Kratos is up running and the environment dependencies (e.g. the database) are responsive as well. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of Ory Kratos, the health status will never refer to the cluster state, only to a single instance.- Returns:
- InlineResponse200
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Ory Kratos is ready to accept requests. - 503 Ory Kratos is not yet ready to accept requests. -
-
isReadyWithHttpInfo
Check HTTP Server and Database Status This endpoint returns a HTTP 200 status code when Ory Kratos is up running and the environment dependencies (e.g. the database) are responsive as well. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of Ory Kratos, the health status will never refer to the cluster state, only to a single instance.- Returns:
- ApiResponse<InlineResponse200>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Ory Kratos is ready to accept requests. - 503 Ory Kratos is not yet ready to accept requests. -
-
isReadyAsync
Check HTTP Server and Database Status (asynchronously) This endpoint returns a HTTP 200 status code when Ory Kratos is up running and the environment dependencies (e.g. the database) are responsive as well. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of Ory Kratos, the health status will never refer to the cluster state, only to a single instance.- 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- Http Response Details:
Status Code Description Response Headers 200 Ory Kratos is ready to accept requests. - 503 Ory Kratos is not yet ready to accept requests. -
-