docs/KvStoreApi.md in fastly-7.1.1 vs docs/KvStoreApi.md in fastly-7.2.0
- old
+ new
@@ -8,23 +8,23 @@
## Methods
| Method | HTTP request | Description |
| ------ | ------------ | ----------- |
-| [**create_store**](KvStoreApi.md#create_store) | **POST** /resources/stores/kv | Create an kv store. |
-| [**delete_store**](KvStoreApi.md#delete_store) | **DELETE** /resources/stores/kv/{store_id} | Delete an kv store. |
-| [**get_store**](KvStoreApi.md#get_store) | **GET** /resources/stores/kv/{store_id} | Describe an kv store. |
-| [**get_stores**](KvStoreApi.md#get_stores) | **GET** /resources/stores/kv | List kv stores. |
+| [**create_store**](KvStoreApi.md#create_store) | **POST** /resources/stores/kv | Create a KV store. |
+| [**delete_store**](KvStoreApi.md#delete_store) | **DELETE** /resources/stores/kv/{store_id} | Delete a KV store. |
+| [**get_store**](KvStoreApi.md#get_store) | **GET** /resources/stores/kv/{store_id} | Describe a KV store. |
+| [**get_stores**](KvStoreApi.md#get_stores) | **GET** /resources/stores/kv | List KV stores. |
## `create_store()`
```ruby
-create_store(opts): <StoreResponse> # Create an kv store.
+create_store(opts): <StoreResponse> # Create a KV store.
```
-Create a new kv store.
+Create a new KV store.
### Examples
```ruby
api_instance = Fastly::KvStoreApi.new
@@ -32,11 +32,11 @@
location: 'location_example', # String |
store: Fastly::Store.new, # Store |
}
begin
- # Create an kv store.
+ # Create a KV store.
result = api_instance.create_store(opts)
p result
rescue Fastly::ApiError => e
puts "Error when calling KvStoreApi->create_store: #{e}"
end
@@ -56,25 +56,25 @@
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to README]](../../README.md)
## `delete_store()`
```ruby
-delete_store(opts) # Delete an kv store.
+delete_store(opts) # Delete a KV store.
```
-An kv store must be empty before it can be deleted. Deleting an kv store that still contains keys will result in a `409` (Conflict).
+A KV store must be empty before it can be deleted. Deleting a KV store that still contains keys will result in a `409` (Conflict).
### Examples
```ruby
api_instance = Fastly::KvStoreApi.new
opts = {
store_id: 'store_id_example', # String |
}
begin
- # Delete an kv store.
+ # Delete a KV store.
api_instance.delete_store(opts)
rescue Fastly::ApiError => e
puts "Error when calling KvStoreApi->delete_store: #{e}"
end
```
@@ -92,25 +92,25 @@
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to README]](../../README.md)
## `get_store()`
```ruby
-get_store(opts): <StoreResponse> # Describe an kv store.
+get_store(opts): <StoreResponse> # Describe a KV store.
```
-Get an kv store by ID.
+Get a KV store by ID.
### Examples
```ruby
api_instance = Fastly::KvStoreApi.new
opts = {
store_id: 'store_id_example', # String |
}
begin
- # Describe an kv store.
+ # Describe a KV store.
result = api_instance.get_store(opts)
p result
rescue Fastly::ApiError => e
puts "Error when calling KvStoreApi->get_store: #{e}"
end
@@ -129,11 +129,11 @@
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to README]](../../README.md)
## `get_stores()`
```ruby
-get_stores(opts): <InlineResponse2003> # List kv stores.
+get_stores(opts): <InlineResponse2003> # List KV stores.
```
Get all stores for a given customer.
### Examples
@@ -144,10 +144,10 @@
cursor: 'cursor_example', # String |
limit: 56, # Integer |
}
begin
- # List kv stores.
+ # List KV stores.
result = api_instance.get_stores(opts)
p result
rescue Fastly::ApiError => e
puts "Error when calling KvStoreApi->get_stores: #{e}"
end