Package ai.reveng.api

Class AnalysesCoreApi

java.lang.Object
ai.reveng.api.AnalysesCoreApi

public class AnalysesCoreApi extends Object
  • Constructor Details

    • AnalysesCoreApi

      public AnalysesCoreApi()
    • AnalysesCoreApi

      public AnalysesCoreApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getHostIndex

      public int getHostIndex()
    • setHostIndex

      public void setHostIndex(int hostIndex)
    • getCustomBaseUrl

      public String getCustomBaseUrl()
    • setCustomBaseUrl

      public void setCustomBaseUrl(String customBaseUrl)
    • createAnalysisCall

      public okhttp3.Call createAnalysisCall(@Nonnull AnalysisCreateRequest analysisCreateRequest, @Nullable String xRevEngApplication, ApiCallback _callback) throws ApiException
      Build call for createAnalysis
      Parameters:
      analysisCreateRequest - (required)
      xRevEngApplication - (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 Successful Response -
      422 Invalid request parameters -
      404 Not Found -
      400 Bad Request -
    • createAnalysis

      public BaseResponseAnalysisCreateResponse createAnalysis(@Nonnull AnalysisCreateRequest analysisCreateRequest, @Nullable String xRevEngApplication) throws ApiException
      Create Analysis Begins an analysis
      Parameters:
      analysisCreateRequest - (required)
      xRevEngApplication - (optional)
      Returns:
      BaseResponseAnalysisCreateResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 Successful Response -
      422 Invalid request parameters -
      404 Not Found -
      400 Bad Request -
    • createAnalysisWithHttpInfo

      public ApiResponse<BaseResponseAnalysisCreateResponse> createAnalysisWithHttpInfo(@Nonnull AnalysisCreateRequest analysisCreateRequest, @Nullable String xRevEngApplication) throws ApiException
      Create Analysis Begins an analysis
      Parameters:
      analysisCreateRequest - (required)
      xRevEngApplication - (optional)
      Returns:
      ApiResponse<BaseResponseAnalysisCreateResponse>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 Successful Response -
      422 Invalid request parameters -
      404 Not Found -
      400 Bad Request -
    • createAnalysisAsync

      public okhttp3.Call createAnalysisAsync(@Nonnull AnalysisCreateRequest analysisCreateRequest, @Nullable String xRevEngApplication, ApiCallback<BaseResponseAnalysisCreateResponse> _callback) throws ApiException
      Create Analysis (asynchronously) Begins an analysis
      Parameters:
      analysisCreateRequest - (required)
      xRevEngApplication - (optional)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 Successful Response -
      422 Invalid request parameters -
      404 Not Found -
      400 Bad Request -
    • deleteAnalysisCall

      public okhttp3.Call deleteAnalysisCall(@Nonnull Integer analysisId, ApiCallback _callback) throws ApiException
      Build call for deleteAnalysis
      Parameters:
      analysisId - (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
      404 Not Found -
      403 Forbidden -
    • deleteAnalysis

      public BaseResponseDict deleteAnalysis(@Nonnull Integer analysisId) throws ApiException
      Delete Analysis Deletes an analysis based on the provided analysis ID.
      Parameters:
      analysisId - (required)
      Returns:
      BaseResponseDict
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
      404 Not Found -
      403 Forbidden -
    • deleteAnalysisWithHttpInfo

      public ApiResponse<BaseResponseDict> deleteAnalysisWithHttpInfo(@Nonnull Integer analysisId) throws ApiException
      Delete Analysis Deletes an analysis based on the provided analysis ID.
      Parameters:
      analysisId - (required)
      Returns:
      ApiResponse<BaseResponseDict>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
      404 Not Found -
      403 Forbidden -
    • deleteAnalysisAsync

      public okhttp3.Call deleteAnalysisAsync(@Nonnull Integer analysisId, ApiCallback<BaseResponseDict> _callback) throws ApiException
      Delete Analysis (asynchronously) Deletes an analysis based on the provided analysis ID.
      Parameters:
      analysisId - (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
      404 Not Found -
      403 Forbidden -
    • getAnalysisBasicInfoCall

      public okhttp3.Call getAnalysisBasicInfoCall(@Nonnull Integer analysisId, ApiCallback _callback) throws ApiException
      Build call for getAnalysisBasicInfo
      Parameters:
      analysisId - (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • getAnalysisBasicInfo

      public BaseResponseBasic getAnalysisBasicInfo(@Nonnull Integer analysisId) throws ApiException
      Gets basic analysis information Returns basic analysis information for an analysis
      Parameters:
      analysisId - (required)
      Returns:
      BaseResponseBasic
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • getAnalysisBasicInfoWithHttpInfo

      public ApiResponse<BaseResponseBasic> getAnalysisBasicInfoWithHttpInfo(@Nonnull Integer analysisId) throws ApiException
      Gets basic analysis information Returns basic analysis information for an analysis
      Parameters:
      analysisId - (required)
      Returns:
      ApiResponse<BaseResponseBasic>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • getAnalysisBasicInfoAsync

      public okhttp3.Call getAnalysisBasicInfoAsync(@Nonnull Integer analysisId, ApiCallback<BaseResponseBasic> _callback) throws ApiException
      Gets basic analysis information (asynchronously) Returns basic analysis information for an analysis
      Parameters:
      analysisId - (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • getAnalysisBytesCall

      public okhttp3.Call getAnalysisBytesCall(@Nonnull Long analysisId, @Nullable Long page, ApiCallback _callback) throws ApiException
      Build call for getAnalysisBytes
      Parameters:
      analysisId - Analysis ID (required)
      page - 64kb page of binary data (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 OK -
      400 Bad Request -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAnalysisBytes

      public void getAnalysisBytes(@Nonnull Long analysisId, @Nullable Long page) throws ApiException
      Get the bytes of a binary Returns a 64kb byte page from the binary. **Error codes:** - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `400` [`BAD_REQUEST`](/errors/BAD_REQUEST) — Bad Request
      Parameters:
      analysisId - Analysis ID (required)
      page - 64kb page of binary data (optional)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 OK -
      400 Bad Request -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAnalysisBytesWithHttpInfo

      public ApiResponse<Void> getAnalysisBytesWithHttpInfo(@Nonnull Long analysisId, @Nullable Long page) throws ApiException
      Get the bytes of a binary Returns a 64kb byte page from the binary. **Error codes:** - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `400` [`BAD_REQUEST`](/errors/BAD_REQUEST) — Bad Request
      Parameters:
      analysisId - Analysis ID (required)
      page - 64kb page of binary data (optional)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 OK -
      400 Bad Request -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAnalysisBytesAsync

      public okhttp3.Call getAnalysisBytesAsync(@Nonnull Long analysisId, @Nullable Long page, ApiCallback<Void> _callback) throws ApiException
      Get the bytes of a binary (asynchronously) Returns a 64kb byte page from the binary. **Error codes:** - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `400` [`BAD_REQUEST`](/errors/BAD_REQUEST) — Bad Request
      Parameters:
      analysisId - Analysis ID (required)
      page - 64kb page of binary data (optional)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 OK -
      400 Bad Request -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAnalysisFunctionMapCall

      public okhttp3.Call getAnalysisFunctionMapCall(@Nonnull Integer analysisId, ApiCallback _callback) throws ApiException
      Build call for getAnalysisFunctionMap
      Parameters:
      analysisId - (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • getAnalysisFunctionMap

      public BaseResponseAnalysisFunctionMapping getAnalysisFunctionMap(@Nonnull Integer analysisId) throws ApiException
      Get Analysis Function Map Returns three maps: a map of function ids to function addresses, it's inverse and a map of function addresses to function names.
      Parameters:
      analysisId - (required)
      Returns:
      BaseResponseAnalysisFunctionMapping
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • getAnalysisFunctionMapWithHttpInfo

      public ApiResponse<BaseResponseAnalysisFunctionMapping> getAnalysisFunctionMapWithHttpInfo(@Nonnull Integer analysisId) throws ApiException
      Get Analysis Function Map Returns three maps: a map of function ids to function addresses, it's inverse and a map of function addresses to function names.
      Parameters:
      analysisId - (required)
      Returns:
      ApiResponse<BaseResponseAnalysisFunctionMapping>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • getAnalysisFunctionMapAsync

      public okhttp3.Call getAnalysisFunctionMapAsync(@Nonnull Integer analysisId, ApiCallback<BaseResponseAnalysisFunctionMapping> _callback) throws ApiException
      Get Analysis Function Map (asynchronously) Returns three maps: a map of function ids to function addresses, it's inverse and a map of function addresses to function names.
      Parameters:
      analysisId - (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • getAnalysisLogsCall

      public okhttp3.Call getAnalysisLogsCall(@Nonnull Integer analysisId, ApiCallback _callback) throws ApiException
      Build call for getAnalysisLogs
      Parameters:
      analysisId - (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • getAnalysisLogs

      public BaseResponseLogs getAnalysisLogs(@Nonnull Integer analysisId) throws ApiException
      Gets the logs of an analysis Given an analysis ID gets the current logs of an analysis
      Parameters:
      analysisId - (required)
      Returns:
      BaseResponseLogs
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • getAnalysisLogsWithHttpInfo

      public ApiResponse<BaseResponseLogs> getAnalysisLogsWithHttpInfo(@Nonnull Integer analysisId) throws ApiException
      Gets the logs of an analysis Given an analysis ID gets the current logs of an analysis
      Parameters:
      analysisId - (required)
      Returns:
      ApiResponse<BaseResponseLogs>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • getAnalysisLogsAsync

      public okhttp3.Call getAnalysisLogsAsync(@Nonnull Integer analysisId, ApiCallback<BaseResponseLogs> _callback) throws ApiException
      Gets the logs of an analysis (asynchronously) Given an analysis ID gets the current logs of an analysis
      Parameters:
      analysisId - (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • getAnalysisParamsCall

      public okhttp3.Call getAnalysisParamsCall(@Nonnull Integer analysisId, ApiCallback _callback) throws ApiException
      Build call for getAnalysisParams
      Parameters:
      analysisId - (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • getAnalysisParams

      public BaseResponseParams getAnalysisParams(@Nonnull Integer analysisId) throws ApiException
      Gets analysis param information Gets the params that the analysis was run with
      Parameters:
      analysisId - (required)
      Returns:
      BaseResponseParams
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • getAnalysisParamsWithHttpInfo

      public ApiResponse<BaseResponseParams> getAnalysisParamsWithHttpInfo(@Nonnull Integer analysisId) throws ApiException
      Gets analysis param information Gets the params that the analysis was run with
      Parameters:
      analysisId - (required)
      Returns:
      ApiResponse<BaseResponseParams>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • getAnalysisParamsAsync

      public okhttp3.Call getAnalysisParamsAsync(@Nonnull Integer analysisId, ApiCallback<BaseResponseParams> _callback) throws ApiException
      Gets analysis param information (asynchronously) Gets the params that the analysis was run with
      Parameters:
      analysisId - (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • getAnalysisQueuePositionCall

      public okhttp3.Call getAnalysisQueuePositionCall(@Nonnull Long analysisId, ApiCallback _callback) throws ApiException
      Build call for getAnalysisQueuePosition
      Parameters:
      analysisId - Analysis ID (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAnalysisQueuePosition

      public QueuePositionResponse getAnalysisQueuePosition(@Nonnull Long analysisId) throws ApiException
      Get the queue position of an analysis Returns the number of Processing analyses with a lower analysis_id than the given one. Useful for showing the user where they sit in the processing queue while waiting for their analysis to start. **Error codes:** - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied
      Parameters:
      analysisId - Analysis ID (required)
      Returns:
      QueuePositionResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAnalysisQueuePositionWithHttpInfo

      public ApiResponse<QueuePositionResponse> getAnalysisQueuePositionWithHttpInfo(@Nonnull Long analysisId) throws ApiException
      Get the queue position of an analysis Returns the number of Processing analyses with a lower analysis_id than the given one. Useful for showing the user where they sit in the processing queue while waiting for their analysis to start. **Error codes:** - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied
      Parameters:
      analysisId - Analysis ID (required)
      Returns:
      ApiResponse<QueuePositionResponse>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAnalysisQueuePositionAsync

      public okhttp3.Call getAnalysisQueuePositionAsync(@Nonnull Long analysisId, ApiCallback<QueuePositionResponse> _callback) throws ApiException
      Get the queue position of an analysis (asynchronously) Returns the number of Processing analyses with a lower analysis_id than the given one. Useful for showing the user where they sit in the processing queue while waiting for their analysis to start. **Error codes:** - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied
      Parameters:
      analysisId - Analysis ID (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAnalysisStatusCall

      public okhttp3.Call getAnalysisStatusCall(@Nonnull Integer analysisId, ApiCallback _callback) throws ApiException
      Build call for getAnalysisStatus
      Parameters:
      analysisId - (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • getAnalysisStatus

      public BaseResponseStatus getAnalysisStatus(@Nonnull Integer analysisId) throws ApiException
      Gets the status of an analysis Given an analysis ID gets the current status of the analysis
      Parameters:
      analysisId - (required)
      Returns:
      BaseResponseStatus
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • getAnalysisStatusWithHttpInfo

      public ApiResponse<BaseResponseStatus> getAnalysisStatusWithHttpInfo(@Nonnull Integer analysisId) throws ApiException
      Gets the status of an analysis Given an analysis ID gets the current status of the analysis
      Parameters:
      analysisId - (required)
      Returns:
      ApiResponse<BaseResponseStatus>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • getAnalysisStatusAsync

      public okhttp3.Call getAnalysisStatusAsync(@Nonnull Integer analysisId, ApiCallback<BaseResponseStatus> _callback) throws ApiException
      Gets the status of an analysis (asynchronously) Given an analysis ID gets the current status of the analysis
      Parameters:
      analysisId - (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • insertAnalysisLogCall

      public okhttp3.Call insertAnalysisLogCall(@Nonnull Integer analysisId, @Nonnull InsertAnalysisLogRequest insertAnalysisLogRequest, ApiCallback _callback) throws ApiException
      Build call for insertAnalysisLog
      Parameters:
      analysisId - (required)
      insertAnalysisLogRequest - (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 Successful Response -
      422 Invalid request parameters -
    • insertAnalysisLog

      public BaseResponse insertAnalysisLog(@Nonnull Integer analysisId, @Nonnull InsertAnalysisLogRequest insertAnalysisLogRequest) throws ApiException
      Insert a log entry for an analysis Inserts a log record for an analysis. Only the analysis owner can insert logs.
      Parameters:
      analysisId - (required)
      insertAnalysisLogRequest - (required)
      Returns:
      BaseResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 Successful Response -
      422 Invalid request parameters -
    • insertAnalysisLogWithHttpInfo

      public ApiResponse<BaseResponse> insertAnalysisLogWithHttpInfo(@Nonnull Integer analysisId, @Nonnull InsertAnalysisLogRequest insertAnalysisLogRequest) throws ApiException
      Insert a log entry for an analysis Inserts a log record for an analysis. Only the analysis owner can insert logs.
      Parameters:
      analysisId - (required)
      insertAnalysisLogRequest - (required)
      Returns:
      ApiResponse<BaseResponse>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 Successful Response -
      422 Invalid request parameters -
    • insertAnalysisLogAsync

      public okhttp3.Call insertAnalysisLogAsync(@Nonnull Integer analysisId, @Nonnull InsertAnalysisLogRequest insertAnalysisLogRequest, ApiCallback<BaseResponse> _callback) throws ApiException
      Insert a log entry for an analysis (asynchronously) Inserts a log record for an analysis. Only the analysis owner can insert logs.
      Parameters:
      analysisId - (required)
      insertAnalysisLogRequest - (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 Successful Response -
      422 Invalid request parameters -
    • listAnalysesCall

      public okhttp3.Call listAnalysesCall(@Nullable String searchTerm, @Nullable List<Workspace> workspace, @Nullable List<StatusInput> status, @Nullable List<ModelName> modelName, @Nullable DynamicExecutionStatus dynamicExecutionStatus, @Nullable List<String> usernames, @Nullable String sha256Hash, @Nullable Integer limit, @Nullable Integer offset, @Nullable AppApiRestV2AnalysesEnumsOrderBy orderBy, @Nullable Order order, ApiCallback _callback) throws ApiException
      Build call for listAnalyses
      Parameters:
      searchTerm - (optional, default to )
      workspace - The workspace to be viewed (optional)
      status - The status of the analysis (optional)
      modelName - Show analysis belonging to the model (optional)
      dynamicExecutionStatus - Show analysis that have a dynamic execution with the given status (optional)
      usernames - Show analysis belonging to the user (optional)
      sha256Hash - (optional)
      limit - (optional, default to 20)
      offset - (optional, default to 0)
      orderBy - (optional)
      order - (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • listAnalyses

      public BaseResponseRecent listAnalyses(@Nullable String searchTerm, @Nullable List<Workspace> workspace, @Nullable List<StatusInput> status, @Nullable List<ModelName> modelName, @Nullable DynamicExecutionStatus dynamicExecutionStatus, @Nullable List<String> usernames, @Nullable String sha256Hash, @Nullable Integer limit, @Nullable Integer offset, @Nullable AppApiRestV2AnalysesEnumsOrderBy orderBy, @Nullable Order order) throws ApiException
      Gets the most recent analyses Gets the most recent analyses provided a scope, this is then paginated, if pages and limit doesnt fit, it increases the limit
      Parameters:
      searchTerm - (optional, default to )
      workspace - The workspace to be viewed (optional)
      status - The status of the analysis (optional)
      modelName - Show analysis belonging to the model (optional)
      dynamicExecutionStatus - Show analysis that have a dynamic execution with the given status (optional)
      usernames - Show analysis belonging to the user (optional)
      sha256Hash - (optional)
      limit - (optional, default to 20)
      offset - (optional, default to 0)
      orderBy - (optional)
      order - (optional)
      Returns:
      BaseResponseRecent
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • listAnalysesWithHttpInfo

      public ApiResponse<BaseResponseRecent> listAnalysesWithHttpInfo(@Nullable String searchTerm, @Nullable List<Workspace> workspace, @Nullable List<StatusInput> status, @Nullable List<ModelName> modelName, @Nullable DynamicExecutionStatus dynamicExecutionStatus, @Nullable List<String> usernames, @Nullable String sha256Hash, @Nullable Integer limit, @Nullable Integer offset, @Nullable AppApiRestV2AnalysesEnumsOrderBy orderBy, @Nullable Order order) throws ApiException
      Gets the most recent analyses Gets the most recent analyses provided a scope, this is then paginated, if pages and limit doesnt fit, it increases the limit
      Parameters:
      searchTerm - (optional, default to )
      workspace - The workspace to be viewed (optional)
      status - The status of the analysis (optional)
      modelName - Show analysis belonging to the model (optional)
      dynamicExecutionStatus - Show analysis that have a dynamic execution with the given status (optional)
      usernames - Show analysis belonging to the user (optional)
      sha256Hash - (optional)
      limit - (optional, default to 20)
      offset - (optional, default to 0)
      orderBy - (optional)
      order - (optional)
      Returns:
      ApiResponse<BaseResponseRecent>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • listAnalysesAsync

      public okhttp3.Call listAnalysesAsync(@Nullable String searchTerm, @Nullable List<Workspace> workspace, @Nullable List<StatusInput> status, @Nullable List<ModelName> modelName, @Nullable DynamicExecutionStatus dynamicExecutionStatus, @Nullable List<String> usernames, @Nullable String sha256Hash, @Nullable Integer limit, @Nullable Integer offset, @Nullable AppApiRestV2AnalysesEnumsOrderBy orderBy, @Nullable Order order, ApiCallback<BaseResponseRecent> _callback) throws ApiException
      Gets the most recent analyses (asynchronously) Gets the most recent analyses provided a scope, this is then paginated, if pages and limit doesnt fit, it increases the limit
      Parameters:
      searchTerm - (optional, default to )
      workspace - The workspace to be viewed (optional)
      status - The status of the analysis (optional)
      modelName - Show analysis belonging to the model (optional)
      dynamicExecutionStatus - Show analysis that have a dynamic execution with the given status (optional)
      usernames - Show analysis belonging to the user (optional)
      sha256Hash - (optional)
      limit - (optional, default to 20)
      offset - (optional, default to 0)
      orderBy - (optional)
      order - (optional)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • lookupBinaryIdCall

      public okhttp3.Call lookupBinaryIdCall(@Nonnull Integer binaryId, ApiCallback _callback) throws ApiException
      Build call for lookupBinaryId
      Parameters:
      binaryId - (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • lookupBinaryId

      public Object lookupBinaryId(@Nonnull Integer binaryId) throws ApiException
      Gets the analysis ID from binary ID Given an binary ID gets the ID of an analysis
      Parameters:
      binaryId - (required)
      Returns:
      Object
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • lookupBinaryIdWithHttpInfo

      public ApiResponse<Object> lookupBinaryIdWithHttpInfo(@Nonnull Integer binaryId) throws ApiException
      Gets the analysis ID from binary ID Given an binary ID gets the ID of an analysis
      Parameters:
      binaryId - (required)
      Returns:
      ApiResponse<Object>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • lookupBinaryIdAsync

      public okhttp3.Call lookupBinaryIdAsync(@Nonnull Integer binaryId, ApiCallback<Object> _callback) throws ApiException
      Gets the analysis ID from binary ID (asynchronously) Given an binary ID gets the ID of an analysis
      Parameters:
      binaryId - (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • putAnalysisStringsCall

      public okhttp3.Call putAnalysisStringsCall(@Nonnull Integer analysisId, @Nonnull PutAnalysisStringsRequest putAnalysisStringsRequest, ApiCallback _callback) throws ApiException
      Build call for putAnalysisStrings
      Parameters:
      analysisId - (required)
      putAnalysisStringsRequest - (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 Successful Response -
      422 Invalid request parameters -
    • putAnalysisStrings

      public BaseResponse putAnalysisStrings(@Nonnull Integer analysisId, @Nonnull PutAnalysisStringsRequest putAnalysisStringsRequest) throws ApiException
      Add strings to the analysis Add strings to the analysis. Rejects if any string already exists at the given vaddr.
      Parameters:
      analysisId - (required)
      putAnalysisStringsRequest - (required)
      Returns:
      BaseResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 Successful Response -
      422 Invalid request parameters -
    • putAnalysisStringsWithHttpInfo

      public ApiResponse<BaseResponse> putAnalysisStringsWithHttpInfo(@Nonnull Integer analysisId, @Nonnull PutAnalysisStringsRequest putAnalysisStringsRequest) throws ApiException
      Add strings to the analysis Add strings to the analysis. Rejects if any string already exists at the given vaddr.
      Parameters:
      analysisId - (required)
      putAnalysisStringsRequest - (required)
      Returns:
      ApiResponse<BaseResponse>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 Successful Response -
      422 Invalid request parameters -
    • putAnalysisStringsAsync

      public okhttp3.Call putAnalysisStringsAsync(@Nonnull Integer analysisId, @Nonnull PutAnalysisStringsRequest putAnalysisStringsRequest, ApiCallback<BaseResponse> _callback) throws ApiException
      Add strings to the analysis (asynchronously) Add strings to the analysis. Rejects if any string already exists at the given vaddr.
      Parameters:
      analysisId - (required)
      putAnalysisStringsRequest - (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 Successful Response -
      422 Invalid request parameters -
    • requeueAnalysisCall

      public okhttp3.Call requeueAnalysisCall(@Nonnull Integer analysisId, @Nonnull ReAnalysisForm reAnalysisForm, @Nullable String xRevEngApplication, ApiCallback _callback) throws ApiException
      Build call for requeueAnalysis
      Parameters:
      analysisId - (required)
      reAnalysisForm - (required)
      xRevEngApplication - (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 Successful Response -
      422 Invalid request parameters -
      404 Not Found -
      400 Bad Request -
    • requeueAnalysis

      public BaseResponseCreated requeueAnalysis(@Nonnull Integer analysisId, @Nonnull ReAnalysisForm reAnalysisForm, @Nullable String xRevEngApplication) throws ApiException
      Requeue Analysis Re-queues an already uploaded analysis
      Parameters:
      analysisId - (required)
      reAnalysisForm - (required)
      xRevEngApplication - (optional)
      Returns:
      BaseResponseCreated
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 Successful Response -
      422 Invalid request parameters -
      404 Not Found -
      400 Bad Request -
    • requeueAnalysisWithHttpInfo

      public ApiResponse<BaseResponseCreated> requeueAnalysisWithHttpInfo(@Nonnull Integer analysisId, @Nonnull ReAnalysisForm reAnalysisForm, @Nullable String xRevEngApplication) throws ApiException
      Requeue Analysis Re-queues an already uploaded analysis
      Parameters:
      analysisId - (required)
      reAnalysisForm - (required)
      xRevEngApplication - (optional)
      Returns:
      ApiResponse<BaseResponseCreated>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 Successful Response -
      422 Invalid request parameters -
      404 Not Found -
      400 Bad Request -
    • requeueAnalysisAsync

      public okhttp3.Call requeueAnalysisAsync(@Nonnull Integer analysisId, @Nonnull ReAnalysisForm reAnalysisForm, @Nullable String xRevEngApplication, ApiCallback<BaseResponseCreated> _callback) throws ApiException
      Requeue Analysis (asynchronously) Re-queues an already uploaded analysis
      Parameters:
      analysisId - (required)
      reAnalysisForm - (required)
      xRevEngApplication - (optional)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 Successful Response -
      422 Invalid request parameters -
      404 Not Found -
      400 Bad Request -
    • updateAnalysisCall

      public okhttp3.Call updateAnalysisCall(@Nonnull Integer analysisId, @Nonnull AnalysisUpdateRequest analysisUpdateRequest, ApiCallback _callback) throws ApiException
      Build call for updateAnalysis
      Parameters:
      analysisId - (required)
      analysisUpdateRequest - (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • updateAnalysis

      public BaseResponseAnalysisDetailResponse updateAnalysis(@Nonnull Integer analysisId, @Nonnull AnalysisUpdateRequest analysisUpdateRequest) throws ApiException
      Update Analysis Updates analysis attributes (binary_name, analysis_scope). User must be the owner.
      Parameters:
      analysisId - (required)
      analysisUpdateRequest - (required)
      Returns:
      BaseResponseAnalysisDetailResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • updateAnalysisWithHttpInfo

      public ApiResponse<BaseResponseAnalysisDetailResponse> updateAnalysisWithHttpInfo(@Nonnull Integer analysisId, @Nonnull AnalysisUpdateRequest analysisUpdateRequest) throws ApiException
      Update Analysis Updates analysis attributes (binary_name, analysis_scope). User must be the owner.
      Parameters:
      analysisId - (required)
      analysisUpdateRequest - (required)
      Returns:
      ApiResponse<BaseResponseAnalysisDetailResponse>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • updateAnalysisAsync

      public okhttp3.Call updateAnalysisAsync(@Nonnull Integer analysisId, @Nonnull AnalysisUpdateRequest analysisUpdateRequest, ApiCallback<BaseResponseAnalysisDetailResponse> _callback) throws ApiException
      Update Analysis (asynchronously) Updates analysis attributes (binary_name, analysis_scope). User must be the owner.
      Parameters:
      analysisId - (required)
      analysisUpdateRequest - (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • updateAnalysisTagsCall

      public okhttp3.Call updateAnalysisTagsCall(@Nonnull Integer analysisId, @Nonnull AnalysisUpdateTagsRequest analysisUpdateTagsRequest, ApiCallback _callback) throws ApiException
      Build call for updateAnalysisTags
      Parameters:
      analysisId - (required)
      analysisUpdateTagsRequest - (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • updateAnalysisTags

      public BaseResponseAnalysisUpdateTagsResponse updateAnalysisTags(@Nonnull Integer analysisId, @Nonnull AnalysisUpdateTagsRequest analysisUpdateTagsRequest) throws ApiException
      Update Analysis Tags Updates analysis tags. User must be the owner.
      Parameters:
      analysisId - (required)
      analysisUpdateTagsRequest - (required)
      Returns:
      BaseResponseAnalysisUpdateTagsResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • updateAnalysisTagsWithHttpInfo

      public ApiResponse<BaseResponseAnalysisUpdateTagsResponse> updateAnalysisTagsWithHttpInfo(@Nonnull Integer analysisId, @Nonnull AnalysisUpdateTagsRequest analysisUpdateTagsRequest) throws ApiException
      Update Analysis Tags Updates analysis tags. User must be the owner.
      Parameters:
      analysisId - (required)
      analysisUpdateTagsRequest - (required)
      Returns:
      ApiResponse<BaseResponseAnalysisUpdateTagsResponse>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • updateAnalysisTagsAsync

      public okhttp3.Call updateAnalysisTagsAsync(@Nonnull Integer analysisId, @Nonnull AnalysisUpdateTagsRequest analysisUpdateTagsRequest, ApiCallback<BaseResponseAnalysisUpdateTagsResponse> _callback) throws ApiException
      Update Analysis Tags (asynchronously) Updates analysis tags. User must be the owner.
      Parameters:
      analysisId - (required)
      analysisUpdateTagsRequest - (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • uploadFileCall

      public okhttp3.Call uploadFileCall(@Nonnull UploadFileType uploadFileType, @Nonnull File _file, @Nullable String packedPassword, @Nullable Boolean forceOverwrite, ApiCallback _callback) throws ApiException
      Build call for uploadFile
      Parameters:
      uploadFileType - (required)
      _file - (required)
      packedPassword - (optional)
      forceOverwrite - (optional, default to false)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • uploadFile

      public BaseResponseUploadResponse uploadFile(@Nonnull UploadFileType uploadFileType, @Nonnull File _file, @Nullable String packedPassword, @Nullable Boolean forceOverwrite) throws ApiException
      Upload File
      Parameters:
      uploadFileType - (required)
      _file - (required)
      packedPassword - (optional)
      forceOverwrite - (optional, default to false)
      Returns:
      BaseResponseUploadResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • uploadFileWithHttpInfo

      public ApiResponse<BaseResponseUploadResponse> uploadFileWithHttpInfo(@Nonnull UploadFileType uploadFileType, @Nonnull File _file, @Nullable String packedPassword, @Nullable Boolean forceOverwrite) throws ApiException
      Upload File
      Parameters:
      uploadFileType - (required)
      _file - (required)
      packedPassword - (optional)
      forceOverwrite - (optional, default to false)
      Returns:
      ApiResponse<BaseResponseUploadResponse>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • uploadFileAsync

      public okhttp3.Call uploadFileAsync(@Nonnull UploadFileType uploadFileType, @Nonnull File _file, @Nullable String packedPassword, @Nullable Boolean forceOverwrite, ApiCallback<BaseResponseUploadResponse> _callback) throws ApiException
      Upload File (asynchronously)
      Parameters:
      uploadFileType - (required)
      _file - (required)
      packedPassword - (optional)
      forceOverwrite - (optional, default to false)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -