All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
GrafanaDashboard | Get /api/v1/grafana_dashboard | Get Grafana Dashboard |
string GrafanaDashboard(ctx).Execute()
Get Grafana Dashboard
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.GrafanaDashboardApi.GrafanaDashboard(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `GrafanaDashboardApi.GrafanaDashboard``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GrafanaDashboard`: string
fmt.Fprintf(os.Stdout, "Response from `GrafanaDashboardApi.GrafanaDashboard`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGrafanaDashboardRequest struct via the builder pattern
string
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]