All URIs are relative to http://localhost:8989
Method | HTTP request | Description |
---|---|---|
GetLanguageprofileSchema | Get /api/v3/languageprofile/schema |
LanguageProfileResource GetLanguageprofileSchema(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.LanguageProfileSchemaAPI.GetLanguageprofileSchema(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `LanguageProfileSchemaAPI.GetLanguageprofileSchema``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetLanguageprofileSchema`: LanguageProfileResource
fmt.Fprintf(os.Stdout, "Response from `LanguageProfileSchemaAPI.GetLanguageprofileSchema`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetLanguageprofileSchemaRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]