Note
All URIs are relative to https://api.fastly.com
Method | HTTP request | Description |
---|---|---|
delete_director | DELETE /service/{service_id}/version/{version_id}/director/{director_name} | Delete a director |
get_director | GET /service/{service_id}/version/{version_id}/director/{director_name} | Get a director |
list_directors | GET /service/{service_id}/version/{version_id}/director | List directors |
update_director | PUT /service/{service_id}/version/{version_id}/director/{director_name} | Update a director |
Delete the director for a particular service and version.
let cfg = &Configuration::default();
let params = DeleteDirectorParams {
// parameters
};
delete_director(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_id | String | Alphanumeric string identifying the service. | [required] | |
version_id | i32 | Integer identifying a service version. | [required] | |
director_name | String | Name for the Director. | [required] |
crate::models::InlineResponse200
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Get the director for a particular service and version.
let cfg = &Configuration::default();
let params = GetDirectorParams {
// parameters
};
get_director(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_id | String | Alphanumeric string identifying the service. | [required] | |
version_id | i32 | Integer identifying a service version. | [required] | |
director_name | String | Name for the Director. | [required] |
crate::models::DirectorResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
List the directors for a particular service and version.
let cfg = &Configuration::default();
let params = ListDirectorsParams {
// parameters
};
list_directors(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_id | String | Alphanumeric string identifying the service. | [required] | |
version_id | i32 | Integer identifying a service version. | [required] |
Vec<crate::models::DirectorResponse>
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Update the director for a particular service and version.
let cfg = &Configuration::default();
let params = UpdateDirectorParams {
// parameters
};
update_director(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_id | String | Alphanumeric string identifying the service. | [required] | |
version_id | i32 | Integer identifying a service version. | [required] | |
director_name | String | Name for the Director. | [required] |
crate::models::DirectorResponse
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json