docs/SnippetApi.md in fastly-7.1.1 vs docs/SnippetApi.md in fastly-7.2.0

- old
+ new

@@ -20,11 +20,11 @@ ## `create_snippet()` ```ruby -create_snippet(opts): <SnippetResponse> # Create a snippet +create_snippet(opts): <SnippetResponsePost> # Create a snippet ``` Create a snippet for a particular service and version. ### Examples @@ -33,14 +33,14 @@ api_instance = Fastly::SnippetApi.new opts = { service_id: 'service_id_example', # String | Alphanumeric string identifying the service. version_id: 56, # Integer | Integer identifying a service version. name: 'name_example', # String | The name for the snippet. - dynamic: '0', # String | Sets the snippet version. type: 'init', # String | The location in generated VCL where the snippet should be placed. content: 'content_example', # String | The VCL code that specifies exactly what the snippet does. priority: 'priority_example', # String | Priority determines execution order. Lower numbers execute first. + dynamic: '0', # String | Sets the snippet version. } begin # Create a snippet result = api_instance.create_snippet(opts) @@ -55,18 +55,18 @@ | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **service_id** | **String** | Alphanumeric string identifying the service. | | | **version_id** | **Integer** | Integer identifying a service version. | | | **name** | **String** | The name for the snippet. | [optional] | -| **dynamic** | **String** | Sets the snippet version. | [optional] | | **type** | **String** | The location in generated VCL where the snippet should be placed. | [optional] | | **content** | **String** | The VCL code that specifies exactly what the snippet does. | [optional] | | **priority** | **String** | Priority determines execution order. Lower numbers execute first. | [optional][default to &#39;100&#39;] | +| **dynamic** | **String** | Sets the snippet version. | [optional] | ### Return type -[**SnippetResponse**](SnippetResponse.md) +[**SnippetResponsePost**](SnippetResponsePost.md) [[Back to top]](#) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) ## `delete_snippet()` @@ -283,14 +283,14 @@ api_instance = Fastly::SnippetApi.new opts = { service_id: 'service_id_example', # String | Alphanumeric string identifying the service. snippet_id: 'snippet_id_example', # String | Alphanumeric string identifying a VCL Snippet. name: 'name_example', # String | The name for the snippet. - dynamic: '0', # String | Sets the snippet version. type: 'init', # String | The location in generated VCL where the snippet should be placed. content: 'content_example', # String | The VCL code that specifies exactly what the snippet does. priority: 'priority_example', # String | Priority determines execution order. Lower numbers execute first. + dynamic: '0', # String | Sets the snippet version. } begin # Update a dynamic snippet result = api_instance.update_snippet_dynamic(opts) @@ -305,13 +305,13 @@ | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **service_id** | **String** | Alphanumeric string identifying the service. | | | **snippet_id** | **String** | Alphanumeric string identifying a VCL Snippet. | | | **name** | **String** | The name for the snippet. | [optional] | -| **dynamic** | **String** | Sets the snippet version. | [optional] | | **type** | **String** | The location in generated VCL where the snippet should be placed. | [optional] | | **content** | **String** | The VCL code that specifies exactly what the snippet does. | [optional] | | **priority** | **String** | Priority determines execution order. Lower numbers execute first. | [optional][default to &#39;100&#39;] | +| **dynamic** | **String** | Sets the snippet version. | [optional] | ### Return type [**SnippetResponse**](SnippetResponse.md)