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.54.0
v4.60.1
43 changes: 43 additions & 0 deletions README.md

Large diffs are not rendered by default.

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


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**keys** | **List[str]** | Keys of the suggestions to store, as the type suggestions endpoint returns them. A key repeated in one request is stored once. |

## Example

```python
from revengai.models.accept_type_suggestions_input_body import AcceptTypeSuggestionsInputBody

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

# convert the object into a dict
accept_type_suggestions_input_body_dict = accept_type_suggestions_input_body_instance.to_dict()
# create an instance of AcceptTypeSuggestionsInputBody from a dict
accept_type_suggestions_input_body_from_dict = AcceptTypeSuggestionsInputBody.from_dict(accept_type_suggestions_input_body_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)


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


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**accepted** | [**List[AcceptedType]**](AcceptedType.md) | One entry per requested suggestion, in request order. |
**data_types** | [**List[DataTypeEntry]**](DataTypeEntry.md) | The type each requested suggestion resolved to, plus every type minted to satisfy one, ordered by data_type_id. |

## Example

```python
from revengai.models.accept_type_suggestions_output_body import AcceptTypeSuggestionsOutputBody

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

# convert the object into a dict
accept_type_suggestions_output_body_dict = accept_type_suggestions_output_body_instance.to_dict()
# create an instance of AcceptTypeSuggestionsOutputBody from a dict
accept_type_suggestions_output_body_from_dict = AcceptTypeSuggestionsOutputBody.from_dict(accept_type_suggestions_output_body_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)


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


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**created** | **bool** | False when the analysis already held a type under this name and kind, which this request resolved to rather than replaced. |
**data_type_id** | **int** | The data type the suggestion is now stored as. |
**key** | **str** | The suggestion this entry answers. |
**skipped_members** | **int** | Members left out of the stored type because no offset or width was established for them. |

## Example

```python
from revengai.models.accepted_type import AcceptedType

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

# convert the object into a dict
accepted_type_dict = accepted_type_instance.to_dict()
# create an instance of AcceptedType from a dict
accepted_type_from_dict = AcceptedType.from_dict(accepted_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)


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


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**report** | [**List[WorkflowDayBody]**](WorkflowDayBody.md) | One entry per day in the requested window, oldest first |

## Example

```python
from revengai.models.agent_workflow_usage_output_body import AgentWorkflowUsageOutputBody

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

# convert the object into a dict
agent_workflow_usage_output_body_dict = agent_workflow_usage_output_body_instance.to_dict()
# create an instance of AgentWorkflowUsageOutputBody from a dict
agent_workflow_usage_output_body_from_dict = AgentWorkflowUsageOutputBody.from_dict(agent_workflow_usage_output_body_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)


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


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**completed** | **int** | ANALYSE_CAPABILITIES agent tasks completed that day |

## Example

```python
from revengai.models.analyse_capabilities_body import AnalyseCapabilitiesBody

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

# convert the object into a dict
analyse_capabilities_body_dict = analyse_capabilities_body_instance.to_dict()
# create an instance of AnalyseCapabilitiesBody from a dict
analyse_capabilities_body_from_dict = AnalyseCapabilitiesBody.from_dict(analyse_capabilities_body_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)


95 changes: 95 additions & 0 deletions docs/AnalysesBulkActionsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Method | HTTP request | Description
------------- | ------------- | -------------
[**bulk_add_analysis_tags**](AnalysesBulkActionsApi.md#bulk_add_analysis_tags) | **PATCH** /v2/analyses/tags/add | Bulk Add Analysis Tags
[**bulk_delete_analyses**](AnalysesBulkActionsApi.md#bulk_delete_analyses) | **PATCH** /v2/analyses/delete | Bulk Delete Analyses
[**v3_batch_add_analysis_tags**](AnalysesBulkActionsApi.md#v3_batch_add_analysis_tags) | **POST** /v3/analyses:batchAddTags | Add tags to multiple analyses.
[**v3_batch_delete_analyses**](AnalysesBulkActionsApi.md#v3_batch_delete_analyses) | **POST** /v3/analyses:batchDelete | Delete multiple analyses.


Expand Down Expand Up @@ -185,6 +186,100 @@ Name | Type | Description | Notes

[[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)

# **v3_batch_add_analysis_tags**
> BulkAddTagsOutputBody v3_batch_add_analysis_tags(bulk_add_tags_input_body)

Add tags to multiple analyses.

Adds tags (origin RevEng) to every given analysis' binary. The caller must own every analysis, or none are changed.

**Error codes:**
- `404` [`NOT_FOUND`](/errors/NOT_FOUND) β€” Not Found
- `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) β€” Access Denied

### Example

* Api Key Authentication (APIKey):
* Bearer Authentication (bearerAuth):

```python
import revengai
from revengai.models.bulk_add_tags_input_body import BulkAddTagsInputBody
from revengai.models.bulk_add_tags_output_body import BulkAddTagsOutputBody
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'

# Configure Bearer authorization: bearerAuth
configuration = revengai.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)

# 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.AnalysesBulkActionsApi(api_client)
bulk_add_tags_input_body = revengai.BulkAddTagsInputBody() # BulkAddTagsInputBody |

try:
# Add tags to multiple analyses.
api_response = api_instance.v3_batch_add_analysis_tags(bulk_add_tags_input_body)
print("The response of AnalysesBulkActionsApi->v3_batch_add_analysis_tags:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AnalysesBulkActionsApi->v3_batch_add_analysis_tags: %s\n" % e)
```



### Parameters


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**bulk_add_tags_input_body** | [**BulkAddTagsInputBody**](BulkAddTagsInputBody.md)| |

### Return type

[**BulkAddTagsOutputBody**](BulkAddTagsOutputBody.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 |
|-------------|-------------|------------------|
**200** | OK | - |
**403** | Forbidden | - |
**404** | Not Found | - |
**422** | Unprocessable Entity | - |
**500** | Internal Server Error | - |

[[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)

# **v3_batch_delete_analyses**
> v3_batch_delete_analyses(bulk_delete_analyses_input_body)

Expand Down
Loading
Loading