# \TelemetryApi

All URIs are relative to *https://registry.example.com*

Method | HTTP request | Description
------------- | ------------- | -------------
[**delete_crash_report**](TelemetryApi.md#delete_crash_report) | **DELETE** /api/v1/admin/telemetry/crashes/{id} | Delete a crash report
[**get_crash_report**](TelemetryApi.md#get_crash_report) | **GET** /api/v1/admin/telemetry/crashes/{id} | Get a crash report
[**get_telemetry_settings**](TelemetryApi.md#get_telemetry_settings) | **GET** /api/v1/admin/telemetry/settings | Get telemetry settings
[**list_crash_reports**](TelemetryApi.md#list_crash_reports) | **GET** /api/v1/admin/telemetry/crashes | List crash reports
[**list_pending_crash_reports**](TelemetryApi.md#list_pending_crash_reports) | **GET** /api/v1/admin/telemetry/crashes/pending | List pending crash reports
[**submit_crash_reports**](TelemetryApi.md#submit_crash_reports) | **POST** /api/v1/admin/telemetry/crashes/submit | Submit crash reports
[**update_telemetry_settings**](TelemetryApi.md#update_telemetry_settings) | **POST** /api/v1/admin/telemetry/settings | Update telemetry settings



## delete_crash_report

> delete_crash_report(id)
Delete a crash report

Permanently remove a crash report from the system.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Unique identifier of the crash report to delete. | [required] |

### Return type

 (empty response body)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### 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_crash_report

> models::CrashReport get_crash_report(id)
Get a crash report

Retrieve a single crash report by its unique identifier.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Unique identifier of the crash report. | [required] |

### Return type

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

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### 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 telemetry settings

Retrieve the current telemetry configuration including data collection preferences and scrubbing levels.

### Parameters

This endpoint does not need any parameter.

### Return type

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

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### 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_crash_reports

> models::CrashListResponse list_crash_reports(page, per_page)
List crash reports

Retrieve a paginated list of crash reports ordered by most recent occurrence.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**page** | Option<**i32**> | Page number for pagination (1-indexed). |  |[default to 1]
**per_page** | Option<**i32**> | Number of items per page. |  |[default to 20]

### Return type

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

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### 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_crash_reports

> Vec<models::CrashReport> list_pending_crash_reports()
List pending crash reports

Retrieve all crash reports that have not yet been submitted for review.

### Parameters

This endpoint does not need any parameter.

### Return type

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

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### 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_crash_reports

> models::SubmitCrashReports200Response submit_crash_reports(submit_crash_reports_request)
Submit crash reports

Mark the specified crash reports as submitted to the telemetry service.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**submit_crash_reports_request** | [**SubmitCrashReportsRequest**](SubmitCrashReportsRequest.md) |  | [required] |

### Return type

[**models::SubmitCrashReports200Response**](submitCrashReports_200_response.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### 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)
Update telemetry settings

Replace the current telemetry configuration with the provided settings.

### Parameters


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

### Return type

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

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

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

