Package com.seeq.api
Class AgentsApi
java.lang.Object
com.seeq.api.AgentsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarchiveAgent
(String agentName) Archive an agentarchiveAgentWithHeadersAndHttpInfo
(String agentName, Map<String, String> customHeaders) Archive an agentarchiveAgentWithHttpInfo
(String agentName) Archive an agentarchiveConnection
(String agentName, String connectorName, String connectionName) Archive a connectionarchiveConnectionWithHeadersAndHttpInfo
(String agentName, String connectorName, String connectionName, Map<String, String> customHeaders) Archive a connectionarchiveConnectionWithHttpInfo
(String agentName, String connectorName, String connectionName) Archive a connectionarchiveConnector
(String agentName, String connectorName) Archive a connectorarchiveConnectorWithHeadersAndHttpInfo
(String agentName, String connectorName, Map<String, String> customHeaders) Archive a connectorarchiveConnectorWithHttpInfo
(String agentName, String connectorName) Archive a connectorGet a list of available installers on this SeeqconfiguredDirectivesWithHeadersAndHttpInfo
(Map<String, String> customHeaders) Get a list of available installers on this SeeqGet a list of available installers on this SeeqcreateOrUpdateAgent
(String agentName, AgentInputV1 body) Create or update an agentcreateOrUpdateAgentWithHeadersAndHttpInfo
(String agentName, AgentInputV1 body, Map<String, String> customHeaders) Create or update an agentcreateOrUpdateAgentWithHttpInfo
(String agentName, AgentInputV1 body) Create or update an agentcreateOrUpdateConnection
(String agentName, String connectorName, String connectionName, ConnectionInputV1 body) Create or update a connectioncreateOrUpdateConnectionWithHeadersAndHttpInfo
(String agentName, String connectorName, String connectionName, ConnectionInputV1 body, Map<String, String> customHeaders) Create or update a connectioncreateOrUpdateConnectionWithHttpInfo
(String agentName, String connectorName, String connectionName, ConnectionInputV1 body) Create or update a connectioncreateOrUpdateConnector
(String agentName, String connectorName, ConnectorInputV1 body) Create or update a connectorcreateOrUpdateConnectorWithHeadersAndHttpInfo
(String agentName, String connectorName, ConnectorInputV1 body, Map<String, String> customHeaders) Create or update a connectorcreateOrUpdateConnectorWithHttpInfo
(String agentName, String connectorName, ConnectorInputV1 body) Create or update a connectorGet an agent and its configurationGet the status of every connection in every agent that the user has access togetAgentStatusWithHeadersAndHttpInfo
(Map<String, String> customHeaders) Get the status of every connection in every agent that the user has access toGet the status of every connection in every agent that the user has access togetAgentWithHeadersAndHttpInfo
(String agentName, Map<String, String> customHeaders) Get an agent and its configurationgetAgentWithHttpInfo
(String agentName) Get an agent and its configurationgetConnection
(String agentName, String connectorName, String connectionName) Get a connection and its configurationgetConnections
(String agentName, String connectorName) Gets the configuration of all connections of a connectorgetConnectionsWithHeadersAndHttpInfo
(String agentName, String connectorName, Map<String, String> customHeaders) Gets the configuration of all connections of a connectorgetConnectionsWithHttpInfo
(String agentName, String connectorName) Gets the configuration of all connections of a connectorgetConnectionWithHeadersAndHttpInfo
(String agentName, String connectorName, String connectionName, Map<String, String> customHeaders) Get a connection and its configurationgetConnectionWithHttpInfo
(String agentName, String connectorName, String connectionName) Get a connection and its configurationgetConnector
(String agentName, String connectorName) Get a connector and its configurationgetConnectors
(String agentName) Gets the configuration of all connectors hosted by an agentgetConnectorsWithHeadersAndHttpInfo
(String agentName, Map<String, String> customHeaders) Gets the configuration of all connectors hosted by an agentgetConnectorsWithHttpInfo
(String agentName) Gets the configuration of all connectors hosted by an agentgetConnectorWithHeadersAndHttpInfo
(String agentName, String connectorName, Map<String, String> customHeaders) Get a connector and its configurationgetConnectorWithHttpInfo
(String agentName, String connectorName) Get a connector and its configurationGet the status of every connection for every datasource that the user has access togetDatasourcesStatusWithHeadersAndHttpInfo
(Map<String, String> customHeaders) Get the status of every connection for every datasource that the user has access toGet the status of every connection for every datasource that the user has access togetRemoteUpdateDirectives
(String machineName) Get update directives for the remote agentgetRemoteUpdateDirectivesWithHeadersAndHttpInfo
(String machineName, Map<String, String> customHeaders) Get update directives for the remote agentgetRemoteUpdateDirectivesWithHttpInfo
(String machineName) Get update directives for the remote agentlong
index
(String datasourceClass, String datasourceId, IndexingParametersInputV1 body) Request indexing of the given datasource.indexWithHeadersAndHttpInfo
(String datasourceClass, String datasourceId, IndexingParametersInputV1 body, Map<String, String> customHeaders) Request indexing of the given datasource.indexWithHttpInfo
(String datasourceClass, String datasourceId, IndexingParametersInputV1 body) Request indexing of the given datasource.void
postAgentStatus
(AgentStatusV1 body) Post the status of every connection in an agentvoid
postAgentStatusWithHeadersAndHttpInfo
(AgentStatusV1 body, Map<String, String> customHeaders) Post the status of every connection in an agentvoid
Post the status of every connection in an agentrestartAgent
(String agentName) Restart an agentrestartAgentWithHeadersAndHttpInfo
(String agentName, Map<String, String> customHeaders) Restart an agentrestartAgentWithHttpInfo
(String agentName) Restart an agentrestartConnector
(String agentName, String connectorName) Restart a connectorrestartConnectorWithHeadersAndHttpInfo
(String agentName, String connectorName, Map<String, String> customHeaders) Restart a connectorrestartConnectorWithHttpInfo
(String agentName, String connectorName) Restart a connectorvoid
setApiClient
(ApiClient apiClient) void
setRetryTimeout
(long retryTimeout) void
Writes remote update directive config option and sets last updated timestampvoid
updateDirectiveWithHeadersAndHttpInfo
(DirectiveInputV1 body, Map<String, String> customHeaders) Writes remote update directive config option and sets last updated timestampvoid
Writes remote update directive config option and sets last updated timestampupdateRemoteAgentStatus
(String machineName, RemoteAgentStatusInputV1 body) Create or update status of an agent-machine for remote-updatesupdateRemoteAgentStatusWithHeadersAndHttpInfo
(String machineName, RemoteAgentStatusInputV1 body, Map<String, String> customHeaders) Create or update status of an agent-machine for remote-updatesupdateRemoteAgentStatusWithHttpInfo
(String machineName, RemoteAgentStatusInputV1 body) Create or update status of an agent-machine for remote-updates
-
Constructor Details
-
AgentsApi
public AgentsApi() -
AgentsApi
-
-
Method Details
-
setRetryTimeout
public void setRetryTimeout(long retryTimeout) -
getRetryTimeout
public long getRetryTimeout() -
getApiClient
-
setApiClient
-
archiveAgent
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 ApiExceptionArchive 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 ApiExceptionArchive 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 ApiExceptionArchive 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
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 ApiExceptionGet 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 ApiExceptionGet 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
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 ApiExceptionCreate 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 ApiExceptionCreate 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 ApiExceptionCreate 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
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 ApiExceptionGet 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
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
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 ApiExceptionGet 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 ApiExceptionGet 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 ApiExceptionGets 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
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 ApiExceptionGet 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
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 ApiExceptionGets 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
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 ApiExceptionGet 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 ApiExceptionGet 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 ApiExceptionGet 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 ApiExceptionRequest 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
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
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 ApiExceptionPost 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
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 ApiExceptionRestart 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 ApiExceptionRestart 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
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
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 ApiExceptionWrites 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 ApiExceptionCreate 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
-