Note
All URIs are relative to https://api.fastly.com
Method | HTTP request | Description |
---|---|---|
add_service_group_services | POST /service-groups/{service_group_id}/services | Add services in a service group |
create_a_service_group | POST /service-groups | Create a service group |
delete_a_service_group | DELETE /service-groups/{service_group_id} | Delete a service group |
get_a_service_group | GET /service-groups/{service_group_id} | Get a service group |
list_service_group_services | GET /service-groups/{service_group_id}/services | List services to a service group |
list_service_groups | GET /service-groups | List service groups |
remove_service_group_services | DELETE /service-groups/{service_group_id}/services | Remove services from a service group |
update_a_service_group | PATCH /service-groups/{service_group_id} | Update a service group |
Add services in a service group.
let cfg = &Configuration::default();
let params = AddServiceGroupServicesParams {
// parameters
};
add_service_group_services(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_group_id | String | Alphanumeric string identifying the service group. | [required] | |
request_body | Option<::std::collections::HashMap<String, serde_json::Value>> |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Create a service group.
let cfg = &Configuration::default();
let params = CreateAServiceGroupParams {
// parameters
};
create_a_service_group(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
request_body | Option<::std::collections::HashMap<String, serde_json::Value>> |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Delete a service group.
let cfg = &Configuration::default();
let params = DeleteAServiceGroupParams {
// parameters
};
delete_a_service_group(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_group_id | String | Alphanumeric string identifying the service group. | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to README]
Get a service group.
let cfg = &Configuration::default();
let params = GetAServiceGroupParams {
// parameters
};
get_a_service_group(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_group_id | String | Alphanumeric string identifying the service group. | [required] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
List services to a service group.
let cfg = &Configuration::default();
let params = ListServiceGroupServicesParams {
// parameters
};
list_service_group_services(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_group_id | String | Alphanumeric string identifying the service group. | [required] | |
per_page | Option<i32> | Number of records per page. | [default to 20] | |
page | Option<i32> | Current page. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
List all service groups.
let cfg = &Configuration::default();
let params = ListServiceGroupsParams {
// parameters
};
list_service_groups(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
per_page | Option<i32> | Number of records per page. | [default to 20] | |
page | Option<i32> | Current page. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Remove services from a service group.
let cfg = &Configuration::default();
let params = RemoveServiceGroupServicesParams {
// parameters
};
remove_service_group_services(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_group_id | String | Alphanumeric string identifying the service group. | [required] | |
request_body | Option<::std::collections::HashMap<String, serde_json::Value>> |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to README]
Update a service group.
let cfg = &Configuration::default();
let params = UpdateAServiceGroupParams {
// parameters
};
update_a_service_group(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_group_id | String | Alphanumeric string identifying the service group. | [required] | |
request_body | Option<::std::collections::HashMap<String, serde_json::Value>> |
- Content-Type: application/json
- Accept: application/json