Skip to content

Commit 688180d

Browse files
Update SDK to version v2.90.0
- Generated from OpenAPI spec version v2.90.0 - Auto-generated by GitHub Actions
1 parent d12e4ad commit 688180d

24 files changed

Lines changed: 1050 additions & 6 deletions

.sdk-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2.88.6
1+
v2.90.0

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ Class | Method | HTTP request | Description
145145
*SearchApi* | [**search_collections**](docs/SearchApi.md#search_collections) | **GET** /v2/search/collections | Collections search
146146
*SearchApi* | [**search_functions**](docs/SearchApi.md#search_functions) | **GET** /v2/search/functions | Functions search
147147
*SearchApi* | [**search_tags**](docs/SearchApi.md#search_tags) | **GET** /v2/search/tags | Tags search
148+
*DefaultApi* | [**get_config_v2_config_get**](docs/DefaultApi.md#get_config_v2_config_get) | **GET** /v2/config | Get Config
148149

149150

150151
## Documentation For Models
@@ -209,6 +210,7 @@ Class | Method | HTTP request | Description
209210
- [BaseResponseCollectionTagsUpdateResponse](docs/BaseResponseCollectionTagsUpdateResponse.md)
210211
- [BaseResponseCommentResponse](docs/BaseResponseCommentResponse.md)
211212
- [BaseResponseCommunities](docs/BaseResponseCommunities.md)
213+
- [BaseResponseConfigResponse](docs/BaseResponseConfigResponse.md)
212214
- [BaseResponseCreated](docs/BaseResponseCreated.md)
213215
- [BaseResponseDict](docs/BaseResponseDict.md)
214216
- [BaseResponseDynamicExecutionStatus](docs/BaseResponseDynamicExecutionStatus.md)
@@ -291,6 +293,7 @@ Class | Method | HTTP request | Description
291293
- [Communities](docs/Communities.md)
292294
- [CommunityMatchPercentages](docs/CommunityMatchPercentages.md)
293295
- [ConfidenceType](docs/ConfidenceType.md)
296+
- [ConfigResponse](docs/ConfigResponse.md)
294297
- [Context](docs/Context.md)
295298
- [Created](docs/Created.md)
296299
- [DecompilationCommentContext](docs/DecompilationCommentContext.md)
@@ -374,6 +377,7 @@ Class | Method | HTTP request | Description
374377
- [ModelName](docs/ModelName.md)
375378
- [ModelsResponse](docs/ModelsResponse.md)
376379
- [NameConfidence](docs/NameConfidence.md)
380+
- [NameSourceType](docs/NameSourceType.md)
377381
- [NetworkOverviewDns](docs/NetworkOverviewDns.md)
378382
- [NetworkOverviewDnsAnswer](docs/NetworkOverviewDnsAnswer.md)
379383
- [NetworkOverviewMetadata](docs/NetworkOverviewMetadata.md)

docs/BaseResponseConfigResponse.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# BaseResponseConfigResponse
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**status** | **bool** | Response status on whether the request succeeded | [optional] [default to True]
9+
**data** | [**ConfigResponse**](ConfigResponse.md) | | [optional]
10+
**message** | **str** | | [optional]
11+
**errors** | [**List[ErrorModel]**](ErrorModel.md) | | [optional]
12+
**meta** | [**MetaModel**](MetaModel.md) | Metadata | [optional]
13+
14+
## Example
15+
16+
```python
17+
from revengai.models.base_response_config_response import BaseResponseConfigResponse
18+
19+
# TODO update the JSON string below
20+
json = "{}"
21+
# create an instance of BaseResponseConfigResponse from a JSON string
22+
base_response_config_response_instance = BaseResponseConfigResponse.from_json(json)
23+
# print the JSON string representation of the object
24+
print(BaseResponseConfigResponse.to_json())
25+
26+
# convert the object into a dict
27+
base_response_config_response_dict = base_response_config_response_instance.to_dict()
28+
# create an instance of BaseResponseConfigResponse from a dict
29+
base_response_config_response_from_dict = BaseResponseConfigResponse.from_dict(base_response_config_response_dict)
30+
```
31+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
32+
33+

docs/ConfigResponse.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# ConfigResponse
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**dashboard_url** | **str** | The domain of the RevEng.AI platform you are connected to | [optional] [default to '']
9+
**max_file_size_bytes** | **int** | Maximum file size (in bytes) that can be uploaded for analysis |
10+
**ai_decompiler_unsupported_languages** | **List[str]** | List of programming languages that are not supported for AI decompilation |
11+
12+
## Example
13+
14+
```python
15+
from revengai.models.config_response import ConfigResponse
16+
17+
# TODO update the JSON string below
18+
json = "{}"
19+
# create an instance of ConfigResponse from a JSON string
20+
config_response_instance = ConfigResponse.from_json(json)
21+
# print the JSON string representation of the object
22+
print(ConfigResponse.to_json())
23+
24+
# convert the object into a dict
25+
config_response_dict = config_response_instance.to_dict()
26+
# create an instance of ConfigResponse from a dict
27+
config_response_from_dict = ConfigResponse.from_dict(config_response_dict)
28+
```
29+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
30+
31+

docs/DefaultApi.md

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# revengai.DefaultApi
2+
3+
All URIs are relative to *https://api.reveng.ai*
4+
5+
Method | HTTP request | Description
6+
------------- | ------------- | -------------
7+
[**get_config_v2_config_get**](DefaultApi.md#get_config_v2_config_get) | **GET** /v2/config | Get Config
8+
9+
10+
# **get_config_v2_config_get**
11+
> BaseResponseConfigResponse get_config_v2_config_get()
12+
13+
Get Config
14+
15+
General configuration endpoint
16+
17+
### Example
18+
19+
* Api Key Authentication (APIKey):
20+
21+
```python
22+
import revengai
23+
from revengai.models.base_response_config_response import BaseResponseConfigResponse
24+
from revengai.rest import ApiException
25+
from pprint import pprint
26+
27+
# Defining the host is optional and defaults to https://api.reveng.ai
28+
# See configuration.py for a list of all supported configuration parameters.
29+
configuration = revengai.Configuration(
30+
host = "https://api.reveng.ai"
31+
)
32+
33+
# The client must configure the authentication and authorization parameters
34+
# in accordance with the API server security policy.
35+
# Examples for each auth method are provided below, use the example that
36+
# satisfies your auth use case.
37+
38+
# Configure API key authorization: APIKey
39+
configuration.api_key['APIKey'] = os.environ["API_KEY"]
40+
41+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
42+
# configuration.api_key_prefix['APIKey'] = 'Bearer'
43+
44+
# Enter a context with an instance of the API client
45+
with revengai.ApiClient(configuration) as api_client:
46+
# Create an instance of the API class
47+
api_instance = revengai.DefaultApi(api_client)
48+
49+
try:
50+
# Get Config
51+
api_response = api_instance.get_config_v2_config_get()
52+
print("The response of DefaultApi->get_config_v2_config_get:\n")
53+
pprint(api_response)
54+
except Exception as e:
55+
print("Exception when calling DefaultApi->get_config_v2_config_get: %s\n" % e)
56+
```
57+
58+
59+
60+
### Parameters
61+
62+
This endpoint does not need any parameter.
63+
64+
### Return type
65+
66+
[**BaseResponseConfigResponse**](BaseResponseConfigResponse.md)
67+
68+
### Authorization
69+
70+
[APIKey](../README.md#APIKey)
71+
72+
### HTTP request headers
73+
74+
- **Content-Type**: Not defined
75+
- **Accept**: application/json
76+
77+
### HTTP response details
78+
79+
| Status code | Description | Response headers |
80+
|-------------|-------------|------------------|
81+
**200** | Successful Response | - |
82+
**422** | Invalid request parameters | - |
83+
84+
[[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)
85+

docs/FunctionListItem.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
88
**id** | **int** | Function id |
99
**name** | **str** | Name of the function |
1010
**name_source_type** | **str** | The source (process) the function name came from |
11+
**name_source** | [**NameSourceType**](NameSourceType.md) | The source of the current function name. |
1112
**mangled_name** | **str** | Mangled name of the function |
1213
**vaddr** | **int** | Function virtual address |
1314
**size** | **int** | Function size in bytes |

docs/NameSourceType.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# NameSourceType
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**type** | **str** | The source (process) the function name came from |
9+
**function_id** | **int** | | [optional]
10+
**binary_id** | **int** | | [optional]
11+
12+
## Example
13+
14+
```python
15+
from revengai.models.name_source_type import NameSourceType
16+
17+
# TODO update the JSON string below
18+
json = "{}"
19+
# create an instance of NameSourceType from a JSON string
20+
name_source_type_instance = NameSourceType.from_json(json)
21+
# print the JSON string representation of the object
22+
print(NameSourceType.to_json())
23+
24+
# convert the object into a dict
25+
name_source_type_dict = name_source_type_instance.to_dict()
26+
# create an instance of NameSourceType from a dict
27+
name_source_type_from_dict = NameSourceType.from_dict(name_source_type_dict)
28+
```
29+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
30+
31+

revengai/__init__.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
""" # noqa: E501
1414

1515

16-
__version__ = "v2.88.6"
16+
__version__ = "v2.90.0"
1717

1818
# Define package exports
1919
__all__ = [
@@ -35,6 +35,7 @@
3535
"FunctionsRenamingHistoryApi",
3636
"ModelsApi",
3737
"SearchApi",
38+
"DefaultApi",
3839
"ApiResponse",
3940
"ApiClient",
4041
"Configuration",
@@ -104,6 +105,7 @@
104105
"BaseResponseCollectionTagsUpdateResponse",
105106
"BaseResponseCommentResponse",
106107
"BaseResponseCommunities",
108+
"BaseResponseConfigResponse",
107109
"BaseResponseCreated",
108110
"BaseResponseDict",
109111
"BaseResponseDynamicExecutionStatus",
@@ -186,6 +188,7 @@
186188
"Communities",
187189
"CommunityMatchPercentages",
188190
"ConfidenceType",
191+
"ConfigResponse",
189192
"Context",
190193
"Created",
191194
"DecompilationCommentContext",
@@ -269,6 +272,7 @@
269272
"ModelName",
270273
"ModelsResponse",
271274
"NameConfidence",
275+
"NameSourceType",
272276
"NetworkOverviewDns",
273277
"NetworkOverviewDnsAnswer",
274278
"NetworkOverviewMetadata",
@@ -355,6 +359,7 @@
355359
from revengai.api.functions_renaming_history_api import FunctionsRenamingHistoryApi as FunctionsRenamingHistoryApi
356360
from revengai.api.models_api import ModelsApi as ModelsApi
357361
from revengai.api.search_api import SearchApi as SearchApi
362+
from revengai.api.default_api import DefaultApi as DefaultApi
358363

359364
# import ApiClient
360365
from revengai.api_response import ApiResponse as ApiResponse
@@ -428,6 +433,7 @@
428433
from revengai.models.base_response_collection_tags_update_response import BaseResponseCollectionTagsUpdateResponse as BaseResponseCollectionTagsUpdateResponse
429434
from revengai.models.base_response_comment_response import BaseResponseCommentResponse as BaseResponseCommentResponse
430435
from revengai.models.base_response_communities import BaseResponseCommunities as BaseResponseCommunities
436+
from revengai.models.base_response_config_response import BaseResponseConfigResponse as BaseResponseConfigResponse
431437
from revengai.models.base_response_created import BaseResponseCreated as BaseResponseCreated
432438
from revengai.models.base_response_dict import BaseResponseDict as BaseResponseDict
433439
from revengai.models.base_response_dynamic_execution_status import BaseResponseDynamicExecutionStatus as BaseResponseDynamicExecutionStatus
@@ -510,6 +516,7 @@
510516
from revengai.models.communities import Communities as Communities
511517
from revengai.models.community_match_percentages import CommunityMatchPercentages as CommunityMatchPercentages
512518
from revengai.models.confidence_type import ConfidenceType as ConfidenceType
519+
from revengai.models.config_response import ConfigResponse as ConfigResponse
513520
from revengai.models.context import Context as Context
514521
from revengai.models.created import Created as Created
515522
from revengai.models.decompilation_comment_context import DecompilationCommentContext as DecompilationCommentContext
@@ -593,6 +600,7 @@
593600
from revengai.models.model_name import ModelName as ModelName
594601
from revengai.models.models_response import ModelsResponse as ModelsResponse
595602
from revengai.models.name_confidence import NameConfidence as NameConfidence
603+
from revengai.models.name_source_type import NameSourceType as NameSourceType
596604
from revengai.models.network_overview_dns import NetworkOverviewDns as NetworkOverviewDns
597605
from revengai.models.network_overview_dns_answer import NetworkOverviewDnsAnswer as NetworkOverviewDnsAnswer
598606
from revengai.models.network_overview_metadata import NetworkOverviewMetadata as NetworkOverviewMetadata

revengai/api/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@
1919
from revengai.api.functions_renaming_history_api import FunctionsRenamingHistoryApi
2020
from revengai.api.models_api import ModelsApi
2121
from revengai.api.search_api import SearchApi
22+
from revengai.api.default_api import DefaultApi
2223

0 commit comments

Comments
 (0)