Skip to content
Closed
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.0
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ Class | Method | HTTP request | Description
*SearchApi* | [**search_collections**](docs/SearchApi.md#search_collections) | **GET** /v2/search/collections | Collections search
*SearchApi* | [**search_functions**](docs/SearchApi.md#search_functions) | **GET** /v2/search/functions | Functions search
*SearchApi* | [**search_tags**](docs/SearchApi.md#search_tags) | **GET** /v2/search/tags | Tags search
*DefaultApi* | [**get_config_v2_config_get**](docs/DefaultApi.md#get_config_v2_config_get) | **GET** /v2/config | Get Config


## Documentation For Models
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)


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)


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

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

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


# **get_config_v2_config_get**
> BaseResponseConfigResponse get_config_v2_config_get()

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.DefaultApi(api_client)

try:
# Get Config
api_response = api_instance.get_config_v2_config_get()
print("The response of DefaultApi->get_config_v2_config_get:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling DefaultApi->get_config_v2_config_get: %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)

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.0"

# Define package exports
__all__ = [
Expand All @@ -35,6 +35,7 @@
"FunctionsRenamingHistoryApi",
"ModelsApi",
"SearchApi",
"DefaultApi",
"ApiResponse",
"ApiClient",
"Configuration",
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 @@ -355,6 +359,7 @@
from revengai.api.functions_renaming_history_api import FunctionsRenamingHistoryApi as FunctionsRenamingHistoryApi
from revengai.api.models_api import ModelsApi as ModelsApi
from revengai.api.search_api import SearchApi as SearchApi
from revengai.api.default_api import DefaultApi as DefaultApi

# import ApiClient
from revengai.api_response import ApiResponse as ApiResponse
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 @@ -19,4 +19,5 @@
from revengai.api.functions_renaming_history_api import FunctionsRenamingHistoryApi
from revengai.api.models_api import ModelsApi
from revengai.api.search_api import SearchApi
from revengai.api.default_api import DefaultApi

Loading