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