Package com.seeq.api
Class RequestsApi
java.lang.Object
com.seeq.api.RequestsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCancel all requestscancelAllRequestsWithHeadersAndHttpInfo
(Map<String, String> customHeaders) Cancel all requestsCancel all requestsCancel all requests made by the invoking usercancelMyRequestsBySessionId
(String sessionId) Cancel all requests made by the invoking user for a specific sessioncancelMyRequestsBySessionIdWithHeadersAndHttpInfo
(String sessionId, Map<String, String> customHeaders) Cancel all requests made by the invoking user for a specific sessioncancelMyRequestsBySessionIdWithHttpInfo
(String sessionId) Cancel all requests made by the invoking user for a specific sessioncancelMyRequestsWithHeadersAndHttpInfo
(Map<String, String> customHeaders) Cancel all requests made by the invoking userCancel all requests made by the invoking usercancelRequest
(String requestId) Cancel a requestcancelRequests
(String userId, String datasourceClass, String datasourceId, String dataId) Cancel multiple requests, optionally filtering by a user and/or datasource.cancelRequestsWithHeadersAndHttpInfo
(String userId, String datasourceClass, String datasourceId, String dataId, Map<String, String> customHeaders) Cancel multiple requests, optionally filtering by a user and/or datasource.cancelRequestsWithHttpInfo
(String userId, String datasourceClass, String datasourceId, String dataId) Cancel multiple requests, optionally filtering by a user and/or datasource.cancelRequestWithHeadersAndHttpInfo
(String requestId, Map<String, String> customHeaders) Cancel a requestcancelRequestWithHttpInfo
(String requestId) Cancel a requestgetRequest
(String requestId) Get progress information for the request identified by the supplied IDgetRequests
(Integer limit) Get the collection of requestsgetRequestsWithHeadersAndHttpInfo
(Integer limit, Map<String, String> customHeaders) Get the collection of requestsgetRequestsWithHttpInfo
(Integer limit) Get the collection of requestsgetRequestWithHeadersAndHttpInfo
(String requestId, Map<String, String> customHeaders) Get progress information for the request identified by the supplied IDgetRequestWithHttpInfo
(String requestId) Get progress information for the request identified by the supplied IDlong
restartRequest
(String requestId) Restart a request, sending it to the back of the linerestartRequestWithHeadersAndHttpInfo
(String requestId, Map<String, String> customHeaders) Restart a request, sending it to the back of the linerestartRequestWithHttpInfo
(String requestId) Restart a request, sending it to the back of the linevoid
setApiClient
(ApiClient apiClient) void
setRetryTimeout
(long retryTimeout)
-
Constructor Details
-
RequestsApi
public RequestsApi() -
RequestsApi
-
-
Method Details
-
setRetryTimeout
public void setRetryTimeout(long retryTimeout) -
getRetryTimeout
public long getRetryTimeout() -
getApiClient
-
setApiClient
-
cancelAllRequests
Cancel all requests- Returns:
- StatusMessageBase
- Throws:
ApiException
- if fails to make API call
-
cancelAllRequestsWithHttpInfo
Cancel all requests- Throws:
ApiException
- if fails to make API call
-
cancelAllRequestsWithHeadersAndHttpInfo
public ApiClient.ApiResponse<StatusMessageBase> cancelAllRequestsWithHeadersAndHttpInfo(Map<String, String> customHeaders) throws ApiExceptionCancel all requests- Parameters:
customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-
cancelMyRequests
Cancel all requests made by the invoking user- Returns:
- StatusMessageBase
- Throws:
ApiException
- if fails to make API call
-
cancelMyRequestsWithHttpInfo
Cancel all requests made by the invoking user- Throws:
ApiException
- if fails to make API call
-
cancelMyRequestsWithHeadersAndHttpInfo
public ApiClient.ApiResponse<StatusMessageBase> cancelMyRequestsWithHeadersAndHttpInfo(Map<String, String> customHeaders) throws ApiExceptionCancel all requests made by the invoking user- Parameters:
customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-
cancelMyRequestsBySessionId
Cancel all requests made by the invoking user for a specific session- Parameters:
sessionId
- ID of the current session (required)- Returns:
- StatusMessageBase
- Throws:
ApiException
- if fails to make API call
-
cancelMyRequestsBySessionIdWithHttpInfo
public ApiClient.ApiResponse<StatusMessageBase> cancelMyRequestsBySessionIdWithHttpInfo(String sessionId) throws ApiException Cancel all requests made by the invoking user for a specific session- Parameters:
sessionId
- ID of the current session (required)- Throws:
ApiException
- if fails to make API call
-
cancelMyRequestsBySessionIdWithHeadersAndHttpInfo
public ApiClient.ApiResponse<StatusMessageBase> cancelMyRequestsBySessionIdWithHeadersAndHttpInfo(String sessionId, Map<String, String> customHeaders) throws ApiExceptionCancel all requests made by the invoking user for a specific session- Parameters:
sessionId
- ID of the current session (required)customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-
cancelRequest
Cancel a request- Parameters:
requestId
- ID of the request to cancel (required)- Returns:
- StatusMessageBase
- Throws:
ApiException
- if fails to make API call
-
cancelRequestWithHttpInfo
public ApiClient.ApiResponse<StatusMessageBase> cancelRequestWithHttpInfo(String requestId) throws ApiException Cancel a request- Parameters:
requestId
- ID of the request to cancel (required)- Throws:
ApiException
- if fails to make API call
-
cancelRequestWithHeadersAndHttpInfo
public ApiClient.ApiResponse<StatusMessageBase> cancelRequestWithHeadersAndHttpInfo(String requestId, Map<String, String> customHeaders) throws ApiExceptionCancel a request- Parameters:
requestId
- ID of the request to cancel (required)customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-
cancelRequests
public StatusMessageBase cancelRequests(String userId, String datasourceClass, String datasourceId, String dataId) throws ApiException Cancel multiple requests, optionally filtering by a user and/or datasource. If you don't specify any filters, all of the requests currently running in Seeq will be cancelled. If you specify multiple filters, only requests matching all filters will be cancelled.- Parameters:
userId
- userId (optional)datasourceClass
- datasourceClass (optional)datasourceId
- datasourceId (optional)dataId
- dataId (optional)- Returns:
- StatusMessageBase
- Throws:
ApiException
- if fails to make API call
-
cancelRequestsWithHttpInfo
public ApiClient.ApiResponse<StatusMessageBase> cancelRequestsWithHttpInfo(String userId, String datasourceClass, String datasourceId, String dataId) throws ApiException Cancel multiple requests, optionally filtering by a user and/or datasource. If you don't specify any filters, all of the requests currently running in Seeq will be cancelled. If you specify multiple filters, only requests matching all filters will be cancelled.- Parameters:
userId
- userId (optional)datasourceClass
- datasourceClass (optional)datasourceId
- datasourceId (optional)dataId
- dataId (optional)- Throws:
ApiException
- if fails to make API call
-
cancelRequestsWithHeadersAndHttpInfo
public ApiClient.ApiResponse<StatusMessageBase> cancelRequestsWithHeadersAndHttpInfo(String userId, String datasourceClass, String datasourceId, String dataId, Map<String, String> customHeaders) throws ApiExceptionCancel multiple requests, optionally filtering by a user and/or datasource. If you don't specify any filters, all of the requests currently running in Seeq will be cancelled. If you specify multiple filters, only requests matching all filters will be cancelled.- Parameters:
userId
- userId (optional)datasourceClass
- datasourceClass (optional)datasourceId
- datasourceId (optional)dataId
- dataId (optional)customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-
getRequest
Get progress information for the request identified by the supplied ID- Parameters:
requestId
- ID of the request for which to retrieve progress information (required)- Returns:
- GetRequestOutputV1
- Throws:
ApiException
- if fails to make API call
-
getRequestWithHttpInfo
public ApiClient.ApiResponse<GetRequestOutputV1> getRequestWithHttpInfo(String requestId) throws ApiException Get progress information for the request identified by the supplied ID- Parameters:
requestId
- ID of the request for which to retrieve progress information (required)- Throws:
ApiException
- if fails to make API call
-
getRequestWithHeadersAndHttpInfo
public ApiClient.ApiResponse<GetRequestOutputV1> getRequestWithHeadersAndHttpInfo(String requestId, Map<String, String> customHeaders) throws ApiExceptionGet progress information for the request identified by the supplied ID- Parameters:
requestId
- ID of the request for which to retrieve progress information (required)customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-
getRequests
Get the collection of requests- Parameters:
limit
- The maximum number of requests that will be returned (optional, default to 250)- Returns:
- GetRequestsOutputV1
- Throws:
ApiException
- if fails to make API call
-
getRequestsWithHttpInfo
public ApiClient.ApiResponse<GetRequestsOutputV1> getRequestsWithHttpInfo(Integer limit) throws ApiException Get the collection of requests- Parameters:
limit
- The maximum number of requests that will be returned (optional, default to 250)- Throws:
ApiException
- if fails to make API call
-
getRequestsWithHeadersAndHttpInfo
public ApiClient.ApiResponse<GetRequestsOutputV1> getRequestsWithHeadersAndHttpInfo(Integer limit, Map<String, String> customHeaders) throws ApiExceptionGet the collection of requests- Parameters:
limit
- The maximum number of requests that will be returned (optional, default to 250)customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-
restartRequest
Restart a request, sending it to the back of the line- Parameters:
requestId
- ID of the request to restart (required)- Returns:
- StatusMessageBase
- Throws:
ApiException
- if fails to make API call
-
restartRequestWithHttpInfo
public ApiClient.ApiResponse<StatusMessageBase> restartRequestWithHttpInfo(String requestId) throws ApiException Restart a request, sending it to the back of the line- Parameters:
requestId
- ID of the request to restart (required)- Throws:
ApiException
- if fails to make API call
-
restartRequestWithHeadersAndHttpInfo
public ApiClient.ApiResponse<StatusMessageBase> restartRequestWithHeadersAndHttpInfo(String requestId, Map<String, String> customHeaders) throws ApiExceptionRestart a request, sending it to the back of the line- Parameters:
requestId
- ID of the request to restart (required)customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-