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 @@
v2.88.6
v2.90.1
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ Class | Method | HTTP request | Description
*CollectionsApi* | [**update_collection**](docs/CollectionsApi.md#update_collection) | **PATCH** /v2/collections/{collection_id} | Updates a collection
*CollectionsApi* | [**update_collection_binaries**](docs/CollectionsApi.md#update_collection_binaries) | **PATCH** /v2/collections/{collection_id}/binaries | Updates a collection binaries
*CollectionsApi* | [**update_collection_tags**](docs/CollectionsApi.md#update_collection_tags) | **PATCH** /v2/collections/{collection_id}/tags | Updates a collection tags
*ConfigApi* | [**get_config**](docs/ConfigApi.md#get_config) | **GET** /v2/config | Get Config
*ExternalSourcesApi* | [**create_external_task_vt**](docs/ExternalSourcesApi.md#create_external_task_vt) | **POST** /v2/analysis/{analysis_id}/external/vt | Pulls data from VirusTotal
*ExternalSourcesApi* | [**get_vt_data**](docs/ExternalSourcesApi.md#get_vt_data) | **GET** /v2/analysis/{analysis_id}/external/vt | Get VirusTotal data
*ExternalSourcesApi* | [**get_vt_task_status**](docs/ExternalSourcesApi.md#get_vt_task_status) | **GET** /v2/analysis/{analysis_id}/external/vt/status | Check the status of VirusTotal data retrieval
Expand Down Expand Up @@ -209,6 +210,7 @@ Class | Method | HTTP request | Description
- [BaseResponseCollectionTagsUpdateResponse](docs/BaseResponseCollectionTagsUpdateResponse.md)
- [BaseResponseCommentResponse](docs/BaseResponseCommentResponse.md)
- [BaseResponseCommunities](docs/BaseResponseCommunities.md)
- [BaseResponseConfigResponse](docs/BaseResponseConfigResponse.md)
- [BaseResponseCreated](docs/BaseResponseCreated.md)
- [BaseResponseDict](docs/BaseResponseDict.md)
- [BaseResponseDynamicExecutionStatus](docs/BaseResponseDynamicExecutionStatus.md)
Expand Down Expand Up @@ -291,6 +293,7 @@ Class | Method | HTTP request | Description
- [Communities](docs/Communities.md)
- [CommunityMatchPercentages](docs/CommunityMatchPercentages.md)
- [ConfidenceType](docs/ConfidenceType.md)
- [ConfigResponse](docs/ConfigResponse.md)
- [Context](docs/Context.md)
- [Created](docs/Created.md)
- [DecompilationCommentContext](docs/DecompilationCommentContext.md)
Expand Down Expand Up @@ -374,6 +377,7 @@ Class | Method | HTTP request | Description
- [ModelName](docs/ModelName.md)
- [ModelsResponse](docs/ModelsResponse.md)
- [NameConfidence](docs/NameConfidence.md)
- [NameSourceType](docs/NameSourceType.md)
- [NetworkOverviewDns](docs/NetworkOverviewDns.md)
- [NetworkOverviewDnsAnswer](docs/NetworkOverviewDnsAnswer.md)
- [NetworkOverviewMetadata](docs/NetworkOverviewMetadata.md)
Expand Down
33 changes: 33 additions & 0 deletions docs/BaseResponseConfigResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# BaseResponseConfigResponse


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**status** | **bool** | Response status on whether the request succeeded | [optional] [default to True]
**data** | [**ConfigResponse**](ConfigResponse.md) | | [optional]
**message** | **str** | | [optional]
**errors** | [**List[ErrorModel]**](ErrorModel.md) | | [optional]
**meta** | [**MetaModel**](MetaModel.md) | Metadata | [optional]

## Example

```python
from revengai.models.base_response_config_response import BaseResponseConfigResponse

# TODO update the JSON string below
json = "{}"
# create an instance of BaseResponseConfigResponse from a JSON string
base_response_config_response_instance = BaseResponseConfigResponse.from_json(json)
# print the JSON string representation of the object
print(BaseResponseConfigResponse.to_json())

# convert the object into a dict
base_response_config_response_dict = base_response_config_response_instance.to_dict()
# create an instance of BaseResponseConfigResponse from a dict
base_response_config_response_from_dict = BaseResponseConfigResponse.from_dict(base_response_config_response_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


85 changes: 85 additions & 0 deletions docs/ConfigApi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# revengai.ConfigApi

All URIs are relative to *https://api.reveng.ai*

Method | HTTP request | Description
------------- | ------------- | -------------
[**get_config**](ConfigApi.md#get_config) | **GET** /v2/config | Get Config


# **get_config**
> BaseResponseConfigResponse get_config()

Get Config

General configuration endpoint

### Example

* Api Key Authentication (APIKey):

```python
import revengai
from revengai.models.base_response_config_response import BaseResponseConfigResponse
from revengai.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://api.reveng.ai
# See configuration.py for a list of all supported configuration parameters.
configuration = revengai.Configuration(
host = "https://api.reveng.ai"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: APIKey
configuration.api_key['APIKey'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['APIKey'] = 'Bearer'

# Enter a context with an instance of the API client
with revengai.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = revengai.ConfigApi(api_client)

try:
# Get Config
api_response = api_instance.get_config()
print("The response of ConfigApi->get_config:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ConfigApi->get_config: %s\n" % e)
```



### Parameters

This endpoint does not need any parameter.

### Return type

[**BaseResponseConfigResponse**](BaseResponseConfigResponse.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 | - |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

31 changes: 31 additions & 0 deletions docs/ConfigResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# ConfigResponse


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**dashboard_url** | **str** | The domain of the RevEng.AI platform you are connected to | [optional] [default to '']
**max_file_size_bytes** | **int** | Maximum file size (in bytes) that can be uploaded for analysis |
**ai_decompiler_unsupported_languages** | **List[str]** | List of programming languages that are not supported for AI decompilation |

## Example

```python
from revengai.models.config_response import ConfigResponse

# TODO update the JSON string below
json = "{}"
# create an instance of ConfigResponse from a JSON string
config_response_instance = ConfigResponse.from_json(json)
# print the JSON string representation of the object
print(ConfigResponse.to_json())

# convert the object into a dict
config_response_dict = config_response_instance.to_dict()
# create an instance of ConfigResponse from a dict
config_response_from_dict = ConfigResponse.from_dict(config_response_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


1 change: 1 addition & 0 deletions docs/FunctionListItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Name | Type | Description | Notes
**id** | **int** | Function id |
**name** | **str** | Name of the function |
**name_source_type** | **str** | The source (process) the function name came from |
**name_source** | [**NameSourceType**](NameSourceType.md) | The source of the current function name. |
**mangled_name** | **str** | Mangled name of the function |
**vaddr** | **int** | Function virtual address |
**size** | **int** | Function size in bytes |
Expand Down
31 changes: 31 additions & 0 deletions docs/NameSourceType.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# NameSourceType


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **str** | The source (process) the function name came from |
**function_id** | **int** | | [optional]
**binary_id** | **int** | | [optional]

## Example

```python
from revengai.models.name_source_type import NameSourceType

# TODO update the JSON string below
json = "{}"
# create an instance of NameSourceType from a JSON string
name_source_type_instance = NameSourceType.from_json(json)
# print the JSON string representation of the object
print(NameSourceType.to_json())

# convert the object into a dict
name_source_type_dict = name_source_type_instance.to_dict()
# create an instance of NameSourceType from a dict
name_source_type_from_dict = NameSourceType.from_dict(name_source_type_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


10 changes: 9 additions & 1 deletion revengai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
""" # noqa: E501


__version__ = "v2.88.6"
__version__ = "v2.90.1"

# Define package exports
__all__ = [
Expand All @@ -25,6 +25,7 @@
"AuthenticationUsersApi",
"BinariesApi",
"CollectionsApi",
"ConfigApi",
"ExternalSourcesApi",
"FirmwareApi",
"FunctionsAIDecompilationApi",
Expand Down Expand Up @@ -104,6 +105,7 @@
"BaseResponseCollectionTagsUpdateResponse",
"BaseResponseCommentResponse",
"BaseResponseCommunities",
"BaseResponseConfigResponse",
"BaseResponseCreated",
"BaseResponseDict",
"BaseResponseDynamicExecutionStatus",
Expand Down Expand Up @@ -186,6 +188,7 @@
"Communities",
"CommunityMatchPercentages",
"ConfidenceType",
"ConfigResponse",
"Context",
"Created",
"DecompilationCommentContext",
Expand Down Expand Up @@ -269,6 +272,7 @@
"ModelName",
"ModelsResponse",
"NameConfidence",
"NameSourceType",
"NetworkOverviewDns",
"NetworkOverviewDnsAnswer",
"NetworkOverviewMetadata",
Expand Down Expand Up @@ -345,6 +349,7 @@
from revengai.api.authentication_users_api import AuthenticationUsersApi as AuthenticationUsersApi
from revengai.api.binaries_api import BinariesApi as BinariesApi
from revengai.api.collections_api import CollectionsApi as CollectionsApi
from revengai.api.config_api import ConfigApi as ConfigApi
from revengai.api.external_sources_api import ExternalSourcesApi as ExternalSourcesApi
from revengai.api.firmware_api import FirmwareApi as FirmwareApi
from revengai.api.functions_ai_decompilation_api import FunctionsAIDecompilationApi as FunctionsAIDecompilationApi
Expand Down Expand Up @@ -428,6 +433,7 @@
from revengai.models.base_response_collection_tags_update_response import BaseResponseCollectionTagsUpdateResponse as BaseResponseCollectionTagsUpdateResponse
from revengai.models.base_response_comment_response import BaseResponseCommentResponse as BaseResponseCommentResponse
from revengai.models.base_response_communities import BaseResponseCommunities as BaseResponseCommunities
from revengai.models.base_response_config_response import BaseResponseConfigResponse as BaseResponseConfigResponse
from revengai.models.base_response_created import BaseResponseCreated as BaseResponseCreated
from revengai.models.base_response_dict import BaseResponseDict as BaseResponseDict
from revengai.models.base_response_dynamic_execution_status import BaseResponseDynamicExecutionStatus as BaseResponseDynamicExecutionStatus
Expand Down Expand Up @@ -510,6 +516,7 @@
from revengai.models.communities import Communities as Communities
from revengai.models.community_match_percentages import CommunityMatchPercentages as CommunityMatchPercentages
from revengai.models.confidence_type import ConfidenceType as ConfidenceType
from revengai.models.config_response import ConfigResponse as ConfigResponse
from revengai.models.context import Context as Context
from revengai.models.created import Created as Created
from revengai.models.decompilation_comment_context import DecompilationCommentContext as DecompilationCommentContext
Expand Down Expand Up @@ -593,6 +600,7 @@
from revengai.models.model_name import ModelName as ModelName
from revengai.models.models_response import ModelsResponse as ModelsResponse
from revengai.models.name_confidence import NameConfidence as NameConfidence
from revengai.models.name_source_type import NameSourceType as NameSourceType
from revengai.models.network_overview_dns import NetworkOverviewDns as NetworkOverviewDns
from revengai.models.network_overview_dns_answer import NetworkOverviewDnsAnswer as NetworkOverviewDnsAnswer
from revengai.models.network_overview_metadata import NetworkOverviewMetadata as NetworkOverviewMetadata
Expand Down
1 change: 1 addition & 0 deletions revengai/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from revengai.api.authentication_users_api import AuthenticationUsersApi
from revengai.api.binaries_api import BinariesApi
from revengai.api.collections_api import CollectionsApi
from revengai.api.config_api import ConfigApi
from revengai.api.external_sources_api import ExternalSourcesApi
from revengai.api.firmware_api import FirmwareApi
from revengai.api.functions_ai_decompilation_api import FunctionsAIDecompilationApi
Expand Down
Loading