# \TelemetryApi

All URIs are relative to *http://localhost*

Method | HTTP request | Description
------------- | ------------- | -------------
[**delete_crash**](TelemetryApi.md#delete_crash) | **DELETE** /api/v1/admin/telemetry/crashes/{id} | DELETE /api/v1/admin/telemetry/crashes/:id
[**get_crash**](TelemetryApi.md#get_crash) | **GET** /api/v1/admin/telemetry/crashes/{id} | GET /api/v1/admin/telemetry/crashes/:id
[**get_telemetry_settings**](TelemetryApi.md#get_telemetry_settings) | **GET** /api/v1/admin/telemetry/settings | GET /api/v1/admin/telemetry/settings
[**list_crashes**](TelemetryApi.md#list_crashes) | **GET** /api/v1/admin/telemetry/crashes | GET /api/v1/admin/telemetry/crashes
[**list_pending_crashes**](TelemetryApi.md#list_pending_crashes) | **GET** /api/v1/admin/telemetry/crashes/pending | GET /api/v1/admin/telemetry/crashes/pending
[**submit_crashes**](TelemetryApi.md#submit_crashes) | **POST** /api/v1/admin/telemetry/crashes/submit | POST /api/v1/admin/telemetry/crashes/submit
[**update_telemetry_settings**](TelemetryApi.md#update_telemetry_settings) | **POST** /api/v1/admin/telemetry/settings | POST /api/v1/admin/telemetry/settings



## delete_crash

> delete_crash(id)
DELETE /api/v1/admin/telemetry/crashes/:id

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Crash report ID | [required] |

### Return type

 (empty response body)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: Not defined

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


## get_crash

> models::CrashReport get_crash(id)
GET /api/v1/admin/telemetry/crashes/:id

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Crash report ID | [required] |

### Return type

[**models::CrashReport**](CrashReport.md)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

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


## get_telemetry_settings

> models::TelemetrySettings get_telemetry_settings()
GET /api/v1/admin/telemetry/settings

### Parameters

This endpoint does not need any parameter.

### Return type

[**models::TelemetrySettings**](TelemetrySettings.md)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

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


## list_crashes

> models::CrashListResponse list_crashes(page, per_page)
GET /api/v1/admin/telemetry/crashes

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**page** | Option<**i32**> |  |  |
**per_page** | Option<**i32**> |  |  |

### Return type

[**models::CrashListResponse**](CrashListResponse.md)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

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


## list_pending_crashes

> Vec<models::CrashReport> list_pending_crashes()
GET /api/v1/admin/telemetry/crashes/pending

### Parameters

This endpoint does not need any parameter.

### Return type

[**Vec<models::CrashReport>**](CrashReport.md)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

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


## submit_crashes

> models::SubmitResponse submit_crashes(submit_crashes_request)
POST /api/v1/admin/telemetry/crashes/submit

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**submit_crashes_request** | [**SubmitCrashesRequest**](SubmitCrashesRequest.md) |  | [required] |

### Return type

[**models::SubmitResponse**](SubmitResponse.md)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

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


## update_telemetry_settings

> models::TelemetrySettings update_telemetry_settings(telemetry_settings)
POST /api/v1/admin/telemetry/settings

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**telemetry_settings** | [**TelemetrySettings**](TelemetrySettings.md) |  | [required] |

### Return type

[**models::TelemetrySettings**](TelemetrySettings.md)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

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

