All URIs are relative to http://localhost:7878
Method | HTTP request | Description |
---|---|---|
ListHealth | Get /api/v3/health |
[]HealthResource ListHealth(ctx).Execute()
package main
import (
"context"
"fmt"
"os"
radarrClient "github.com/devopsarr/radarr-go/radarr"
)
func main() {
configuration := radarrClient.NewConfiguration()
apiClient := radarrClient.NewAPIClient(configuration)
resp, r, err := apiClient.HealthAPI.ListHealth(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HealthAPI.ListHealth``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListHealth`: []HealthResource
fmt.Fprintf(os.Stdout, "Response from `HealthAPI.ListHealth`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiListHealthRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]