All URIs are relative to http://localhost:8989
Method | HTTP request | Description |
---|---|---|
GetParse | Get /api/v3/parse |
ParseResource GetParse(ctx).Title(title).Path(path).Execute()
package main
import (
"context"
"fmt"
"os"
sonarrClient "github.com/devopsarr/sonarr-go/sonarr"
)
func main() {
title := "title_example" // string | (optional)
path := "path_example" // string | (optional)
configuration := sonarrClient.NewConfiguration()
apiClient := sonarrClient.NewAPIClient(configuration)
resp, r, err := apiClient.ParseAPI.GetParse(context.Background()).Title(title).Path(path).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ParseAPI.GetParse``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetParse`: ParseResource
fmt.Fprintf(os.Stdout, "Response from `ParseAPI.GetParse`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiGetParseRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
title | string | ||
path | string |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]