Class NodeRoutesApi


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2020-05-15T14:38:14.328808-03:00[America/Argentina/Buenos_Aires]")
    public class NodeRoutesApi
    extends java.lang.Object
    • Constructor Detail

      • NodeRoutesApi

        public NodeRoutesApi()
      • NodeRoutesApi

        public NodeRoutesApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • getNodeHealth

        public NodeHealthInfoDTO getNodeHealth()
                                        throws ApiException
        Get the node health information Supplies information regarding the connection and services status.
        Returns:
        NodeHealthInfoDTO
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 Both API node and database services are reachable from REST server. -
        503 Either API node or database service is unavailable or unreachable from REST server. -
      • getNodeHealthWithHttpInfo

        public ApiResponse<NodeHealthInfoDTO> getNodeHealthWithHttpInfo()
                                                                 throws ApiException
        Get the node health information Supplies information regarding the connection and services status.
        Returns:
        ApiResponse<NodeHealthInfoDTO>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 Both API node and database services are reachable from REST server. -
        503 Either API node or database service is unavailable or unreachable from REST server. -
      • getNodeInfo

        public NodeInfoDTO getNodeInfo()
                                throws ApiException
        Get the node information Supplies additional information about the application running on a node.
        Returns:
        NodeInfoDTO
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
      • getNodeInfoWithHttpInfo

        public ApiResponse<NodeInfoDTO> getNodeInfoWithHttpInfo()
                                                         throws ApiException
        Get the node information Supplies additional information about the application running on a node.
        Returns:
        ApiResponse<NodeInfoDTO>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
      • getNodePeers

        public java.util.List<NodeInfoDTO> getNodePeers()
                                                 throws ApiException
        Get peers information Gets the list of peers visible by the node.
        Returns:
        List<NodeInfoDTO>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
      • getNodePeersWithHttpInfo

        public ApiResponse<java.util.List<NodeInfoDTO>> getNodePeersWithHttpInfo()
                                                                          throws ApiException
        Get peers information Gets the list of peers visible by the node.
        Returns:
        ApiResponse<List<NodeInfoDTO>>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
      • getNodeStorage

        public StorageInfoDTO getNodeStorage()
                                      throws ApiException
        Get the storage information of the node Returns storage information about the node.
        Returns:
        StorageInfoDTO
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
      • getNodeStorageWithHttpInfo

        public ApiResponse<StorageInfoDTO> getNodeStorageWithHttpInfo()
                                                               throws ApiException
        Get the storage information of the node Returns storage information about the node.
        Returns:
        ApiResponse<StorageInfoDTO>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
      • getNodeTime

        public NodeTimeDTO getNodeTime()
                                throws ApiException
        Get the node time Gets the node time at the moment the reply was sent and received.
        Returns:
        NodeTimeDTO
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
      • getNodeTimeWithHttpInfo

        public ApiResponse<NodeTimeDTO> getNodeTimeWithHttpInfo()
                                                         throws ApiException
        Get the node time Gets the node time at the moment the reply was sent and received.
        Returns:
        ApiResponse<NodeTimeDTO>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
      • getServerInfo

        public ServerInfoDTO getServerInfo()
                                    throws ApiException
        Get the version of the running REST component Returns the version of the running catapult-rest component.
        Returns:
        ServerInfoDTO
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
      • getServerInfoWithHttpInfo

        public ApiResponse<ServerInfoDTO> getServerInfoWithHttpInfo()
                                                             throws ApiException
        Get the version of the running REST component Returns the version of the running catapult-rest component.
        Returns:
        ApiResponse<ServerInfoDTO>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -