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 @@
v4.60.1
v4.64.0
31 changes: 28 additions & 3 deletions README.md

Large diffs are not rendered by default.

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 = '4.60.1'
version = '4.64.0'



Expand Down Expand Up @@ -174,7 +174,7 @@ mavenPublishing {
// key, and signing without one fails the build.
if (project.hasProperty("signingInMemoryKey")) signAllPublications()

coordinates("ai.reveng", "sdk", "4.60.1")
coordinates("ai.reveng", "sdk", "4.64.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 := "4.60.1",
version := "4.64.0",
scalaVersion := "2.11.12",
scalacOptions ++= Seq("-feature"),
compile / javacOptions ++= Seq("-Xlint:deprecation"),
Expand Down
62 changes: 62 additions & 0 deletions docs/ActivityBody.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@


# ActivityBody


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**actions** | [**ActionsEnum**](#ActionsEnum) | The kind of action taken | |
|**activityScope** | [**ActivityScopeEnum**](#ActivityScopeEnum) | Who can see this activity entry | |
|**createdAt** | **OffsetDateTime** | When the action happened | |
|**message** | **String** | Human-readable description of the action | |
|**sources** | [**SourcesEnum**](#SourcesEnum) | The resource kind the action applied to | |
|**username** | **String** | The user who performed the action | |



## Enum: ActionsEnum

| Name | Value |
|---- | -----|
| UPLOADED | "UPLOADED" |
| COMPLETED | "COMPLETED" |
| CREATED | "CREATED" |
| REGISTERED | "REGISTERED" |
| REPUTATION | "REPUTATION" |
| LEADERBOARD | "LEADERBOARD" |
| EDITED | "EDITED" |
| DELETED | "DELETED" |
| ERROR | "ERROR" |
| RENAME | "RENAME" |
| UNKNOWN_DEFAULT_OPEN_API | "unknown_default_open_api" |



## Enum: ActivityScopeEnum

| Name | Value |
|---- | -----|
| PUBLIC | "PUBLIC" |
| PRIVATE | "PRIVATE" |
| TEAM | "TEAM" |
| UNKNOWN_DEFAULT_OPEN_API | "unknown_default_open_api" |



## Enum: SourcesEnum

| Name | Value |
|---- | -----|
| USERS | "USERS" |
| ANALYSES | "ANALYSES" |
| MATCHES | "MATCHES" |
| COLLECTIONS | "COLLECTIONS" |
| HISTORY | "HISTORY" |
| FILES | "FILES" |
| FUNCTION | "FUNCTION" |
| UNKNOWN_DEFAULT_OPEN_API | "unknown_default_open_api" |



84 changes: 0 additions & 84 deletions docs/AnalysesCoreApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ All URIs are relative to *https://api.reveng.ai*
| [**updateAnalysis**](AnalysesCoreApi.md#updateAnalysis) | **PATCH** /v2/analyses/{analysis_id} | Update Analysis |
| [**updateAnalysisTags**](AnalysesCoreApi.md#updateAnalysisTags) | **PATCH** /v2/analyses/{analysis_id}/tags | Update Analysis Tags |
| [**uploadFile**](AnalysesCoreApi.md#uploadFile) | **POST** /v2/upload | Upload File |
| [**v3CreateAnalysis**](AnalysesCoreApi.md#v3CreateAnalysis) | **POST** /v3/analyses | Create an analysis |
| [**v3DeleteAnalysis**](AnalysesCoreApi.md#v3DeleteAnalysis) | **DELETE** /v3/analyses/{analysis_id} | Delete an analysis. |
| [**v3DownloadBinaryExport**](AnalysesCoreApi.md#v3DownloadBinaryExport) | **GET** /v3/analyses/{analysis_id}/binary-export | Download a binary export |
| [**v3GetAnalysis**](AnalysesCoreApi.md#v3GetAnalysis) | **GET** /v3/analyses/{analysis_id} | Get an analysis. |
Expand Down Expand Up @@ -1830,89 +1829,6 @@ public class Example {
| **200** | Successful Response | - |
| **422** | Invalid request parameters | - |

<a id="v3CreateAnalysis"></a>
# **v3CreateAnalysis**
> OperationCreateMetadataCreateResult v3CreateAnalysis(createRequest, xRevEngApplication)

Create an analysis

Queues a new Analysis for an uploaded Binary and returns the created Operation. **Error codes:** - &#x60;400&#x60; [&#x60;BAD_REQUEST&#x60;](/errors/BAD_REQUEST) β€” Bad Request - &#x60;403&#x60; [&#x60;ACCESS_DENIED&#x60;](/errors/ACCESS_DENIED) β€” Access Denied - &#x60;402&#x60; [&#x60;INSUFFICIENT_CREDITS&#x60;](/errors/INSUFFICIENT_CREDITS) β€” Insufficient Credits - &#x60;409&#x60; [&#x60;CONFLICT&#x60;](/errors/CONFLICT) β€” Conflict - &#x60;404&#x60; [&#x60;NOT_FOUND&#x60;](/errors/NOT_FOUND) β€” Not Found - &#x60;413&#x60; [&#x60;REQUEST_ENTITY_TOO_LARGE&#x60;](/errors/REQUEST_ENTITY_TOO_LARGE) β€” Request Entity Too Large

### 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.AnalysesCoreApi;

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");

// Configure HTTP bearer authorization: bearerAuth
HttpBearerAuth bearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("bearerAuth");
bearerAuth.setBearerToken("BEARER TOKEN");

AnalysesCoreApi apiInstance = new AnalysesCoreApi(defaultClient);
CreateRequest createRequest = new CreateRequest(); // CreateRequest |
String xRevEngApplication = "xRevEngApplication_example"; // String | Identifies the calling RevEng application. Recorded on the Analysis log.
try {
OperationCreateMetadataCreateResult result = apiInstance.v3CreateAnalysis(createRequest, xRevEngApplication);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AnalysesCoreApi#v3CreateAnalysis");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
```

### Parameters

| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **createRequest** | [**CreateRequest**](CreateRequest.md)| | |
| **xRevEngApplication** | **String**| Identifies the calling RevEng application. Recorded on the Analysis log. | [optional] |

### Return type

[**OperationCreateMetadataCreateResult**](OperationCreateMetadataCreateResult.md)

### Authorization

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

### HTTP request headers

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

### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **201** | Created | - |
| **400** | Bad Request | - |
| **402** | Payment Required | - |
| **403** | Forbidden | - |
| **404** | Not Found | - |
| **409** | Conflict | - |
| **413** | Request Entity Too Large | - |
| **422** | Unprocessable Entity | - |
| **500** | Internal Server Error | - |

<a id="v3DeleteAnalysis"></a>
# **v3DeleteAnalysis**
> v3DeleteAnalysis(analysisId)
Expand Down
13 changes: 13 additions & 0 deletions docs/ApiKeyBody.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@


# ApiKeyBody


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**apiKey** | **String** | The API key | |



Loading
Loading