Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .sdk-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v3.85.0
v3.86.1
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>ai.reveng</groupId>
<artifactId>sdk</artifactId>
<version>3.85.0</version>
<version>3.86.1</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -31,7 +31,7 @@ repositories {
}

dependencies {
implementation "ai.reveng:sdk:3.85.0"
implementation "ai.reveng:sdk:3.86.1"
}
```

Expand Down Expand Up @@ -115,10 +115,8 @@ Class | Method | HTTP request | Description
*AnalysesResultsMetadataApi* | [**getTags**](docs/AnalysesResultsMetadataApi.md#getTags) | **GET** /v2/analyses/{analysis_id}/tags | Get function tags with maliciousness score
*AnalysesResultsMetadataApi* | [**getVulnerabilities**](docs/AnalysesResultsMetadataApi.md#getVulnerabilities) | **GET** /v2/analyses/{analysis_id}/vulnerabilities | Gets the vulnerabilities found in the analysis
*AnalysesXRefsApi* | [**getXrefByVaddr**](docs/AnalysesXRefsApi.md#getXrefByVaddr) | **GET** /v2/analyses/{analysis_id}/xrefs/{vaddr} | [Beta] Look up xrefs by virtual address
*AuthenticationUsersApi* | [**getRequesterUserInfo**](docs/AuthenticationUsersApi.md#getRequesterUserInfo) | **GET** /v2/users/me | Get the requesters user information
*AuthenticationUsersApi* | [**getUser**](docs/AuthenticationUsersApi.md#getUser) | **GET** /v2/users/{user_id} | Get a user&#39;s public information
*AuthenticationUsersApi* | [**getUserActivity**](docs/AuthenticationUsersApi.md#getUserActivity) | **GET** /v2/users/activity | Get auth user activity
*AuthenticationUsersApi* | [**getUserComments**](docs/AuthenticationUsersApi.md#getUserComments) | **GET** /v2/users/me/comments | Get comments by user
*AuthenticationUsersApi* | [**submitUserFeedback**](docs/AuthenticationUsersApi.md#submitUserFeedback) | **POST** /v2/users/feedback | Submit feedback about the application
*BinariesApi* | [**downloadZippedBinary**](docs/BinariesApi.md#downloadZippedBinary) | **GET** /v2/binaries/{binary_id}/download-zipped | Downloads a zipped binary with password protection
*BinariesApi* | [**getBinaryAdditionalDetails**](docs/BinariesApi.md#getBinaryAdditionalDetails) | **GET** /v2/binaries/{binary_id}/additional-details | Gets the additional details of a binary
Expand Down Expand Up @@ -295,7 +293,6 @@ Class | Method | HTTP request | Description
- [BaseResponseGenerateFunctionDataTypes](docs/BaseResponseGenerateFunctionDataTypes.md)
- [BaseResponseGenerationStatusList](docs/BaseResponseGenerationStatusList.md)
- [BaseResponseGetAiDecompilationTask](docs/BaseResponseGetAiDecompilationTask.md)
- [BaseResponseGetMeResponse](docs/BaseResponseGetMeResponse.md)
- [BaseResponseGetPublicUserResponse](docs/BaseResponseGetPublicUserResponse.md)
- [BaseResponseListCalleesCallerFunctionsResponse](docs/BaseResponseListCalleesCallerFunctionsResponse.md)
- [BaseResponseListCollectionResults](docs/BaseResponseListCollectionResults.md)
Expand Down Expand Up @@ -369,7 +366,6 @@ Class | Method | HTTP request | Description
- [CreateAIDecompOutputBody](docs/CreateAIDecompOutputBody.md)
- [CreateConversationRequest](docs/CreateConversationRequest.md)
- [Created](docs/Created.md)
- [DebugPromptEvent](docs/DebugPromptEvent.md)
- [DecompFailedEvent](docs/DecompFailedEvent.md)
- [DecompFinishedEvent](docs/DecompFinishedEvent.md)
- [DecompilationCommentContext](docs/DecompilationCommentContext.md)
Expand All @@ -395,7 +391,6 @@ Class | Method | HTTP request | Description
- [EventAttemptFailed](docs/EventAttemptFailed.md)
- [EventAttemptStarted](docs/EventAttemptStarted.md)
- [EventCONTEXTCOMPACTED](docs/EventCONTEXTCOMPACTED.md)
- [EventDebugPrompt](docs/EventDebugPrompt.md)
- [EventDecompFailed](docs/EventDecompFailed.md)
- [EventDecompFinished](docs/EventDecompFinished.md)
- [EventProse](docs/EventProse.md)
Expand Down Expand Up @@ -469,7 +464,6 @@ Class | Method | HTTP request | Description
- [GenerationStatusList](docs/GenerationStatusList.md)
- [GetAiDecompilationRatingResponse](docs/GetAiDecompilationRatingResponse.md)
- [GetAiDecompilationTask](docs/GetAiDecompilationTask.md)
- [GetMeResponse](docs/GetMeResponse.md)
- [GetPublicUserResponse](docs/GetPublicUserResponse.md)
- [GlobalVariable](docs/GlobalVariable.md)
- [HistoryEntry](docs/HistoryEntry.md)
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ apply plugin: 'java'
apply plugin: 'com.diffplug.spotless'

group = 'ai.reveng'
version = '3.85.0'
version = '3.86.1'



Expand Down Expand Up @@ -171,7 +171,7 @@ mavenPublishing {
publishToMavenCentral(true)
signAllPublications()

coordinates("ai.reveng", "sdk", "3.85.0")
coordinates("ai.reveng", "sdk", "3.86.1")

pom {
name = "sdk"
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "ai.reveng",
name := "sdk",
version := "3.85.0",
version := "3.86.1",
scalaVersion := "2.11.12",
scalacOptions ++= Seq("-feature"),
compile / javacOptions ++= Seq("-Xlint:deprecation"),
Expand Down
132 changes: 0 additions & 132 deletions docs/AuthenticationUsersApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,77 +4,11 @@ All URIs are relative to *https://api.reveng.ai*

| Method | HTTP request | Description |
|------------- | ------------- | -------------|
| [**getRequesterUserInfo**](AuthenticationUsersApi.md#getRequesterUserInfo) | **GET** /v2/users/me | Get the requesters user information |
| [**getUser**](AuthenticationUsersApi.md#getUser) | **GET** /v2/users/{user_id} | Get a user&#39;s public information |
| [**getUserActivity**](AuthenticationUsersApi.md#getUserActivity) | **GET** /v2/users/activity | Get auth user activity |
| [**getUserComments**](AuthenticationUsersApi.md#getUserComments) | **GET** /v2/users/me/comments | Get comments by user |
| [**submitUserFeedback**](AuthenticationUsersApi.md#submitUserFeedback) | **POST** /v2/users/feedback | Submit feedback about the application |


<a id="getRequesterUserInfo"></a>
# **getRequesterUserInfo**
> BaseResponseGetMeResponse getRequesterUserInfo()

Get the requesters user information

### Example
```java
// Import classes:
import ai.reveng.invoker.ApiClient;
import ai.reveng.invoker.ApiException;
import ai.reveng.invoker.Configuration;
import ai.reveng.invoker.auth.*;
import ai.reveng.invoker.models.*;
import ai.reveng.api.AuthenticationUsersApi;

public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.reveng.ai");

// Configure API key authorization: APIKey
ApiKeyAuth APIKey = (ApiKeyAuth) defaultClient.getAuthentication("APIKey");
APIKey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//APIKey.setApiKeyPrefix("Token");

AuthenticationUsersApi apiInstance = new AuthenticationUsersApi(defaultClient);
try {
BaseResponseGetMeResponse result = apiInstance.getRequesterUserInfo();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AuthenticationUsersApi#getRequesterUserInfo");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
```

### Parameters
This endpoint does not need any parameter.

### Return type

[**BaseResponseGetMeResponse**](BaseResponseGetMeResponse.md)

### Authorization

[APIKey](../README.md#APIKey)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Successful Response | - |
| **422** | Invalid request parameters | - |

<a id="getUser"></a>
# **getUser**
> BaseResponseGetPublicUserResponse getUser(userId)
Expand Down Expand Up @@ -207,72 +141,6 @@ This endpoint does not need any parameter.
| **200** | Successful Response | - |
| **422** | Invalid request parameters | - |

<a id="getUserComments"></a>
# **getUserComments**
> BaseResponseListCommentResponse getUserComments()

Get comments by user

Retrieves all comments created by a specific user. Only returns comments for resources the requesting user has access to.

### Example
```java
// Import classes:
import ai.reveng.invoker.ApiClient;
import ai.reveng.invoker.ApiException;
import ai.reveng.invoker.Configuration;
import ai.reveng.invoker.auth.*;
import ai.reveng.invoker.models.*;
import ai.reveng.api.AuthenticationUsersApi;

public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.reveng.ai");

// Configure API key authorization: APIKey
ApiKeyAuth APIKey = (ApiKeyAuth) defaultClient.getAuthentication("APIKey");
APIKey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//APIKey.setApiKeyPrefix("Token");

AuthenticationUsersApi apiInstance = new AuthenticationUsersApi(defaultClient);
try {
BaseResponseListCommentResponse result = apiInstance.getUserComments();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AuthenticationUsersApi#getUserComments");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
```

### Parameters
This endpoint does not need any parameter.

### Return type

[**BaseResponseListCommentResponse**](BaseResponseListCommentResponse.md)

### Authorization

[APIKey](../README.md#APIKey)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Successful Response | - |
| **422** | Invalid request parameters | - |

<a id="submitUserFeedback"></a>
# **submitUserFeedback**
> BaseResponse submitUserFeedback(submitUserFeedbackRequest)
Expand Down
17 changes: 0 additions & 17 deletions docs/BaseResponseGetMeResponse.md

This file was deleted.

17 changes: 0 additions & 17 deletions docs/DebugPromptEvent.md

This file was deleted.

1 change: 1 addition & 0 deletions docs/ELFRelocation.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
|**symbolName** | **String** | | |
|**isDynamic** | **Boolean** | | |
|**isPltgot** | **Boolean** | | |
|**isUnicodeSymbolName** | **Boolean** | | [optional] |



1 change: 1 addition & 0 deletions docs/ELFSymbol.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
|**binding** | **String** | | |
|**visibility** | **String** | | |
|**sectionIndex** | **Integer** | | |
|**isUnicodeName** | **Boolean** | | [optional] |



25 changes: 0 additions & 25 deletions docs/EventDebugPrompt.md

This file was deleted.

32 changes: 0 additions & 32 deletions docs/GetMeResponse.md

This file was deleted.

2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>sdk</artifactId>
<packaging>jar</packaging>
<name>sdk</name>
<version>3.85.0</version>
<version>3.86.1</version>
<url>https://github.com/RevEngAI/sdk-java</url>
<description>Java SDK for the RevEng.AI API</description>
<scm>
Expand Down
Loading