Skip to content

Commit 07ac431

Browse files
authored
Merge pull request #106 from RevEngAI/sdk-update-v3.28.2
🤖 Update SDK to version v3.28.2
2 parents 6d9fbdf + 143705f commit 07ac431

33 files changed

Lines changed: 1302 additions & 17 deletions

.sdk-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v3.24.0
1+
v3.28.2

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Class | Method | HTTP request | Description
4545
*AnalysesCommentsApi* | [**delete_analysis_comment**](docs/AnalysesCommentsApi.md#delete_analysis_comment) | **DELETE** /v2/analyses/{analysis_id}/comments/{comment_id} | Delete a comment
4646
*AnalysesCommentsApi* | [**get_analysis_comments**](docs/AnalysesCommentsApi.md#get_analysis_comments) | **GET** /v2/analyses/{analysis_id}/comments | Get comments for this analysis
4747
*AnalysesCommentsApi* | [**update_analysis_comment**](docs/AnalysesCommentsApi.md#update_analysis_comment) | **PATCH** /v2/analyses/{analysis_id}/comments/{comment_id} | Update a comment
48+
*AnalysesCoreApi* | [**bulk_add_analysis_tags**](docs/AnalysesCoreApi.md#bulk_add_analysis_tags) | **PATCH** /v2/analyses/tags/add | Bulk Add Analysis Tags
4849
*AnalysesCoreApi* | [**create_analysis**](docs/AnalysesCoreApi.md#create_analysis) | **POST** /v2/analyses | Create Analysis
4950
*AnalysesCoreApi* | [**delete_analysis**](docs/AnalysesCoreApi.md#delete_analysis) | **DELETE** /v2/analyses/{analysis_id} | Delete Analysis
5051
*AnalysesCoreApi* | [**get_analysis_basic_info**](docs/AnalysesCoreApi.md#get_analysis_basic_info) | **GET** /v2/analyses/{analysis_id}/basic | Gets basic analysis information
@@ -154,8 +155,12 @@ Class | Method | HTTP request | Description
154155
- [AdditionalDetailsStatusResponse](docs/AdditionalDetailsStatusResponse.md)
155156
- [Addr](docs/Addr.md)
156157
- [AiDecompilationRating](docs/AiDecompilationRating.md)
158+
- [AiDecompilationTaskStatus](docs/AiDecompilationTaskStatus.md)
157159
- [AiUnstripRequest](docs/AiUnstripRequest.md)
158160
- [AnalysisAccessInfo](docs/AnalysisAccessInfo.md)
161+
- [AnalysisBulkAddTagsRequest](docs/AnalysisBulkAddTagsRequest.md)
162+
- [AnalysisBulkAddTagsResponse](docs/AnalysisBulkAddTagsResponse.md)
163+
- [AnalysisBulkAddTagsResponseItem](docs/AnalysisBulkAddTagsResponseItem.md)
159164
- [AnalysisConfig](docs/AnalysisConfig.md)
160165
- [AnalysisCreateRequest](docs/AnalysisCreateRequest.md)
161166
- [AnalysisCreateResponse](docs/AnalysisCreateResponse.md)
@@ -183,6 +188,7 @@ Class | Method | HTTP request | Description
183188
- [AutoUnstripResponse](docs/AutoUnstripResponse.md)
184189
- [BaseResponse](docs/BaseResponse.md)
185190
- [BaseResponseAdditionalDetailsStatusResponse](docs/BaseResponseAdditionalDetailsStatusResponse.md)
191+
- [BaseResponseAnalysisBulkAddTagsResponse](docs/BaseResponseAnalysisBulkAddTagsResponse.md)
186192
- [BaseResponseAnalysisCreateResponse](docs/BaseResponseAnalysisCreateResponse.md)
187193
- [BaseResponseAnalysisDetailResponse](docs/BaseResponseAnalysisDetailResponse.md)
188194
- [BaseResponseAnalysisFunctionMapping](docs/BaseResponseAnalysisFunctionMapping.md)

docs/AiDecompilationTaskStatus.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# AiDecompilationTaskStatus
2+
3+
4+
## Enum
5+
6+
* `UNINITIALISED` (value: `'uninitialised'`)
7+
8+
* `ERROR` (value: `'error'`)
9+
10+
* `PENDING` (value: `'pending'`)
11+
12+
* `SUCCESS` (value: `'success'`)
13+
14+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
15+
16+

docs/AnalysesCoreApi.md

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ All URIs are relative to *https://api.reveng.ai*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7+
[**bulk_add_analysis_tags**](AnalysesCoreApi.md#bulk_add_analysis_tags) | **PATCH** /v2/analyses/tags/add | Bulk Add Analysis Tags
78
[**create_analysis**](AnalysesCoreApi.md#create_analysis) | **POST** /v2/analyses | Create Analysis
89
[**delete_analysis**](AnalysesCoreApi.md#delete_analysis) | **DELETE** /v2/analyses/{analysis_id} | Delete Analysis
910
[**get_analysis_basic_info**](AnalysesCoreApi.md#get_analysis_basic_info) | **GET** /v2/analyses/{analysis_id}/basic | Gets basic analysis information
@@ -20,6 +21,87 @@ Method | HTTP request | Description
2021
[**upload_file**](AnalysesCoreApi.md#upload_file) | **POST** /v2/upload | Upload File
2122

2223

24+
# **bulk_add_analysis_tags**
25+
> BaseResponseAnalysisBulkAddTagsResponse bulk_add_analysis_tags(analysis_bulk_add_tags_request)
26+
27+
Bulk Add Analysis Tags
28+
29+
Updates analysis tags for multiple analyses. User must be the owner.
30+
31+
### Example
32+
33+
* Api Key Authentication (APIKey):
34+
35+
```python
36+
import revengai
37+
from revengai.models.analysis_bulk_add_tags_request import AnalysisBulkAddTagsRequest
38+
from revengai.models.base_response_analysis_bulk_add_tags_response import BaseResponseAnalysisBulkAddTagsResponse
39+
from revengai.rest import ApiException
40+
from pprint import pprint
41+
42+
# Defining the host is optional and defaults to https://api.reveng.ai
43+
# See configuration.py for a list of all supported configuration parameters.
44+
configuration = revengai.Configuration(
45+
host = "https://api.reveng.ai"
46+
)
47+
48+
# The client must configure the authentication and authorization parameters
49+
# in accordance with the API server security policy.
50+
# Examples for each auth method are provided below, use the example that
51+
# satisfies your auth use case.
52+
53+
# Configure API key authorization: APIKey
54+
configuration.api_key['APIKey'] = os.environ["API_KEY"]
55+
56+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
57+
# configuration.api_key_prefix['APIKey'] = 'Bearer'
58+
59+
# Enter a context with an instance of the API client
60+
with revengai.ApiClient(configuration) as api_client:
61+
# Create an instance of the API class
62+
api_instance = revengai.AnalysesCoreApi(api_client)
63+
analysis_bulk_add_tags_request = revengai.AnalysisBulkAddTagsRequest() # AnalysisBulkAddTagsRequest |
64+
65+
try:
66+
# Bulk Add Analysis Tags
67+
api_response = api_instance.bulk_add_analysis_tags(analysis_bulk_add_tags_request)
68+
print("The response of AnalysesCoreApi->bulk_add_analysis_tags:\n")
69+
pprint(api_response)
70+
except Exception as e:
71+
print("Exception when calling AnalysesCoreApi->bulk_add_analysis_tags: %s\n" % e)
72+
```
73+
74+
75+
76+
### Parameters
77+
78+
79+
Name | Type | Description | Notes
80+
------------- | ------------- | ------------- | -------------
81+
**analysis_bulk_add_tags_request** | [**AnalysisBulkAddTagsRequest**](AnalysisBulkAddTagsRequest.md)| |
82+
83+
### Return type
84+
85+
[**BaseResponseAnalysisBulkAddTagsResponse**](BaseResponseAnalysisBulkAddTagsResponse.md)
86+
87+
### Authorization
88+
89+
[APIKey](../README.md#APIKey)
90+
91+
### HTTP request headers
92+
93+
- **Content-Type**: application/json
94+
- **Accept**: application/json
95+
96+
### HTTP response details
97+
98+
| Status code | Description | Response headers |
99+
|-------------|-------------|------------------|
100+
**200** | Successful Response | - |
101+
**422** | Invalid request parameters | - |
102+
103+
[[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)
104+
23105
# **create_analysis**
24106
> BaseResponseAnalysisCreateResponse create_analysis(analysis_create_request, x_rev_eng_application=x_rev_eng_application)
25107

docs/AnalysisBulkAddTagsRequest.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# AnalysisBulkAddTagsRequest
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**tags** | **List[str]** | |
9+
**analysis_ids** | **List[int]** | |
10+
11+
## Example
12+
13+
```python
14+
from revengai.models.analysis_bulk_add_tags_request import AnalysisBulkAddTagsRequest
15+
16+
# TODO update the JSON string below
17+
json = "{}"
18+
# create an instance of AnalysisBulkAddTagsRequest from a JSON string
19+
analysis_bulk_add_tags_request_instance = AnalysisBulkAddTagsRequest.from_json(json)
20+
# print the JSON string representation of the object
21+
print(AnalysisBulkAddTagsRequest.to_json())
22+
23+
# convert the object into a dict
24+
analysis_bulk_add_tags_request_dict = analysis_bulk_add_tags_request_instance.to_dict()
25+
# create an instance of AnalysisBulkAddTagsRequest from a dict
26+
analysis_bulk_add_tags_request_from_dict = AnalysisBulkAddTagsRequest.from_dict(analysis_bulk_add_tags_request_dict)
27+
```
28+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
29+
30+
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# AnalysisBulkAddTagsResponse
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**results** | [**List[AnalysisBulkAddTagsResponseItem]**](AnalysisBulkAddTagsResponseItem.md) | |
9+
10+
## Example
11+
12+
```python
13+
from revengai.models.analysis_bulk_add_tags_response import AnalysisBulkAddTagsResponse
14+
15+
# TODO update the JSON string below
16+
json = "{}"
17+
# create an instance of AnalysisBulkAddTagsResponse from a JSON string
18+
analysis_bulk_add_tags_response_instance = AnalysisBulkAddTagsResponse.from_json(json)
19+
# print the JSON string representation of the object
20+
print(AnalysisBulkAddTagsResponse.to_json())
21+
22+
# convert the object into a dict
23+
analysis_bulk_add_tags_response_dict = analysis_bulk_add_tags_response_instance.to_dict()
24+
# create an instance of AnalysisBulkAddTagsResponse from a dict
25+
analysis_bulk_add_tags_response_from_dict = AnalysisBulkAddTagsResponse.from_dict(analysis_bulk_add_tags_response_dict)
26+
```
27+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
28+
29+
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# AnalysisBulkAddTagsResponseItem
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**analysis_id** | **int** | |
9+
**message** | **str** | |
10+
**error** | **str** | | [optional]
11+
12+
## Example
13+
14+
```python
15+
from revengai.models.analysis_bulk_add_tags_response_item import AnalysisBulkAddTagsResponseItem
16+
17+
# TODO update the JSON string below
18+
json = "{}"
19+
# create an instance of AnalysisBulkAddTagsResponseItem from a JSON string
20+
analysis_bulk_add_tags_response_item_instance = AnalysisBulkAddTagsResponseItem.from_json(json)
21+
# print the JSON string representation of the object
22+
print(AnalysisBulkAddTagsResponseItem.to_json())
23+
24+
# convert the object into a dict
25+
analysis_bulk_add_tags_response_item_dict = analysis_bulk_add_tags_response_item_instance.to_dict()
26+
# create an instance of AnalysisBulkAddTagsResponseItem from a dict
27+
analysis_bulk_add_tags_response_item_from_dict = AnalysisBulkAddTagsResponseItem.from_dict(analysis_bulk_add_tags_response_item_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/AnalysisRecord.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Name | Type | Description | Notes
2121
**dynamic_execution_status** | [**AppApiRestV2AnalysesEnumsDynamicExecutionStatus**](AppApiRestV2AnalysesEnumsDynamicExecutionStatus.md) | | [optional]
2222
**dynamic_execution_task_id** | **int** | | [optional]
2323
**base_address** | **int** | The base address of the binary |
24+
**tags** | [**List[TagItem]**](TagItem.md) | List of tags associated with the analysis | [optional]
2425

2526
## Example
2627

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# BaseResponseAnalysisBulkAddTagsResponse
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** | [**AnalysisBulkAddTagsResponse**](AnalysisBulkAddTagsResponse.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_analysis_bulk_add_tags_response import BaseResponseAnalysisBulkAddTagsResponse
18+
19+
# TODO update the JSON string below
20+
json = "{}"
21+
# create an instance of BaseResponseAnalysisBulkAddTagsResponse from a JSON string
22+
base_response_analysis_bulk_add_tags_response_instance = BaseResponseAnalysisBulkAddTagsResponse.from_json(json)
23+
# print the JSON string representation of the object
24+
print(BaseResponseAnalysisBulkAddTagsResponse.to_json())
25+
26+
# convert the object into a dict
27+
base_response_analysis_bulk_add_tags_response_dict = base_response_analysis_bulk_add_tags_response_instance.to_dict()
28+
# create an instance of BaseResponseAnalysisBulkAddTagsResponse from a dict
29+
base_response_analysis_bulk_add_tags_response_from_dict = BaseResponseAnalysisBulkAddTagsResponse.from_dict(base_response_analysis_bulk_add_tags_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/GetAiDecompilationTask.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**status** | **str** | |
8+
**status** | [**AiDecompilationTaskStatus**](AiDecompilationTaskStatus.md) | The status of the AI decompilation task |
99
**decompilation** | **str** | |
1010
**raw_decompilation** | **str** | |
1111
**function_mapping** | [**Dict[str, InverseFunctionMapItem]**](InverseFunctionMapItem.md) | |

0 commit comments

Comments
 (0)