Skip to content

Latest commit

 

History

History
262 lines (160 loc) · 6.58 KB

ConfigStoreApi.md

File metadata and controls

262 lines (160 loc) · 6.58 KB

ConfigStoreApi

Note

All URIs are relative to https://api.fastly.com

Method HTTP request Description
create_config_store POST /resources/stores/config Create a config store
delete_config_store DELETE /resources/stores/config/{config_store_id} Delete a config store
get_config_store GET /resources/stores/config/{config_store_id} Describe a config store
get_config_store_info GET /resources/stores/config/{config_store_id}/info Get config store metadata
list_config_store_services GET /resources/stores/config/{config_store_id}/services List linked services
list_config_stores GET /resources/stores/config List config stores
update_config_store PUT /resources/stores/config/{config_store_id} Update a config store

create_config_store

Create a config store.

let cfg = &Configuration::default();
let params = CreateConfigStoreParams {
    // parameters
};
create_config_store(cfg, params)

Parameters

Name Type Description Required Notes
name Option<String> The name of the config store.

Return type

crate::models::ConfigStoreResponse

Authorization

token

HTTP request headers

  • Content-Type: application/x-www-form-urlencoded
  • Accept: application/json

[Back to top] [Back to API list] [Back to README]

delete_config_store

Delete a config store.

let cfg = &Configuration::default();
let params = DeleteConfigStoreParams {
    // parameters
};
delete_config_store(cfg, params)

Parameters

Name Type Description Required Notes
config_store_id String An alphanumeric string identifying the config store. [required]

Return type

crate::models::InlineResponse200

Authorization

token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to README]

get_config_store

Describe a config store by its identifier.

let cfg = &Configuration::default();
let params = GetConfigStoreParams {
    // parameters
};
get_config_store(cfg, params)

Parameters

Name Type Description Required Notes
config_store_id String An alphanumeric string identifying the config store. [required]

Return type

crate::models::ConfigStoreResponse

Authorization

token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to README]

get_config_store_info

Retrieve metadata for a single config store.

let cfg = &Configuration::default();
let params = GetConfigStoreInfoParams {
    // parameters
};
get_config_store_info(cfg, params)

Parameters

Name Type Description Required Notes
config_store_id String An alphanumeric string identifying the config store. [required]

Return type

crate::models::ConfigStoreInfoResponse

Authorization

token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to README]

list_config_store_services

List services linked to a config store

let cfg = &Configuration::default();
let params = ListConfigStoreServicesParams {
    // parameters
};
list_config_store_services(cfg, params)

Parameters

Name Type Description Required Notes
config_store_id String An alphanumeric string identifying the config store. [required]

Return type

serde_json::Value

Authorization

token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to README]

list_config_stores

List config stores.

let cfg = &Configuration::default();
let params = ListConfigStoresParams {
    // parameters
};
list_config_stores(cfg, params)

Parameters

Name Type Description Required Notes
name Option<String> Returns a one-element array containing the details for the named config store.

Return type

Vec<crate::models::ConfigStoreResponse>

Authorization

token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to README]

update_config_store

Update a config store.

let cfg = &Configuration::default();
let params = UpdateConfigStoreParams {
    // parameters
};
update_config_store(cfg, params)

Parameters

Name Type Description Required Notes
config_store_id String An alphanumeric string identifying the config store. [required]
name Option<String> The name of the config store.

Return type

crate::models::ConfigStoreResponse

Authorization

token

HTTP request headers

  • Content-Type: application/x-www-form-urlencoded
  • Accept: application/json

[Back to top] [Back to API list] [Back to README]