docs/SnippetApi.md in fastly-5.1.0 vs docs/SnippetApi.md in fastly-5.1.1
- old
+ new
@@ -35,11 +35,11 @@
version_id: 56, # Integer | Integer identifying a service version.
name: 'name_example', # String | The name for the snippet.
dynamic: 0, # Integer | 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: 56, # Integer | Priority determines execution order. Lower numbers execute first.
+ priority: 'priority_example', # String | Priority determines execution order. Lower numbers execute first.
}
begin
# Create a snippet
result = api_instance.create_snippet(opts)
@@ -57,11 +57,11 @@
| **version_id** | **Integer** | Integer identifying a service version. | |
| **name** | **String** | The name for the snippet. | [optional] |
| **dynamic** | **Integer** | 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** | **Integer** | Priority determines execution order. Lower numbers execute first. | [optional][default to 100] |
+| **priority** | **String** | Priority determines execution order. Lower numbers execute first. | [optional][default to '100'] |
### Return type
[**SnippetResponse**](SnippetResponse.md)
@@ -244,11 +244,11 @@
snippet_id: 'snippet_id_example', # String | Alphanumeric string identifying a VCL Snippet.
name: 'name_example', # String | The name for the snippet.
dynamic: 0, # Integer | 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: 56, # Integer | Priority determines execution order. Lower numbers execute first.
+ priority: 'priority_example', # String | Priority determines execution order. Lower numbers execute first.
}
begin
# Update a dynamic snippet
result = api_instance.update_snippet_dynamic(opts)
@@ -266,10 +266,10 @@
| **snippet_id** | **String** | Alphanumeric string identifying a VCL Snippet. | |
| **name** | **String** | The name for the snippet. | [optional] |
| **dynamic** | **Integer** | 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** | **Integer** | Priority determines execution order. Lower numbers execute first. | [optional][default to 100] |
+| **priority** | **String** | Priority determines execution order. Lower numbers execute first. | [optional][default to '100'] |
### Return type
[**SnippetResponse**](SnippetResponse.md)