All URIs are relative to http://localhost:5055/api/v1
| Method | HTTP request | Description |
|---|---|---|
| GetServiceRadarrByRadarrId | Get /service/radarr/{radarrId} | Get Radarr server quality profiles and root folders |
| GetServiceSonarrBySonarrId | Get /service/sonarr/{sonarrId} | Get Sonarr server quality profiles and root folders |
| ListServiceRadarr | Get /service/radarr | Get non-sensitive Radarr server list |
| ListServiceSonarr | Get /service/sonarr | Get non-sensitive Sonarr server list |
| ListServiceSonarrLookupByTmdbId | Get /service/sonarr/lookup/{tmdbId} | Get series from Sonarr |
GetServiceRadarrByRadarrId2XXResponse GetServiceRadarrByRadarrId(ctx, radarrId).Execute()
Get Radarr server quality profiles and root folders
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
radarrId := float32(0) // float32 |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.ServiceAPI.GetServiceRadarrByRadarrId(context.Background(), radarrId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ServiceAPI.GetServiceRadarrByRadarrId``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetServiceRadarrByRadarrId`: GetServiceRadarrByRadarrId2XXResponse
fmt.Fprintf(os.Stdout, "Response from `ServiceAPI.GetServiceRadarrByRadarrId`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| radarrId | float32 |
Other parameters are passed through a pointer to a apiGetServiceRadarrByRadarrIdRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
GetServiceRadarrByRadarrId2XXResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetServiceSonarrBySonarrId2XXResponse GetServiceSonarrBySonarrId(ctx, sonarrId).Execute()
Get Sonarr server quality profiles and root folders
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
sonarrId := float32(0) // float32 |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.ServiceAPI.GetServiceSonarrBySonarrId(context.Background(), sonarrId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ServiceAPI.GetServiceSonarrBySonarrId``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetServiceSonarrBySonarrId`: GetServiceSonarrBySonarrId2XXResponse
fmt.Fprintf(os.Stdout, "Response from `ServiceAPI.GetServiceSonarrBySonarrId`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| sonarrId | float32 |
Other parameters are passed through a pointer to a apiGetServiceSonarrBySonarrIdRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
GetServiceSonarrBySonarrId2XXResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]RadarrSettings ListServiceRadarr(ctx).Execute()
Get non-sensitive Radarr server list
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.ServiceAPI.ListServiceRadarr(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ServiceAPI.ListServiceRadarr``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListServiceRadarr`: []RadarrSettings
fmt.Fprintf(os.Stdout, "Response from `ServiceAPI.ListServiceRadarr`: %v\n", resp)
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiListServiceRadarrRequest 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]
[]SonarrSettings ListServiceSonarr(ctx).Execute()
Get non-sensitive Sonarr server list
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.ServiceAPI.ListServiceSonarr(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ServiceAPI.ListServiceSonarr``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListServiceSonarr`: []SonarrSettings
fmt.Fprintf(os.Stdout, "Response from `ServiceAPI.ListServiceSonarr`: %v\n", resp)
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiListServiceSonarrRequest 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]
[]SonarrSeries ListServiceSonarrLookupByTmdbId(ctx, tmdbId).Execute()
Get series from Sonarr
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
tmdbId := float32(0) // float32 |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.ServiceAPI.ListServiceSonarrLookupByTmdbId(context.Background(), tmdbId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ServiceAPI.ListServiceSonarrLookupByTmdbId``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListServiceSonarrLookupByTmdbId`: []SonarrSeries
fmt.Fprintf(os.Stdout, "Response from `ServiceAPI.ListServiceSonarrLookupByTmdbId`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| tmdbId | float32 |
Other parameters are passed through a pointer to a apiListServiceSonarrLookupByTmdbIdRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]