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.123.0
v3.124.0
4 changes: 2 additions & 2 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.123.0</version>
<version>3.124.0</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -31,7 +31,7 @@ repositories {
}

dependencies {
implementation "ai.reveng:sdk:3.123.0"
implementation "ai.reveng:sdk:3.124.0"
}
```

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.123.0'
version = '3.124.0'



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

coordinates("ai.reveng", "sdk", "3.123.0")
coordinates("ai.reveng", "sdk", "3.124.0")

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.123.0",
version := "3.124.0",
scalaVersion := "2.11.12",
scalacOptions ++= Seq("-feature"),
compile / javacOptions ++= Seq("-Xlint:deprecation"),
Expand Down
1 change: 1 addition & 0 deletions docs/Permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
|**canExportSymbols** | **Boolean** | | |
|**canGeneratePdfReports** | **Boolean** | | |
|**canUseAiMalwareAnalysis** | **Boolean** | | |
|**canUseCompositionAnalysis** | **Boolean** | | |
|**canUseMalwareSandbox** | **Boolean** | | |
|**canUsePrivateAnalyses** | **Boolean** | | |

Expand Down
12 changes: 8 additions & 4 deletions docs/SearchApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ All URIs are relative to *https://api.reveng.ai*

<a id="searchBinaries"></a>
# **searchBinaries**
> BaseResponseBinarySearchResponse searchBinaries(page, pageSize, partialName, partialSha256, tags, modelName, userFilesOnly, excludeBinaryId)
> BaseResponseBinarySearchResponse searchBinaries(page, pageSize, partialName, partialSha256, tags, modelName, userFilesOnly, excludeBinaryId, userIds)

Binaries search

Expand Down Expand Up @@ -52,8 +52,9 @@ public class Example {
String modelName = "modelName_example"; // String | The name of the model used to analyze the binary the function belongs to
Boolean userFilesOnly = false; // Boolean | Whether to only search user's uploaded files
Integer excludeBinaryId = 56; // Integer | A binary ID to exclude from the results
List<Integer> userIds = Arrays.asList(); // List<Integer> | Restrict the search to binaries owned by these user IDs
try {
BaseResponseBinarySearchResponse result = apiInstance.searchBinaries(page, pageSize, partialName, partialSha256, tags, modelName, userFilesOnly, excludeBinaryId);
BaseResponseBinarySearchResponse result = apiInstance.searchBinaries(page, pageSize, partialName, partialSha256, tags, modelName, userFilesOnly, excludeBinaryId, userIds);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling SearchApi#searchBinaries");
Expand All @@ -78,6 +79,7 @@ public class Example {
| **modelName** | **String**| The name of the model used to analyze the binary the function belongs to | [optional] |
| **userFilesOnly** | **Boolean**| Whether to only search user&#39;s uploaded files | [optional] [default to false] |
| **excludeBinaryId** | **Integer**| A binary ID to exclude from the results | [optional] |
| **userIds** | [**List&lt;Integer&gt;**](Integer.md)| Restrict the search to binaries owned by these user IDs | [optional] |

### Return type

Expand All @@ -100,7 +102,7 @@ public class Example {

<a id="searchCollections"></a>
# **searchCollections**
> BaseResponseCollectionSearchResponse searchCollections(page, pageSize, partialCollectionName, partialBinaryName, partialBinarySha256, tags, filters, orderBy, orderByDirection)
> BaseResponseCollectionSearchResponse searchCollections(page, pageSize, partialCollectionName, partialBinaryName, partialBinarySha256, tags, filters, orderBy, orderByDirection, userIds)

Collections search

Expand Down Expand Up @@ -141,8 +143,9 @@ public class Example {
List<Filters> filters = Arrays.asList(); // List<Filters> | The filters to be used for the search
AppApiRestV2CollectionsEnumsOrderBy orderBy = AppApiRestV2CollectionsEnumsOrderBy.fromValue("created"); // AppApiRestV2CollectionsEnumsOrderBy | The field to sort the order by in the results
Order orderByDirection = Order.fromValue("ASC"); // Order | The order direction in which to return results
List<Integer> userIds = Arrays.asList(); // List<Integer> | Restrict the search to collections owned by these user IDs
try {
BaseResponseCollectionSearchResponse result = apiInstance.searchCollections(page, pageSize, partialCollectionName, partialBinaryName, partialBinarySha256, tags, filters, orderBy, orderByDirection);
BaseResponseCollectionSearchResponse result = apiInstance.searchCollections(page, pageSize, partialCollectionName, partialBinaryName, partialBinarySha256, tags, filters, orderBy, orderByDirection, userIds);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling SearchApi#searchCollections");
Expand All @@ -168,6 +171,7 @@ public class Example {
| **filters** | [**List&lt;Filters&gt;**](Filters.md)| The filters to be used for the search | [optional] |
| **orderBy** | [**AppApiRestV2CollectionsEnumsOrderBy**](.md)| The field to sort the order by in the results | [optional] [default to created] [enum: created, collection, owner, collection_size, updated] |
| **orderByDirection** | [**Order**](.md)| The order direction in which to return results | [optional] [default to DESC] [enum: ASC, DESC] |
| **userIds** | [**List&lt;Integer&gt;**](Integer.md)| Restrict the search to collections owned by these user IDs | [optional] |

### Return type

Expand Down
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.123.0</version>
<version>3.124.0</version>
<url>https://github.com/RevEngAI/sdk-java</url>
<description>Java SDK for the RevEng.AI API</description>
<scm>
Expand Down
Loading