fastly-api 1.3.0

Fastly API client
Documentation
# DiffApi

All URIs are relative to *https://api.fastly.com*

Method | HTTP request | Description
------------- | ------------- | -------------
[**diff_service_versions**]DiffApi.md#diff_service_versions | **GET** /service/{service_id}/diff/from/{from_version_id}/to/{to_version_id} | Diff two service versions



## diff_service_versions

Get diff between two versions.

```rust
let cfg = &Configuration::default();
let params = DiffServiceVersionsParams {
    // parameters
};
diff_service_versions(cfg, params)
```

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**service_id** | **String** | Alphanumeric string identifying the service. | [required] |
**from_version_id** | **i32** | The version number of the service to which changes in the generated VCL are being compared. Can either be a positive number from 1 to your maximum version or a negative number from -1 down (-1 is latest version etc). | [required] |
**to_version_id** | **i32** | The version number of the service from which changes in the generated VCL are being compared. Uses same numbering scheme as `from`. | [required] |
**format** | Option\<**String**> | Optional method to format the diff field. |  |[default to text]

### Return type

[**crate::models::DiffResponse**](DiffResponse.md)

### Authorization

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

### 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 README]](../README.md)