|
| 1 | +# ConfigStoreApi |
| 2 | + |
| 3 | +All URIs are relative to *https://api.fastly.com* |
| 4 | + |
| 5 | +Method | HTTP request | Description |
| 6 | +------------- | ------------- | ------------- |
| 7 | +[**create_config_store**](ConfigStoreApi.md#create_config_store) | **POST** /resources/stores/config | Create a config store |
| 8 | +[**delete_config_store**](ConfigStoreApi.md#delete_config_store) | **DELETE** /resources/stores/config/{config_store_id} | Delete a config store |
| 9 | +[**get_config_store**](ConfigStoreApi.md#get_config_store) | **GET** /resources/stores/config/{config_store_id} | Describe a config store |
| 10 | +[**get_config_store_info**](ConfigStoreApi.md#get_config_store_info) | **GET** /resources/stores/config/{config_store_id}/info | Get config store metadata |
| 11 | +[**list_config_store_services**](ConfigStoreApi.md#list_config_store_services) | **GET** /resources/stores/config/{config_store_id}/services | List linked services |
| 12 | +[**list_config_stores**](ConfigStoreApi.md#list_config_stores) | **GET** /resources/stores/config | List config stores |
| 13 | +[**update_config_store**](ConfigStoreApi.md#update_config_store) | **PUT** /resources/stores/config/{config_store_id} | Update a config store |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | +## create_config_store |
| 18 | + |
| 19 | +Create a config store. |
| 20 | + |
| 21 | +```rust |
| 22 | +let cfg = &Configuration::default(); |
| 23 | +let params = CreateConfigStoreParams { |
| 24 | + // parameters |
| 25 | +}; |
| 26 | +create_config_store(cfg, params) |
| 27 | +``` |
| 28 | + |
| 29 | +### Parameters |
| 30 | + |
| 31 | + |
| 32 | +Name | Type | Description | Required | Notes |
| 33 | +------------- | ------------- | ------------- | ------------- | ------------- |
| 34 | +**name** | Option\<**String**> | The name of the config store. | | |
| 35 | + |
| 36 | +### Return type |
| 37 | + |
| 38 | +[**crate::models::ConfigStoreResponse**](ConfigStoreResponse.md) |
| 39 | + |
| 40 | +### Authorization |
| 41 | + |
| 42 | +[token](../README.md#token) |
| 43 | + |
| 44 | +### HTTP request headers |
| 45 | + |
| 46 | +- **Content-Type**: application/x-www-form-urlencoded |
| 47 | +- **Accept**: application/json |
| 48 | + |
| 49 | +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) |
| 50 | + |
| 51 | + |
| 52 | +## delete_config_store |
| 53 | + |
| 54 | +Delete a config store. |
| 55 | + |
| 56 | +```rust |
| 57 | +let cfg = &Configuration::default(); |
| 58 | +let params = DeleteConfigStoreParams { |
| 59 | + // parameters |
| 60 | +}; |
| 61 | +delete_config_store(cfg, params) |
| 62 | +``` |
| 63 | + |
| 64 | +### Parameters |
| 65 | + |
| 66 | + |
| 67 | +Name | Type | Description | Required | Notes |
| 68 | +------------- | ------------- | ------------- | ------------- | ------------- |
| 69 | +**config_store_id** | **String** | An alphanumeric string identifying the config store. | [required] | |
| 70 | + |
| 71 | +### Return type |
| 72 | + |
| 73 | +[**crate::models::InlineResponse200**](InlineResponse200.md) |
| 74 | + |
| 75 | +### Authorization |
| 76 | + |
| 77 | +[token](../README.md#token) |
| 78 | + |
| 79 | +### HTTP request headers |
| 80 | + |
| 81 | +- **Content-Type**: Not defined |
| 82 | +- **Accept**: application/json |
| 83 | + |
| 84 | +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) |
| 85 | + |
| 86 | + |
| 87 | +## get_config_store |
| 88 | + |
| 89 | +Describe a config store by its identifier. |
| 90 | + |
| 91 | +```rust |
| 92 | +let cfg = &Configuration::default(); |
| 93 | +let params = GetConfigStoreParams { |
| 94 | + // parameters |
| 95 | +}; |
| 96 | +get_config_store(cfg, params) |
| 97 | +``` |
| 98 | + |
| 99 | +### Parameters |
| 100 | + |
| 101 | + |
| 102 | +Name | Type | Description | Required | Notes |
| 103 | +------------- | ------------- | ------------- | ------------- | ------------- |
| 104 | +**config_store_id** | **String** | An alphanumeric string identifying the config store. | [required] | |
| 105 | + |
| 106 | +### Return type |
| 107 | + |
| 108 | +[**crate::models::ConfigStoreResponse**](ConfigStoreResponse.md) |
| 109 | + |
| 110 | +### Authorization |
| 111 | + |
| 112 | +[token](../README.md#token) |
| 113 | + |
| 114 | +### HTTP request headers |
| 115 | + |
| 116 | +- **Content-Type**: Not defined |
| 117 | +- **Accept**: application/json |
| 118 | + |
| 119 | +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) |
| 120 | + |
| 121 | + |
| 122 | +## get_config_store_info |
| 123 | + |
| 124 | +Retrieve metadata for a single config store. |
| 125 | + |
| 126 | +```rust |
| 127 | +let cfg = &Configuration::default(); |
| 128 | +let params = GetConfigStoreInfoParams { |
| 129 | + // parameters |
| 130 | +}; |
| 131 | +get_config_store_info(cfg, params) |
| 132 | +``` |
| 133 | + |
| 134 | +### Parameters |
| 135 | + |
| 136 | + |
| 137 | +Name | Type | Description | Required | Notes |
| 138 | +------------- | ------------- | ------------- | ------------- | ------------- |
| 139 | +**config_store_id** | **String** | An alphanumeric string identifying the config store. | [required] | |
| 140 | + |
| 141 | +### Return type |
| 142 | + |
| 143 | +[**crate::models::ConfigStoreInfoResponse**](ConfigStoreInfoResponse.md) |
| 144 | + |
| 145 | +### Authorization |
| 146 | + |
| 147 | +[token](../README.md#token) |
| 148 | + |
| 149 | +### HTTP request headers |
| 150 | + |
| 151 | +- **Content-Type**: Not defined |
| 152 | +- **Accept**: application/json |
| 153 | + |
| 154 | +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) |
| 155 | + |
| 156 | + |
| 157 | +## list_config_store_services |
| 158 | + |
| 159 | +List services linked to a config store |
| 160 | + |
| 161 | +```rust |
| 162 | +let cfg = &Configuration::default(); |
| 163 | +let params = ListConfigStoreServicesParams { |
| 164 | + // parameters |
| 165 | +}; |
| 166 | +list_config_store_services(cfg, params) |
| 167 | +``` |
| 168 | + |
| 169 | +### Parameters |
| 170 | + |
| 171 | + |
| 172 | +Name | Type | Description | Required | Notes |
| 173 | +------------- | ------------- | ------------- | ------------- | ------------- |
| 174 | +**config_store_id** | **String** | An alphanumeric string identifying the config store. | [required] | |
| 175 | + |
| 176 | +### Return type |
| 177 | + |
| 178 | +[**serde_json::Value**](SerdeJsonValue.md) |
| 179 | + |
| 180 | +### Authorization |
| 181 | + |
| 182 | +[token](../README.md#token) |
| 183 | + |
| 184 | +### HTTP request headers |
| 185 | + |
| 186 | +- **Content-Type**: Not defined |
| 187 | +- **Accept**: application/json |
| 188 | + |
| 189 | +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) |
| 190 | + |
| 191 | + |
| 192 | +## list_config_stores |
| 193 | + |
| 194 | +List config stores. |
| 195 | + |
| 196 | +```rust |
| 197 | +let cfg = &Configuration::default(); |
| 198 | +let params = ListConfigStoresParams { |
| 199 | + // parameters |
| 200 | +}; |
| 201 | +list_config_stores(cfg, params) |
| 202 | +``` |
| 203 | + |
| 204 | +### Parameters |
| 205 | + |
| 206 | +This endpoint does not need any parameter. |
| 207 | + |
| 208 | +### Return type |
| 209 | + |
| 210 | +[**Vec<crate::models::ConfigStoreResponse>**](ConfigStoreResponse.md) |
| 211 | + |
| 212 | +### Authorization |
| 213 | + |
| 214 | +[token](../README.md#token) |
| 215 | + |
| 216 | +### HTTP request headers |
| 217 | + |
| 218 | +- **Content-Type**: Not defined |
| 219 | +- **Accept**: application/json |
| 220 | + |
| 221 | +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) |
| 222 | + |
| 223 | + |
| 224 | +## update_config_store |
| 225 | + |
| 226 | +Update a config store. |
| 227 | + |
| 228 | +```rust |
| 229 | +let cfg = &Configuration::default(); |
| 230 | +let params = UpdateConfigStoreParams { |
| 231 | + // parameters |
| 232 | +}; |
| 233 | +update_config_store(cfg, params) |
| 234 | +``` |
| 235 | + |
| 236 | +### Parameters |
| 237 | + |
| 238 | + |
| 239 | +Name | Type | Description | Required | Notes |
| 240 | +------------- | ------------- | ------------- | ------------- | ------------- |
| 241 | +**config_store_id** | **String** | An alphanumeric string identifying the config store. | [required] | |
| 242 | +**name** | Option\<**String**> | The name of the config store. | | |
| 243 | + |
| 244 | +### Return type |
| 245 | + |
| 246 | +[**crate::models::ConfigStoreResponse**](ConfigStoreResponse.md) |
| 247 | + |
| 248 | +### Authorization |
| 249 | + |
| 250 | +[token](../README.md#token) |
| 251 | + |
| 252 | +### HTTP request headers |
| 253 | + |
| 254 | +- **Content-Type**: application/x-www-form-urlencoded |
| 255 | +- **Accept**: application/json |
| 256 | + |
| 257 | +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) |
| 258 | + |
0 commit comments