Note
All URIs are relative to https://api.fastly.com
Method | HTTP request | Description |
---|---|---|
create_service_star | POST /stars | Create a star |
delete_service_star | DELETE /stars/{star_id} | Delete a star |
get_service_star | GET /stars/{star_id} | Get a star |
list_service_stars | GET /stars | List stars |
Create star.
let cfg = &Configuration::default();
let params = CreateServiceStarParams {
// parameters
};
create_service_star(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
star | Option<Star> |
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json
[Back to top] [Back to API list] [Back to README]
Delete star.
let cfg = &Configuration::default();
let params = DeleteServiceStarParams {
// parameters
};
delete_service_star(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
star_id | String | Alphanumeric string identifying a star. | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to README]
Show star.
let cfg = &Configuration::default();
let params = GetServiceStarParams {
// parameters
};
get_service_star(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
star_id | String | Alphanumeric string identifying a star. | [required] |
- Content-Type: Not defined
- Accept: application/vnd.api+json
[Back to top] [Back to API list] [Back to README]
List stars.
let cfg = &Configuration::default();
let params = ListServiceStarsParams {
// parameters
};
list_service_stars(cfg, params)
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/vnd.api+json