Note
All URIs are relative to https://api.fastly.com
Method | HTTP request | Description |
---|---|---|
create_dashboard | POST /observability/dashboards | Create a new dashboard |
delete_dashboard | DELETE /observability/dashboards/{dashboard_id} | Delete an existing dashboard |
get_dashboard | GET /observability/dashboards/{dashboard_id} | Retrieve a dashboard by ID |
list_dashboards | GET /observability/dashboards | List all custom dashboards |
update_dashboard | PATCH /observability/dashboards/{dashboard_id} | Update an existing dashboard |
Create a new dashboard
let cfg = &Configuration::default();
let params = CreateDashboardParams {
// parameters
};
create_dashboard(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
create_dashboard_request | Option<CreateDashboardRequest> |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Delete an existing dashboard
let cfg = &Configuration::default();
let params = DeleteDashboardParams {
// parameters
};
delete_dashboard(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
dashboard_id | String | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to README]
Retrieve a dashboard by ID
let cfg = &Configuration::default();
let params = GetDashboardParams {
// parameters
};
get_dashboard(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
dashboard_id | String | [required] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
List all custom dashboards
let cfg = &Configuration::default();
let params = ListDashboardsParams {
// parameters
};
list_dashboards(cfg, params)
This endpoint does not need any parameter.
crate::models::ListDashboardsResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Update an existing dashboard
let cfg = &Configuration::default();
let params = UpdateDashboardParams {
// parameters
};
update_dashboard(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
dashboard_id | String | [required] | ||
update_dashboard_request | Option<UpdateDashboardRequest> |
- Content-Type: application/json
- Accept: application/json