# \TrackingChangesApi
All URIs are relative to *https://orthanc.uclouvain.be/demo*
Method | HTTP request | Description
------------- | ------------- | -------------
[**changes_delete**](TrackingChangesApi.md#changes_delete) | **DELETE** /changes | Clear changes
[**changes_get**](TrackingChangesApi.md#changes_get) | **GET** /changes | List changes
[**exports_delete**](TrackingChangesApi.md#exports_delete) | **DELETE** /exports | Clear exports
[**exports_get**](TrackingChangesApi.md#exports_get) | **GET** /exports | List exports
## changes_delete
> changes_delete()
Clear changes
Clear the full history stored in the changes log
### Parameters
This endpoint does not need any parameter.
### Return type
(empty response body)
### Authorization
No authorization required
### 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)
## changes_get
> models::ChangesGet200Response changes_get(last, limit, since, to, r#type)
List changes
Whenever Orthanc receives a new DICOM instance, this event is recorded in the so-called _Changes Log_. This enables remote scripts to react to the arrival of new DICOM resources. A typical application is auto-routing, where an external script waits for a new DICOM instance to arrive into Orthanc, then forward this instance to another modality. Please note that, when resources are deleted, their corresponding change entries are also removed from the Changes Log, which helps ensuring that this log does not grow indefinitely.
### Parameters
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**last** | Option<**f64**> | Request only the last change id (this argument must be used alone) | |
**limit** | Option<**f64**> | Limit the number of results | |
**since** | Option<**f64**> | Show only the resources since the provided index excluded | |
**to** | Option<**f64**> | Show only the resources till the provided index included (only available if your DB backend supports ExtendedChanges) | |
**r#type** | Option<**String**> | Show only the changes of the provided type (only available if your DB backend supports ExtendedChanges). Multiple values can be provided and must be separated by a ';'. | |
### Return type
[**models::ChangesGet200Response**](_changes_get_200_response.md)
### Authorization
No authorization required
### 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)
## exports_delete
> exports_delete()
Clear exports
Clear the full history stored in the exports log
### Parameters
This endpoint does not need any parameter.
### Return type
(empty response body)
### Authorization
No authorization required
### 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)
## exports_get
> serde_json::Value exports_get(limit, since)
List exports
For medical traceability, Orthanc can be configured to store a log of all the resources that have been exported to remote modalities. In auto-routing scenarios, it is important to prevent this log to grow indefinitely as incoming instances are routed. You can either disable this logging by setting the option `LogExportedResources` to `false` in the configuration file, or periodically clear this log by `DELETE`-ing this URI. This route might be removed in future versions of Orthanc.
### Parameters
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**limit** | Option<**f64**> | Limit the number of results | |
**since** | Option<**f64**> | Show only the resources since the provided index | |
### Return type
[**serde_json::Value**](serde_json::Value.md)
### Authorization
No authorization required
### 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)