Skip to content

Commit 4ded4b0

Browse files
authored
Merge pull request #76 from RevEngAI/sdk-update-v2.86.0
🤖 Update SDK to version v2.86.0
2 parents 9530239 + b3850cb commit 4ded4b0

23 files changed

Lines changed: 2235 additions & 9 deletions

.sdk-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2.84.6
1+
v2.86.0

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Add this dependency to your project's POM:
1616
<dependency>
1717
<groupId>ai.reveng</groupId>
1818
<artifactId>sdk</artifactId>
19-
<version>2.84.6</version>
19+
<version>2.86.0</version>
2020
<scope>compile</scope>
2121
</dependency>
2222
```
@@ -31,7 +31,7 @@ repositories {
3131
}
3232
3333
dependencies {
34-
implementation "ai.reveng:sdk:2.84.6"
34+
implementation "ai.reveng:sdk:2.86.0"
3535
}
3636
```
3737

@@ -118,9 +118,11 @@ Class | Method | HTTP request | Description
118118
*AuthenticationUsersApi* | [**loginUser**](docs/AuthenticationUsersApi.md#loginUser) | **POST** /v2/auth/login | Authenticate a user
119119
*BinariesApi* | [**downloadZippedBinary**](docs/BinariesApi.md#downloadZippedBinary) | **GET** /v2/binaries/{binary_id}/download-zipped | Downloads a zipped binary with password protection
120120
*BinariesApi* | [**getBinaryAdditionalDetails**](docs/BinariesApi.md#getBinaryAdditionalDetails) | **GET** /v2/binaries/{binary_id}/additional-details | Gets the additional details of a binary
121+
*BinariesApi* | [**getBinaryAdditionalDetailsStatus**](docs/BinariesApi.md#getBinaryAdditionalDetailsStatus) | **GET** /v2/binaries/{binary_id}/additional-details/status | Gets the status of the additional details task for a binary
121122
*BinariesApi* | [**getBinaryDetails**](docs/BinariesApi.md#getBinaryDetails) | **GET** /v2/binaries/{binary_id}/details | Gets the details of a binary
122123
*BinariesApi* | [**getBinaryDieInfo**](docs/BinariesApi.md#getBinaryDieInfo) | **GET** /v2/binaries/{binary_id}/die-info | Gets the die info of a binary
123124
*BinariesApi* | [**getBinaryExternals**](docs/BinariesApi.md#getBinaryExternals) | **GET** /v2/binaries/{binary_id}/externals | Gets the external details of a binary
125+
*BinariesApi* | [**getBinaryRelatedStatus**](docs/BinariesApi.md#getBinaryRelatedStatus) | **GET** /v2/binaries/{binary_id}/related/status | Gets the status of the unpack binary task for a binary
124126
*BinariesApi* | [**getRelatedBinaries**](docs/BinariesApi.md#getRelatedBinaries) | **GET** /v2/binaries/{binary_id}/related | Gets the related binaries of a binary.
125127
*CollectionsApi* | [**createCollection**](docs/CollectionsApi.md#createCollection) | **POST** /v2/collections | Creates new collection information
126128
*CollectionsApi* | [**deleteCollection**](docs/CollectionsApi.md#deleteCollection) | **DELETE** /v2/collections/{collection_id} | Deletes a collection
@@ -182,6 +184,7 @@ Class | Method | HTTP request | Description
182184

183185
## Documentation for Models
184186

187+
- [AdditionalDetailsStatusResponse](docs/AdditionalDetailsStatusResponse.md)
185188
- [Addr](docs/Addr.md)
186189
- [AiDecompilationRating](docs/AiDecompilationRating.md)
187190
- [AiUnstripRequest](docs/AiUnstripRequest.md)
@@ -212,6 +215,7 @@ Class | Method | HTTP request | Description
212215
- [AutoUnstripRequest](docs/AutoUnstripRequest.md)
213216
- [AutoUnstripResponse](docs/AutoUnstripResponse.md)
214217
- [BaseResponse](docs/BaseResponse.md)
218+
- [BaseResponseAdditionalDetailsStatusResponse](docs/BaseResponseAdditionalDetailsStatusResponse.md)
215219
- [BaseResponseAnalysisCreateResponse](docs/BaseResponseAnalysisCreateResponse.md)
216220
- [BaseResponseAnalysisDetailResponse](docs/BaseResponseAnalysisDetailResponse.md)
217221
- [BaseResponseAnalysisFunctionMapping](docs/BaseResponseAnalysisFunctionMapping.md)
@@ -222,6 +226,7 @@ Class | Method | HTTP request | Description
222226
- [BaseResponseAnalysisTags](docs/BaseResponseAnalysisTags.md)
223227
- [BaseResponseAnalysisUpdateTagsResponse](docs/BaseResponseAnalysisUpdateTagsResponse.md)
224228
- [BaseResponseBasic](docs/BaseResponseBasic.md)
229+
- [BaseResponseBinariesRelatedStatusResponse](docs/BaseResponseBinariesRelatedStatusResponse.md)
225230
- [BaseResponseBinaryAdditionalResponse](docs/BaseResponseBinaryAdditionalResponse.md)
226231
- [BaseResponseBinaryDetailsResponse](docs/BaseResponseBinaryDetailsResponse.md)
227232
- [BaseResponseBinaryExternalsResponse](docs/BaseResponseBinaryExternalsResponse.md)
@@ -282,6 +287,7 @@ Class | Method | HTTP request | Description
282287
- [BaseResponseUploadResponse](docs/BaseResponseUploadResponse.md)
283288
- [BaseResponseVulnerabilities](docs/BaseResponseVulnerabilities.md)
284289
- [Basic](docs/Basic.md)
290+
- [BinariesRelatedStatusResponse](docs/BinariesRelatedStatusResponse.md)
285291
- [BinariesTaskStatus](docs/BinariesTaskStatus.md)
286292
- [BinaryAdditionalDetailsDataResponse](docs/BinaryAdditionalDetailsDataResponse.md)
287293
- [BinaryAdditionalResponse](docs/BinaryAdditionalResponse.md)

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 = '2.84.6'
22+
version = '2.86.0'
2323

2424

2525

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

174-
coordinates("ai.reveng", "sdk", "2.84.6")
174+
coordinates("ai.reveng", "sdk", "2.86.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 := "2.84.6",
5+
version := "2.86.0",
66
scalaVersion := "2.11.12",
77
scalacOptions ++= Seq("-feature"),
88
compile / javacOptions ++= Seq("-Xlint:deprecation"),
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
3+
# AdditionalDetailsStatusResponse
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**status** | **String** | The current status of the additional details task | |
11+
12+
13+
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
3+
# BaseResponseAdditionalDetailsStatusResponse
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**status** | **Boolean** | Response status on whether the request succeeded | [optional] |
11+
|**data** | [**AdditionalDetailsStatusResponse**](AdditionalDetailsStatusResponse.md) | | [optional] |
12+
|**message** | **String** | | [optional] |
13+
|**errors** | [**List&lt;ErrorModel&gt;**](ErrorModel.md) | | [optional] |
14+
|**meta** | [**MetaModel**](MetaModel.md) | Metadata | [optional] |
15+
16+
17+
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
3+
# BaseResponseBinariesRelatedStatusResponse
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**status** | **Boolean** | Response status on whether the request succeeded | [optional] |
11+
|**data** | [**BinariesRelatedStatusResponse**](BinariesRelatedStatusResponse.md) | | [optional] |
12+
|**message** | **String** | | [optional] |
13+
|**errors** | [**List&lt;ErrorModel&gt;**](ErrorModel.md) | | [optional] |
14+
|**meta** | [**MetaModel**](MetaModel.md) | Metadata | [optional] |
15+
16+
17+

docs/BinariesApi.md

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ All URIs are relative to *https://api.reveng.ai*
66
|------------- | ------------- | -------------|
77
| [**downloadZippedBinary**](BinariesApi.md#downloadZippedBinary) | **GET** /v2/binaries/{binary_id}/download-zipped | Downloads a zipped binary with password protection |
88
| [**getBinaryAdditionalDetails**](BinariesApi.md#getBinaryAdditionalDetails) | **GET** /v2/binaries/{binary_id}/additional-details | Gets the additional details of a binary |
9+
| [**getBinaryAdditionalDetailsStatus**](BinariesApi.md#getBinaryAdditionalDetailsStatus) | **GET** /v2/binaries/{binary_id}/additional-details/status | Gets the status of the additional details task for a binary |
910
| [**getBinaryDetails**](BinariesApi.md#getBinaryDetails) | **GET** /v2/binaries/{binary_id}/details | Gets the details of a binary |
1011
| [**getBinaryDieInfo**](BinariesApi.md#getBinaryDieInfo) | **GET** /v2/binaries/{binary_id}/die-info | Gets the die info of a binary |
1112
| [**getBinaryExternals**](BinariesApi.md#getBinaryExternals) | **GET** /v2/binaries/{binary_id}/externals | Gets the external details of a binary |
13+
| [**getBinaryRelatedStatus**](BinariesApi.md#getBinaryRelatedStatus) | **GET** /v2/binaries/{binary_id}/related/status | Gets the status of the unpack binary task for a binary |
1214
| [**getRelatedBinaries**](BinariesApi.md#getRelatedBinaries) | **GET** /v2/binaries/{binary_id}/related | Gets the related binaries of a binary. |
1315

1416

@@ -148,6 +150,74 @@ public class Example {
148150
| **200** | Successful Response | - |
149151
| **422** | Invalid request parameters | - |
150152

153+
<a id="getBinaryAdditionalDetailsStatus"></a>
154+
# **getBinaryAdditionalDetailsStatus**
155+
> BaseResponseAdditionalDetailsStatusResponse getBinaryAdditionalDetailsStatus(binaryId)
156+
157+
Gets the status of the additional details task for a binary
158+
159+
### Example
160+
```java
161+
// Import classes:
162+
import ai.reveng.invoker.ApiClient;
163+
import ai.reveng.invoker.ApiException;
164+
import ai.reveng.invoker.Configuration;
165+
import ai.reveng.invoker.auth.*;
166+
import ai.reveng.invoker.models.*;
167+
import ai.reveng.api.BinariesApi;
168+
169+
public class Example {
170+
public static void main(String[] args) {
171+
ApiClient defaultClient = Configuration.getDefaultApiClient();
172+
defaultClient.setBasePath("https://api.reveng.ai");
173+
174+
// Configure API key authorization: APIKey
175+
ApiKeyAuth APIKey = (ApiKeyAuth) defaultClient.getAuthentication("APIKey");
176+
APIKey.setApiKey("YOUR API KEY");
177+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
178+
//APIKey.setApiKeyPrefix("Token");
179+
180+
BinariesApi apiInstance = new BinariesApi(defaultClient);
181+
Integer binaryId = 56; // Integer |
182+
try {
183+
BaseResponseAdditionalDetailsStatusResponse result = apiInstance.getBinaryAdditionalDetailsStatus(binaryId);
184+
System.out.println(result);
185+
} catch (ApiException e) {
186+
System.err.println("Exception when calling BinariesApi#getBinaryAdditionalDetailsStatus");
187+
System.err.println("Status code: " + e.getCode());
188+
System.err.println("Reason: " + e.getResponseBody());
189+
System.err.println("Response headers: " + e.getResponseHeaders());
190+
e.printStackTrace();
191+
}
192+
}
193+
}
194+
```
195+
196+
### Parameters
197+
198+
| Name | Type | Description | Notes |
199+
|------------- | ------------- | ------------- | -------------|
200+
| **binaryId** | **Integer**| | |
201+
202+
### Return type
203+
204+
[**BaseResponseAdditionalDetailsStatusResponse**](BaseResponseAdditionalDetailsStatusResponse.md)
205+
206+
### Authorization
207+
208+
[APIKey](../README.md#APIKey)
209+
210+
### HTTP request headers
211+
212+
- **Content-Type**: Not defined
213+
- **Accept**: application/json
214+
215+
### HTTP response details
216+
| Status code | Description | Response headers |
217+
|-------------|-------------|------------------|
218+
| **200** | Successful Response | - |
219+
| **422** | Invalid request parameters | - |
220+
151221
<a id="getBinaryDetails"></a>
152222
# **getBinaryDetails**
153223
> BaseResponseBinaryDetailsResponse getBinaryDetails(binaryId)
@@ -352,6 +422,74 @@ public class Example {
352422
| **200** | Successful Response | - |
353423
| **422** | Invalid request parameters | - |
354424

425+
<a id="getBinaryRelatedStatus"></a>
426+
# **getBinaryRelatedStatus**
427+
> BaseResponseBinariesRelatedStatusResponse getBinaryRelatedStatus(binaryId)
428+
429+
Gets the status of the unpack binary task for a binary
430+
431+
### Example
432+
```java
433+
// Import classes:
434+
import ai.reveng.invoker.ApiClient;
435+
import ai.reveng.invoker.ApiException;
436+
import ai.reveng.invoker.Configuration;
437+
import ai.reveng.invoker.auth.*;
438+
import ai.reveng.invoker.models.*;
439+
import ai.reveng.api.BinariesApi;
440+
441+
public class Example {
442+
public static void main(String[] args) {
443+
ApiClient defaultClient = Configuration.getDefaultApiClient();
444+
defaultClient.setBasePath("https://api.reveng.ai");
445+
446+
// Configure API key authorization: APIKey
447+
ApiKeyAuth APIKey = (ApiKeyAuth) defaultClient.getAuthentication("APIKey");
448+
APIKey.setApiKey("YOUR API KEY");
449+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
450+
//APIKey.setApiKeyPrefix("Token");
451+
452+
BinariesApi apiInstance = new BinariesApi(defaultClient);
453+
Integer binaryId = 56; // Integer |
454+
try {
455+
BaseResponseBinariesRelatedStatusResponse result = apiInstance.getBinaryRelatedStatus(binaryId);
456+
System.out.println(result);
457+
} catch (ApiException e) {
458+
System.err.println("Exception when calling BinariesApi#getBinaryRelatedStatus");
459+
System.err.println("Status code: " + e.getCode());
460+
System.err.println("Reason: " + e.getResponseBody());
461+
System.err.println("Response headers: " + e.getResponseHeaders());
462+
e.printStackTrace();
463+
}
464+
}
465+
}
466+
```
467+
468+
### Parameters
469+
470+
| Name | Type | Description | Notes |
471+
|------------- | ------------- | ------------- | -------------|
472+
| **binaryId** | **Integer**| | |
473+
474+
### Return type
475+
476+
[**BaseResponseBinariesRelatedStatusResponse**](BaseResponseBinariesRelatedStatusResponse.md)
477+
478+
### Authorization
479+
480+
[APIKey](../README.md#APIKey)
481+
482+
### HTTP request headers
483+
484+
- **Content-Type**: Not defined
485+
- **Accept**: application/json
486+
487+
### HTTP response details
488+
| Status code | Description | Response headers |
489+
|-------------|-------------|------------------|
490+
| **200** | Successful Response | - |
491+
| **422** | Invalid request parameters | - |
492+
355493
<a id="getRelatedBinaries"></a>
356494
# **getRelatedBinaries**
357495
> BaseResponseChildBinariesResponse getRelatedBinaries(binaryId)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
3+
# BinariesRelatedStatusResponse
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**status** | **String** | The current status of the unpack binary task | |
11+
12+
13+

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>sdk</artifactId>
66
<packaging>jar</packaging>
77
<name>sdk</name>
8-
<version>2.84.6</version>
8+
<version>2.86.0</version>
99
<url>https://github.com/RevEngAI/sdk-java</url>
1010
<description>Java SDK for the RevEng.AI API</description>
1111
<scm>

0 commit comments

Comments
 (0)