Package com.seeq.api

Class AgentsApi

java.lang.Object
com.seeq.api.AgentsApi

public class AgentsApi extends Object
  • Constructor Details

    • AgentsApi

      public AgentsApi()
    • AgentsApi

      public AgentsApi(ApiClient apiClient)
  • Method Details

    • setRetryTimeout

      public void setRetryTimeout(long retryTimeout)
    • getRetryTimeout

      public long getRetryTimeout()
    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • archiveAgent

      public StatusMessageBase archiveAgent(String agentName) throws ApiException
      Archive an agent
      Parameters:
      agentName - The name of the agent. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      Returns:
      StatusMessageBase
      Throws:
      ApiException - if fails to make API call
    • archiveAgentWithHttpInfo

      public ApiClient.ApiResponse<StatusMessageBase> archiveAgentWithHttpInfo(String agentName) throws ApiException
      Archive an agent
      Parameters:
      agentName - The name of the agent. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      Throws:
      ApiException - if fails to make API call
    • archiveAgentWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<StatusMessageBase> archiveAgentWithHeadersAndHttpInfo(String agentName, Map<String,String> customHeaders) throws ApiException
      Archive an agent
      Parameters:
      agentName - The name of the agent. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • archiveConnection

      public StatusMessageBase archiveConnection(String agentName, String connectorName, String connectionName) throws ApiException
      Archive a connection
      Parameters:
      agentName - The name of the agent. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      connectorName - The name of the connector. The connector name can be obtained from the 'Connector' array in the response of 'GET / agents / {agentName}' (required)
      connectionName - The name of the connection. The connection name can be obtained from the 'Connections' array in the response of 'GET /agents/{agentName}/connectors/{connectorName}' (required)
      Returns:
      StatusMessageBase
      Throws:
      ApiException - if fails to make API call
    • archiveConnectionWithHttpInfo

      public ApiClient.ApiResponse<StatusMessageBase> archiveConnectionWithHttpInfo(String agentName, String connectorName, String connectionName) throws ApiException
      Archive a connection
      Parameters:
      agentName - The name of the agent. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      connectorName - The name of the connector. The connector name can be obtained from the 'Connector' array in the response of 'GET / agents / {agentName}' (required)
      connectionName - The name of the connection. The connection name can be obtained from the 'Connections' array in the response of 'GET /agents/{agentName}/connectors/{connectorName}' (required)
      Throws:
      ApiException - if fails to make API call
    • archiveConnectionWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<StatusMessageBase> archiveConnectionWithHeadersAndHttpInfo(String agentName, String connectorName, String connectionName, Map<String,String> customHeaders) throws ApiException
      Archive a connection
      Parameters:
      agentName - The name of the agent. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      connectorName - The name of the connector. The connector name can be obtained from the 'Connector' array in the response of 'GET / agents / {agentName}' (required)
      connectionName - The name of the connection. The connection name can be obtained from the 'Connections' array in the response of 'GET /agents/{agentName}/connectors/{connectorName}' (required)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • archiveConnector

      public StatusMessageBase archiveConnector(String agentName, String connectorName) throws ApiException
      Archive a connector
      Parameters:
      agentName - The name of the agent. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      connectorName - The name of the connector. The connector name can be obtained from the 'Connector' array in the response of 'GET / agents / {agentName}' (required)
      Returns:
      StatusMessageBase
      Throws:
      ApiException - if fails to make API call
    • archiveConnectorWithHttpInfo

      public ApiClient.ApiResponse<StatusMessageBase> archiveConnectorWithHttpInfo(String agentName, String connectorName) throws ApiException
      Archive a connector
      Parameters:
      agentName - The name of the agent. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      connectorName - The name of the connector. The connector name can be obtained from the 'Connector' array in the response of 'GET / agents / {agentName}' (required)
      Throws:
      ApiException - if fails to make API call
    • archiveConnectorWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<StatusMessageBase> archiveConnectorWithHeadersAndHttpInfo(String agentName, String connectorName, Map<String,String> customHeaders) throws ApiException
      Archive a connector
      Parameters:
      agentName - The name of the agent. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      connectorName - The name of the connector. The connector name can be obtained from the 'Connector' array in the response of 'GET / agents / {agentName}' (required)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • configuredDirectives

      public ConfiguredDirectivesOutputV1 configuredDirectives() throws ApiException
      Get a list of available installers on this Seeq
      Returns:
      ConfiguredDirectivesOutputV1
      Throws:
      ApiException - if fails to make API call
    • configuredDirectivesWithHttpInfo

      public ApiClient.ApiResponse<ConfiguredDirectivesOutputV1> configuredDirectivesWithHttpInfo() throws ApiException
      Get a list of available installers on this Seeq
      Throws:
      ApiException - if fails to make API call
    • configuredDirectivesWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<ConfiguredDirectivesOutputV1> configuredDirectivesWithHeadersAndHttpInfo(Map<String,String> customHeaders) throws ApiException
      Get a list of available installers on this Seeq
      Parameters:
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • createOrUpdateAgent

      public AgentOutputV1 createOrUpdateAgent(String agentName, AgentInputV1 body) throws ApiException
      Create or update an agent
      Parameters:
      agentName - Name of the agent to create or update. For update, the name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      body - Agent information (required)
      Returns:
      AgentOutputV1
      Throws:
      ApiException - if fails to make API call
    • createOrUpdateAgentWithHttpInfo

      public ApiClient.ApiResponse<AgentOutputV1> createOrUpdateAgentWithHttpInfo(String agentName, AgentInputV1 body) throws ApiException
      Create or update an agent
      Parameters:
      agentName - Name of the agent to create or update. For update, the name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      body - Agent information (required)
      Throws:
      ApiException - if fails to make API call
    • createOrUpdateAgentWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<AgentOutputV1> createOrUpdateAgentWithHeadersAndHttpInfo(String agentName, AgentInputV1 body, Map<String,String> customHeaders) throws ApiException
      Create or update an agent
      Parameters:
      agentName - Name of the agent to create or update. For update, the name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      body - Agent information (required)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • createOrUpdateConnection

      public ConnectionOutputV1 createOrUpdateConnection(String agentName, String connectorName, String connectionName, ConnectionInputV1 body) throws ApiException
      Create or update a connection
      Parameters:
      agentName - Name of the agent where the connector resides. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      connectorName - Name of the connector where the connection resides. The connector name can be obtained from the 'Connector' array in the response of 'GET / agents / {agentName}' (required)
      connectionName - Name of the connection to create or update. For update, the connection name can be obtained from the 'Connections' array in the response of 'GET /agents/{agentName}/connectors/{connectorName}' (required)
      body - Connection information (required)
      Returns:
      ConnectionOutputV1
      Throws:
      ApiException - if fails to make API call
    • createOrUpdateConnectionWithHttpInfo

      public ApiClient.ApiResponse<ConnectionOutputV1> createOrUpdateConnectionWithHttpInfo(String agentName, String connectorName, String connectionName, ConnectionInputV1 body) throws ApiException
      Create or update a connection
      Parameters:
      agentName - Name of the agent where the connector resides. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      connectorName - Name of the connector where the connection resides. The connector name can be obtained from the 'Connector' array in the response of 'GET / agents / {agentName}' (required)
      connectionName - Name of the connection to create or update. For update, the connection name can be obtained from the 'Connections' array in the response of 'GET /agents/{agentName}/connectors/{connectorName}' (required)
      body - Connection information (required)
      Throws:
      ApiException - if fails to make API call
    • createOrUpdateConnectionWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<ConnectionOutputV1> createOrUpdateConnectionWithHeadersAndHttpInfo(String agentName, String connectorName, String connectionName, ConnectionInputV1 body, Map<String,String> customHeaders) throws ApiException
      Create or update a connection
      Parameters:
      agentName - Name of the agent where the connector resides. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      connectorName - Name of the connector where the connection resides. The connector name can be obtained from the 'Connector' array in the response of 'GET / agents / {agentName}' (required)
      connectionName - Name of the connection to create or update. For update, the connection name can be obtained from the 'Connections' array in the response of 'GET /agents/{agentName}/connectors/{connectorName}' (required)
      body - Connection information (required)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • createOrUpdateConnector

      public ConnectorOutputV1 createOrUpdateConnector(String agentName, String connectorName, ConnectorInputV1 body) throws ApiException
      Create or update a connector
      Parameters:
      agentName - Name of the agent where connector resides. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      connectorName - Name of the connector to create or update. For update, the connector name can be obtained from the 'Connector' array in the response of 'GET / agents / {agentName}' (required)
      body - Connector information (required)
      Returns:
      ConnectorOutputV1
      Throws:
      ApiException - if fails to make API call
    • createOrUpdateConnectorWithHttpInfo

      public ApiClient.ApiResponse<ConnectorOutputV1> createOrUpdateConnectorWithHttpInfo(String agentName, String connectorName, ConnectorInputV1 body) throws ApiException
      Create or update a connector
      Parameters:
      agentName - Name of the agent where connector resides. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      connectorName - Name of the connector to create or update. For update, the connector name can be obtained from the 'Connector' array in the response of 'GET / agents / {agentName}' (required)
      body - Connector information (required)
      Throws:
      ApiException - if fails to make API call
    • createOrUpdateConnectorWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<ConnectorOutputV1> createOrUpdateConnectorWithHeadersAndHttpInfo(String agentName, String connectorName, ConnectorInputV1 body, Map<String,String> customHeaders) throws ApiException
      Create or update a connector
      Parameters:
      agentName - Name of the agent where connector resides. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      connectorName - Name of the connector to create or update. For update, the connector name can be obtained from the 'Connector' array in the response of 'GET / agents / {agentName}' (required)
      body - Connector information (required)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • getAgent

      public AgentOutputV1 getAgent(String agentName) throws ApiException
      Get an agent and its configuration
      Parameters:
      agentName - Name of the agent to get. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      Returns:
      AgentOutputV1
      Throws:
      ApiException - if fails to make API call
    • getAgentWithHttpInfo

      public ApiClient.ApiResponse<AgentOutputV1> getAgentWithHttpInfo(String agentName) throws ApiException
      Get an agent and its configuration
      Parameters:
      agentName - Name of the agent to get. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      Throws:
      ApiException - if fails to make API call
    • getAgentWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<AgentOutputV1> getAgentWithHeadersAndHttpInfo(String agentName, Map<String,String> customHeaders) throws ApiException
      Get an agent and its configuration
      Parameters:
      agentName - Name of the agent to get. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • getAgentStatus

      public List<AgentStatusV1> getAgentStatus() throws ApiException
      Get the status of every connection in every agent that the user has access to
      Returns:
      List<AgentStatusV1>
      Throws:
      ApiException - if fails to make API call
    • getAgentStatusWithHttpInfo

      public ApiClient.ApiResponse<List<AgentStatusV1>> getAgentStatusWithHttpInfo() throws ApiException
      Get the status of every connection in every agent that the user has access to
      Throws:
      ApiException - if fails to make API call
    • getAgentStatusWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<List<AgentStatusV1>> getAgentStatusWithHeadersAndHttpInfo(Map<String,String> customHeaders) throws ApiException
      Get the status of every connection in every agent that the user has access to
      Parameters:
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • getConnection

      public ConnectionOutputV1 getConnection(String agentName, String connectorName, String connectionName) throws ApiException
      Get a connection and its configuration
      Parameters:
      agentName - Name of the agent. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      connectorName - Name of the connector to get. The connector name can be obtained from the 'Connector' array in the response of 'GET / agents / {agentName}' (required)
      connectionName - Name of the connection to get. The connection name can be obtained from the 'Connections' array in the response of 'GET /agents/{agentName}/connectors/{connectorName}' (required)
      Returns:
      ConnectionOutputV1
      Throws:
      ApiException - if fails to make API call
    • getConnectionWithHttpInfo

      public ApiClient.ApiResponse<ConnectionOutputV1> getConnectionWithHttpInfo(String agentName, String connectorName, String connectionName) throws ApiException
      Get a connection and its configuration
      Parameters:
      agentName - Name of the agent. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      connectorName - Name of the connector to get. The connector name can be obtained from the 'Connector' array in the response of 'GET / agents / {agentName}' (required)
      connectionName - Name of the connection to get. The connection name can be obtained from the 'Connections' array in the response of 'GET /agents/{agentName}/connectors/{connectorName}' (required)
      Throws:
      ApiException - if fails to make API call
    • getConnectionWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<ConnectionOutputV1> getConnectionWithHeadersAndHttpInfo(String agentName, String connectorName, String connectionName, Map<String,String> customHeaders) throws ApiException
      Get a connection and its configuration
      Parameters:
      agentName - Name of the agent. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      connectorName - Name of the connector to get. The connector name can be obtained from the 'Connector' array in the response of 'GET / agents / {agentName}' (required)
      connectionName - Name of the connection to get. The connection name can be obtained from the 'Connections' array in the response of 'GET /agents/{agentName}/connectors/{connectorName}' (required)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • getConnections

      public ConnectionsOutputV1 getConnections(String agentName, String connectorName) throws ApiException
      Gets the configuration of all connections of a connector
      Parameters:
      agentName - Name of the agent. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status/{detailsLevel} (required)
      connectorName - Name of the connector. The connector name can be obtained from the 'Connector' array in the response of 'GET /agents/{agentName}' (required)
      Returns:
      ConnectionsOutputV1
      Throws:
      ApiException - if fails to make API call
    • getConnectionsWithHttpInfo

      public ApiClient.ApiResponse<ConnectionsOutputV1> getConnectionsWithHttpInfo(String agentName, String connectorName) throws ApiException
      Gets the configuration of all connections of a connector
      Parameters:
      agentName - Name of the agent. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status/{detailsLevel} (required)
      connectorName - Name of the connector. The connector name can be obtained from the 'Connector' array in the response of 'GET /agents/{agentName}' (required)
      Throws:
      ApiException - if fails to make API call
    • getConnectionsWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<ConnectionsOutputV1> getConnectionsWithHeadersAndHttpInfo(String agentName, String connectorName, Map<String,String> customHeaders) throws ApiException
      Gets the configuration of all connections of a connector
      Parameters:
      agentName - Name of the agent. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status/{detailsLevel} (required)
      connectorName - Name of the connector. The connector name can be obtained from the 'Connector' array in the response of 'GET /agents/{agentName}' (required)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • getConnector

      public ConnectorOutputV1 getConnector(String agentName, String connectorName) throws ApiException
      Get a connector and its configuration
      Parameters:
      agentName - Name of the agent. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      connectorName - Name of the connector to get. The connector name can be obtained from the 'Connectors' array in the response of 'GET / agents / {agentName}' (required)
      Returns:
      ConnectorOutputV1
      Throws:
      ApiException - if fails to make API call
    • getConnectorWithHttpInfo

      public ApiClient.ApiResponse<ConnectorOutputV1> getConnectorWithHttpInfo(String agentName, String connectorName) throws ApiException
      Get a connector and its configuration
      Parameters:
      agentName - Name of the agent. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      connectorName - Name of the connector to get. The connector name can be obtained from the 'Connectors' array in the response of 'GET / agents / {agentName}' (required)
      Throws:
      ApiException - if fails to make API call
    • getConnectorWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<ConnectorOutputV1> getConnectorWithHeadersAndHttpInfo(String agentName, String connectorName, Map<String,String> customHeaders) throws ApiException
      Get a connector and its configuration
      Parameters:
      agentName - Name of the agent. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      connectorName - Name of the connector to get. The connector name can be obtained from the 'Connectors' array in the response of 'GET / agents / {agentName}' (required)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • getConnectors

      public ConnectorsOutputV1 getConnectors(String agentName) throws ApiException
      Gets the configuration of all connectors hosted by an agent
      Parameters:
      agentName - Name of the agent. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      Returns:
      ConnectorsOutputV1
      Throws:
      ApiException - if fails to make API call
    • getConnectorsWithHttpInfo

      public ApiClient.ApiResponse<ConnectorsOutputV1> getConnectorsWithHttpInfo(String agentName) throws ApiException
      Gets the configuration of all connectors hosted by an agent
      Parameters:
      agentName - Name of the agent. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      Throws:
      ApiException - if fails to make API call
    • getConnectorsWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<ConnectorsOutputV1> getConnectorsWithHeadersAndHttpInfo(String agentName, Map<String,String> customHeaders) throws ApiException
      Gets the configuration of all connectors hosted by an agent
      Parameters:
      agentName - Name of the agent. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • getDatasourcesStatus

      public DatasourcesStatusOutputV1 getDatasourcesStatus() throws ApiException
      Get the status of every connection for every datasource that the user has access to
      Returns:
      DatasourcesStatusOutputV1
      Throws:
      ApiException - if fails to make API call
    • getDatasourcesStatusWithHttpInfo

      public ApiClient.ApiResponse<DatasourcesStatusOutputV1> getDatasourcesStatusWithHttpInfo() throws ApiException
      Get the status of every connection for every datasource that the user has access to
      Throws:
      ApiException - if fails to make API call
    • getDatasourcesStatusWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<DatasourcesStatusOutputV1> getDatasourcesStatusWithHeadersAndHttpInfo(Map<String,String> customHeaders) throws ApiException
      Get the status of every connection for every datasource that the user has access to
      Parameters:
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • getRemoteUpdateDirectives

      public RemoteAgentDirectivesOutputV1 getRemoteUpdateDirectives(String machineName) throws ApiException
      Get update directives for the remote agent
      Parameters:
      machineName - Name of the remote agent machine to get update directives (required)
      Returns:
      RemoteAgentDirectivesOutputV1
      Throws:
      ApiException - if fails to make API call
    • getRemoteUpdateDirectivesWithHttpInfo

      public ApiClient.ApiResponse<RemoteAgentDirectivesOutputV1> getRemoteUpdateDirectivesWithHttpInfo(String machineName) throws ApiException
      Get update directives for the remote agent
      Parameters:
      machineName - Name of the remote agent machine to get update directives (required)
      Throws:
      ApiException - if fails to make API call
    • getRemoteUpdateDirectivesWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<RemoteAgentDirectivesOutputV1> getRemoteUpdateDirectivesWithHeadersAndHttpInfo(String machineName, Map<String,String> customHeaders) throws ApiException
      Get update directives for the remote agent
      Parameters:
      machineName - Name of the remote agent machine to get update directives (required)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • index

      public StatusMessageBase index(String datasourceClass, String datasourceId, IndexingParametersInputV1 body) throws ApiException
      Request indexing of the given datasource.
      Parameters:
      datasourceClass - Datasource class of the connection (required)
      datasourceId - Datasource ID of the connection (required)
      body - IndexingParameters (required)
      Returns:
      StatusMessageBase
      Throws:
      ApiException - if fails to make API call
    • indexWithHttpInfo

      public ApiClient.ApiResponse<StatusMessageBase> indexWithHttpInfo(String datasourceClass, String datasourceId, IndexingParametersInputV1 body) throws ApiException
      Request indexing of the given datasource.
      Parameters:
      datasourceClass - Datasource class of the connection (required)
      datasourceId - Datasource ID of the connection (required)
      body - IndexingParameters (required)
      Throws:
      ApiException - if fails to make API call
    • indexWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<StatusMessageBase> indexWithHeadersAndHttpInfo(String datasourceClass, String datasourceId, IndexingParametersInputV1 body, Map<String,String> customHeaders) throws ApiException
      Request indexing of the given datasource.
      Parameters:
      datasourceClass - Datasource class of the connection (required)
      datasourceId - Datasource ID of the connection (required)
      body - IndexingParameters (required)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • postAgentStatus

      public void postAgentStatus(AgentStatusV1 body) throws ApiException
      Post the status of every connection in an agent
      Parameters:
      body - Connection status from a single agent (required)
      Throws:
      ApiException - if fails to make API call
    • postAgentStatusWithHttpInfo

      public void postAgentStatusWithHttpInfo(AgentStatusV1 body) throws ApiException
      Post the status of every connection in an agent
      Parameters:
      body - Connection status from a single agent (required)
      Throws:
      ApiException - if fails to make API call
    • postAgentStatusWithHeadersAndHttpInfo

      public void postAgentStatusWithHeadersAndHttpInfo(AgentStatusV1 body, Map<String,String> customHeaders) throws ApiException
      Post the status of every connection in an agent
      Parameters:
      body - Connection status from a single agent (required)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • restartAgent

      public StatusMessageBase restartAgent(String agentName) throws ApiException
      Restart an agent
      Parameters:
      agentName - Name of the agent to restart. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      Returns:
      StatusMessageBase
      Throws:
      ApiException - if fails to make API call
    • restartAgentWithHttpInfo

      public ApiClient.ApiResponse<StatusMessageBase> restartAgentWithHttpInfo(String agentName) throws ApiException
      Restart an agent
      Parameters:
      agentName - Name of the agent to restart. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      Throws:
      ApiException - if fails to make API call
    • restartAgentWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<StatusMessageBase> restartAgentWithHeadersAndHttpInfo(String agentName, Map<String,String> customHeaders) throws ApiException
      Restart an agent
      Parameters:
      agentName - Name of the agent to restart. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • restartConnector

      public StatusMessageBase restartConnector(String agentName, String connectorName) throws ApiException
      Restart a connector
      Parameters:
      agentName - Name of the agent. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      connectorName - Name of the connector to restart. The connector name can be obtained from the 'Connector' array in the response of 'GET / agents / {agentName}' (required)
      Returns:
      StatusMessageBase
      Throws:
      ApiException - if fails to make API call
    • restartConnectorWithHttpInfo

      public ApiClient.ApiResponse<StatusMessageBase> restartConnectorWithHttpInfo(String agentName, String connectorName) throws ApiException
      Restart a connector
      Parameters:
      agentName - Name of the agent. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      connectorName - Name of the connector to restart. The connector name can be obtained from the 'Connector' array in the response of 'GET / agents / {agentName}' (required)
      Throws:
      ApiException - if fails to make API call
    • restartConnectorWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<StatusMessageBase> restartConnectorWithHeadersAndHttpInfo(String agentName, String connectorName, Map<String,String> customHeaders) throws ApiException
      Restart a connector
      Parameters:
      agentName - Name of the agent. The name of the agent can be obtained from the result of GET /agents/status or from the result of GET /agents/datasources-status (required)
      connectorName - Name of the connector to restart. The connector name can be obtained from the 'Connector' array in the response of 'GET / agents / {agentName}' (required)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • updateDirective

      public void updateDirective(DirectiveInputV1 body) throws ApiException
      Writes remote update directive config option and sets last updated timestamp
      Parameters:
      body - Directive info to update (required)
      Throws:
      ApiException - if fails to make API call
    • updateDirectiveWithHttpInfo

      public void updateDirectiveWithHttpInfo(DirectiveInputV1 body) throws ApiException
      Writes remote update directive config option and sets last updated timestamp
      Parameters:
      body - Directive info to update (required)
      Throws:
      ApiException - if fails to make API call
    • updateDirectiveWithHeadersAndHttpInfo

      public void updateDirectiveWithHeadersAndHttpInfo(DirectiveInputV1 body, Map<String,String> customHeaders) throws ApiException
      Writes remote update directive config option and sets last updated timestamp
      Parameters:
      body - Directive info to update (required)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • updateRemoteAgentStatus

      public RemoteAgentStatusOutputV1 updateRemoteAgentStatus(String machineName, RemoteAgentStatusInputV1 body) throws ApiException
      Create or update status of an agent-machine for remote-updates
      Parameters:
      machineName - Name of the remote agent machine to create or update with new status (required)
      body - Remote agent status (required)
      Returns:
      RemoteAgentStatusOutputV1
      Throws:
      ApiException - if fails to make API call
    • updateRemoteAgentStatusWithHttpInfo

      public ApiClient.ApiResponse<RemoteAgentStatusOutputV1> updateRemoteAgentStatusWithHttpInfo(String machineName, RemoteAgentStatusInputV1 body) throws ApiException
      Create or update status of an agent-machine for remote-updates
      Parameters:
      machineName - Name of the remote agent machine to create or update with new status (required)
      body - Remote agent status (required)
      Throws:
      ApiException - if fails to make API call
    • updateRemoteAgentStatusWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<RemoteAgentStatusOutputV1> updateRemoteAgentStatusWithHeadersAndHttpInfo(String machineName, RemoteAgentStatusInputV1 body, Map<String,String> customHeaders) throws ApiException
      Create or update status of an agent-machine for remote-updates
      Parameters:
      machineName - Name of the remote agent machine to create or update with new status (required)
      body - Remote agent status (required)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call