Skip to content

Commit 1fdaec1

Browse files
Update SDK to version v3.79.0
- Generated from OpenAPI spec version v3.79.0 - Auto-generated by GitHub Actions
1 parent 3d2e6c4 commit 1fdaec1

156 files changed

Lines changed: 15668 additions & 9389 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.sdk-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v3.74.4
1+
v3.79.0

README.md

Lines changed: 55 additions & 46 deletions
Large diffs are not rendered by default.

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ apply plugin: 'java'
1919
apply plugin: 'com.diffplug.spotless'
2020

2121
group = 'ai.reveng'
22-
version = '3.74.4'
22+
version = '3.79.0'
2323

2424

2525

@@ -171,7 +171,7 @@ mavenPublishing {
171171
publishToMavenCentral(true)
172172
signAllPublications()
173173

174-
coordinates("ai.reveng", "sdk", "3.74.4")
174+
coordinates("ai.reveng", "sdk", "3.79.0")
175175

176176
pom {
177177
name = "sdk"

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "ai.reveng",
44
name := "sdk",
5-
version := "3.74.4",
5+
version := "3.79.0",
66
scalaVersion := "2.11.12",
77
scalacOptions ++= Seq("-feature"),
88
compile / javacOptions ++= Seq("-Xlint:deprecation"),

docs/APIError.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
3+
# APIError
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**$schema** | **URI** | A URL to the JSON Schema for this object. | [optional] [readonly] |
11+
|**error** | **ErrorBody** | | |
12+
13+
14+

docs/AnalysesApi.md

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
# AnalysesApi
2+
3+
All URIs are relative to *https://api.reveng.ai*
4+
5+
| Method | HTTP request | Description |
6+
|------------- | ------------- | -------------|
7+
| [**getAnalysisQueuePosition**](AnalysesApi.md#getAnalysisQueuePosition) | **GET** /v2/analyses/{analysis_id}/queue-position | Get the queue position of an analysis |
8+
9+
10+
<a id="getAnalysisQueuePosition"></a>
11+
# **getAnalysisQueuePosition**
12+
> QueuePositionResponse getAnalysisQueuePosition(analysisId)
13+
14+
Get the queue position of an analysis
15+
16+
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:** - &#x60;404&#x60; [&#x60;NOT_FOUND&#x60;](/errors/NOT_FOUND) — Not Found - &#x60;403&#x60; [&#x60;ACCESS_DENIED&#x60;](/errors/ACCESS_DENIED) — Access Denied
17+
18+
### Example
19+
```java
20+
// Import classes:
21+
import ai.reveng.invoker.ApiClient;
22+
import ai.reveng.invoker.ApiException;
23+
import ai.reveng.invoker.Configuration;
24+
import ai.reveng.invoker.auth.*;
25+
import ai.reveng.invoker.models.*;
26+
import ai.reveng.api.AnalysesApi;
27+
28+
public class Example {
29+
public static void main(String[] args) {
30+
ApiClient defaultClient = Configuration.getDefaultApiClient();
31+
defaultClient.setBasePath("https://api.reveng.ai");
32+
33+
// Configure API key authorization: APIKey
34+
ApiKeyAuth APIKey = (ApiKeyAuth) defaultClient.getAuthentication("APIKey");
35+
APIKey.setApiKey("YOUR API KEY");
36+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
37+
//APIKey.setApiKeyPrefix("Token");
38+
39+
AnalysesApi apiInstance = new AnalysesApi(defaultClient);
40+
Long analysisId = 56L; // Long | Analysis ID
41+
try {
42+
QueuePositionResponse result = apiInstance.getAnalysisQueuePosition(analysisId);
43+
System.out.println(result);
44+
} catch (ApiException e) {
45+
System.err.println("Exception when calling AnalysesApi#getAnalysisQueuePosition");
46+
System.err.println("Status code: " + e.getCode());
47+
System.err.println("Reason: " + e.getResponseBody());
48+
System.err.println("Response headers: " + e.getResponseHeaders());
49+
e.printStackTrace();
50+
}
51+
}
52+
}
53+
```
54+
55+
### Parameters
56+
57+
| Name | Type | Description | Notes |
58+
|------------- | ------------- | ------------- | -------------|
59+
| **analysisId** | **Long**| Analysis ID | |
60+
61+
### Return type
62+
63+
[**QueuePositionResponse**](QueuePositionResponse.md)
64+
65+
### Authorization
66+
67+
[APIKey](../README.md#APIKey)
68+
69+
### HTTP request headers
70+
71+
- **Content-Type**: Not defined
72+
- **Accept**: application/json
73+
74+
### HTTP response details
75+
| Status code | Description | Response headers |
76+
|-------------|-------------|------------------|
77+
| **200** | OK | - |
78+
| **403** | Forbidden | - |
79+
| **404** | Not Found | - |
80+
| **422** | Unprocessable Entity | - |
81+
| **500** | Internal Server Error | - |
82+

docs/AnalysesCoreApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ public class Example {
695695
List<Workspace> workspace = Arrays.asList(); // List<Workspace> | The workspace to be viewed
696696
List<StatusInput> status = Arrays.asList(); // List<StatusInput> | The status of the analysis
697697
List<ModelName> modelName = Arrays.asList(); // List<ModelName> | Show analysis belonging to the model
698-
DynamicExecutionStatusInput dynamicExecutionStatus = DynamicExecutionStatusInput.fromValue("PENDING"); // DynamicExecutionStatusInput | Show analysis that have a dynamic execution with the given status
698+
DynamicExecutionStatus dynamicExecutionStatus = DynamicExecutionStatus.fromValue("PENDING"); // DynamicExecutionStatus | Show analysis that have a dynamic execution with the given status
699699
List<String> usernames = Arrays.asList(); // List<String> | Show analysis belonging to the user
700700
String sha256Hash = "sha256Hash_example"; // String |
701701
Integer limit = 20; // Integer |
@@ -724,7 +724,7 @@ public class Example {
724724
| **workspace** | [**List&lt;Workspace&gt;**](Workspace.md)| The workspace to be viewed | [optional] |
725725
| **status** | [**List&lt;StatusInput&gt;**](StatusInput.md)| The status of the analysis | [optional] |
726726
| **modelName** | [**List&lt;ModelName&gt;**](ModelName.md)| Show analysis belonging to the model | [optional] |
727-
| **dynamicExecutionStatus** | [**DynamicExecutionStatusInput**](.md)| Show analysis that have a dynamic execution with the given status | [optional] [enum: PENDING, ERROR, SUCCESS, ALL] |
727+
| **dynamicExecutionStatus** | [**DynamicExecutionStatus**](.md)| Show analysis that have a dynamic execution with the given status | [optional] [enum: PENDING, ERROR, SUCCESS, ALL] |
728728
| **usernames** | [**List&lt;String&gt;**](String.md)| Show analysis belonging to the user | [optional] |
729729
| **sha256Hash** | **String**| | [optional] |
730730
| **limit** | **Integer**| | [optional] [default to 20] |

docs/AnalysisRecord.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
|**functionBoundariesHash** | **String** | The hash of the function boundaries | |
2121
|**binarySize** | **Integer** | The size of the binary | |
2222
|**username** | **String** | The username of the analysis owner | |
23-
|**dynamicExecutionStatus** | **AppApiRestV2AnalysesEnumsDynamicExecutionStatus** | | [optional] |
23+
|**dynamicExecutionStatus** | **DynamicExecutionStatus** | | [optional] |
2424
|**dynamicExecutionTaskId** | **Integer** | | [optional] |
2525
|**baseAddress** | **BigInteger** | The base address of the binary | |
2626
|**tags** | [**List&lt;TagItem&gt;**](TagItem.md) | List of tags associated with the analysis | [optional] |

docs/AnalysisStage.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

docs/AnalysisStageStatus.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)