All URIs are relative to http://localhost:8989
Method | HTTP request | Description |
---|---|---|
GetQualityprofileSchema | Get /api/v3/qualityprofile/schema |
QualityProfileResource GetQualityprofileSchema(ctx).Execute()
package main
import (
"context"
"fmt"
"os"
sonarrClient "github.com/devopsarr/sonarr-go/sonarr"
)
func main() {
configuration := sonarrClient.NewConfiguration()
apiClient := sonarrClient.NewAPIClient(configuration)
resp, r, err := apiClient.QualityProfileSchemaAPI.GetQualityprofileSchema(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `QualityProfileSchemaAPI.GetQualityprofileSchema``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetQualityprofileSchema`: QualityProfileResource
fmt.Fprintf(os.Stdout, "Response from `QualityProfileSchemaAPI.GetQualityprofileSchema`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetQualityprofileSchemaRequest 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]