docs/ObjectStoreItemApi.md in fastly-4.3.0 vs docs/ObjectStoreItemApi.md in fastly-4.4.0

- old
+ new

@@ -29,10 +29,11 @@ ```ruby api_instance = Fastly::ObjectStoreItemApi.new opts = { store_id: 'store_id_example', # String | key_name: 'key_name_example', # String | + force: true, # Boolean | } begin # Delete object store item. api_instance.delete_key_from_store(opts) @@ -45,10 +46,11 @@ | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **store_id** | **String** | | | | **key_name** | **String** | | | +| **force** | **Boolean** | | [optional] | ### Return type nil (empty response body) @@ -68,10 +70,11 @@ api_instance = Fastly::ObjectStoreItemApi.new opts = { store_id: 'store_id_example', # String | cursor: 'cursor_example', # String | limit: 56, # Integer | + prefix: 'prefix_example', # String | } begin # List object store keys. result = api_instance.get_keys(opts) @@ -86,21 +89,22 @@ | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **store_id** | **String** | | | | **cursor** | **String** | | [optional] | | **limit** | **Integer** | | [optional][default to 100] | +| **prefix** | **String** | | [optional] | ### Return type [**InlineResponse2004**](InlineResponse2004.md) [[Back to top]](#) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) ## `get_value_for_key()` ```ruby -get_value_for_key(opts): File # Get the value of an object store item +get_value_for_key(opts): String # Get the value of an object store item ``` Get the value associated with a key. ### Examples @@ -128,18 +132,18 @@ | **store_id** | **String** | | | | **key_name** | **String** | | | ### Return type -**File** +**String** [[Back to top]](#) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) ## `set_value_for_key()` ```ruby -set_value_for_key(opts): File # Insert an item into an object store +set_value_for_key(opts): String # Insert an item into an object store ``` Set a new value for a new or existing key in an object store. ### Examples @@ -147,11 +151,18 @@ ```ruby api_instance = Fastly::ObjectStoreItemApi.new opts = { store_id: 'store_id_example', # String | key_name: 'key_name_example', # String | - body: File.new('/path/to/some/file'), # File | + if_generation_match: 56, # Integer | + time_to_live_sec: 56, # Integer | + metadata: 'metadata_example', # String | + add: true, # Boolean | + append: true, # Boolean | + prepend: true, # Boolean | + background_fetch: true, # Boolean | + body: 'BYTE_ARRAY_DATA_HERE', # String | } begin # Insert an item into an object store result = api_instance.set_value_for_key(opts) @@ -165,13 +176,20 @@ | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **store_id** | **String** | | | | **key_name** | **String** | | | -| **body** | **File** | | [optional] | +| **if_generation_match** | **Integer** | | [optional] | +| **time_to_live_sec** | **Integer** | | [optional] | +| **metadata** | **String** | | [optional] | +| **add** | **Boolean** | | [optional] | +| **append** | **Boolean** | | [optional] | +| **prepend** | **Boolean** | | [optional] | +| **background_fetch** | **Boolean** | | [optional] | +| **body** | **String** | | [optional] | ### Return type -**File** +**String** [[Back to top]](#) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)