All URIs are relative to http://localhost:5055/api/v1
Method | HTTP request | Description |
---|---|---|
CreateCacheFlush | Post /settings/cache/{cacheId}/flush | Flush a specific cache |
CreateDiscover | Post /settings/discover | Batch update all sliders. |
CreateDiscoverAdd | Post /settings/discover/add | Add a new slider |
CreateInitialize | Post /settings/initialize | Initialize application |
CreateJobsCancel | Post /settings/jobs/{jobId}/cancel | Cancel a specific job |
CreateJobsRun | Post /settings/jobs/{jobId}/run | Invoke a specific job |
CreateJobsSchedule | Post /settings/jobs/{jobId}/schedule | Modify job schedule |
CreateMain | Post /settings/main | Update main settings |
CreateMainRegenerate | Post /settings/main/regenerate | Get main settings with newly-generated API key |
CreateNotificationsDiscord | Post /settings/notifications/discord | Update Discord notification settings |
CreateNotificationsEmail | Post /settings/notifications/email | Update email notification settings |
CreateNotificationsGotify | Post /settings/notifications/gotify | Update Gotify notification settings |
CreateNotificationsLunasea | Post /settings/notifications/lunasea | Update LunaSea notification settings |
CreateNotificationsPushbullet | Post /settings/notifications/pushbullet | Update Pushbullet notification settings |
CreateNotificationsPushover | Post /settings/notifications/pushover | Update Pushover notification settings |
CreateNotificationsSlack | Post /settings/notifications/slack | Update Slack notification settings |
CreateNotificationsTelegram | Post /settings/notifications/telegram | Update Telegram notification settings |
CreateNotificationsWebhook | Post /settings/notifications/webhook | Update webhook notification settings |
CreateNotificationsWebpush | Post /settings/notifications/webpush | Update Web Push notification settings |
CreatePlex | Post /settings/plex | Update Plex settings |
CreatePlexSync | Post /settings/plex/sync | Start full Plex library scan |
CreateRadarr | Post /settings/radarr | Create Radarr instance |
CreateSonarr | Post /settings/sonarr | Create Sonarr instance |
CreateTautulli | Post /settings/tautulli | Update Tautulli settings |
DeleteDiscover | Delete /settings/discover/{sliderId} | Delete slider by ID |
DeleteRadarr | Delete /settings/radarr/{radarrId} | Delete Radarr instance |
DeleteSonarr | Delete /settings/sonarr/{sonarrId} | Delete Sonarr instance |
GetAbout | Get /settings/about | Get server stats |
GetCache | Get /settings/cache | Get a list of active caches |
GetDiscoverReset | Get /settings/discover/reset | Reset all discover sliders |
GetMain | Get /settings/main | Get main settings |
GetNotificationsDiscord | Get /settings/notifications/discord | Get Discord notification settings |
GetNotificationsEmail | Get /settings/notifications/email | Get email notification settings |
GetNotificationsGotify | Get /settings/notifications/gotify | Get Gotify notification settings |
GetNotificationsLunasea | Get /settings/notifications/lunasea | Get LunaSea notification settings |
GetNotificationsPushbullet | Get /settings/notifications/pushbullet | Get Pushbullet notification settings |
GetNotificationsPushover | Get /settings/notifications/pushover | Get Pushover notification settings |
GetNotificationsSlack | Get /settings/notifications/slack | Get Slack notification settings |
GetNotificationsTelegram | Get /settings/notifications/telegram | Get Telegram notification settings |
GetNotificationsWebhook | Get /settings/notifications/webhook | Get webhook notification settings |
GetNotificationsWebpush | Get /settings/notifications/webpush | Get Web Push notification settings |
GetPlex | Get /settings/plex | Get Plex settings |
GetPlexSync | Get /settings/plex/sync | Get status of full Plex library scan |
GetPublic | Get /settings/public | Get public settings |
GetTautulli | Get /settings/tautulli | Get Tautulli settings |
ListDiscover | Get /settings/discover | Get all discover sliders |
ListJobs | Get /settings/jobs | Get scheduled jobs |
ListLogs | Get /settings/logs | Returns logs |
ListPlexDevicesServers | Get /settings/plex/devices/servers | Gets the user's available Plex servers |
ListPlexLibrary | Get /settings/plex/library | Get Plex libraries |
ListPlexUsers | Get /settings/plex/users | Get Plex users |
ListRadarr | Get /settings/radarr | Get Radarr settings |
ListRadarrProfiles | Get /settings/radarr/{radarrId}/profiles | Get available Radarr profiles |
ListSonarr | Get /settings/sonarr | Get Sonarr settings |
TestNotificationsDiscord | Post /settings/notifications/discord/test | Test Discord settings |
TestNotificationsEmail | Post /settings/notifications/email/test | Test email settings |
TestNotificationsGotify | Post /settings/notifications/gotify/test | Test Gotify settings |
TestNotificationsLunasea | Post /settings/notifications/lunasea/test | Test LunaSea settings |
TestNotificationsPushbullet | Post /settings/notifications/pushbullet/test | Test Pushbullet settings |
TestNotificationsPushover | Post /settings/notifications/pushover/test | Test Pushover settings |
TestNotificationsSlack | Post /settings/notifications/slack/test | Test Slack settings |
TestNotificationsTelegram | Post /settings/notifications/telegram/test | Test Telegram settings |
TestNotificationsWebhook | Post /settings/notifications/webhook/test | Test webhook settings |
TestNotificationsWebpush | Post /settings/notifications/webpush/test | Test Web Push settings |
TestRadarr | Post /settings/radarr/test | Test Radarr configuration |
TestSonarr | Post /settings/sonarr/test | Test Sonarr configuration |
UpdateDiscover | Put /settings/discover/{sliderId} | Update a single slider |
UpdateRadarr | Put /settings/radarr/{radarrId} | Update Radarr instance |
UpdateSonarr | Put /settings/sonarr/{sonarrId} | Update Sonarr instance |
CreateCacheFlush(ctx, cacheId).Execute()
Flush a specific cache
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
cacheId := "cacheId_example" // string |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
r, err := apiClient.SettingsAPI.CreateCacheFlush(context.Background(), cacheId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.CreateCacheFlush``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
cacheId | string |
Other parameters are passed through a pointer to a apiCreateCacheFlushRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]DiscoverSlider CreateDiscover(ctx).DiscoverSlider(discoverSlider).Execute()
Batch update all sliders.
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
discoverSlider := []overseerrClient.DiscoverSlider{*overseerrClient.NewDiscoverSlider(float32(1), "Title_example", false, "1234")} // []DiscoverSlider |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.CreateDiscover(context.Background()).DiscoverSlider(discoverSlider).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.CreateDiscover``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateDiscover`: []DiscoverSlider
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.CreateDiscover`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiCreateDiscoverRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
discoverSlider | []DiscoverSlider |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DiscoverSlider CreateDiscoverAdd(ctx).CreateDiscoverAddRequest(createDiscoverAddRequest).Execute()
Add a new slider
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
createDiscoverAddRequest := *overseerrClient.NewCreateDiscoverAddRequest() // CreateDiscoverAddRequest |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.CreateDiscoverAdd(context.Background()).CreateDiscoverAddRequest(createDiscoverAddRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.CreateDiscoverAdd``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateDiscoverAdd`: DiscoverSlider
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.CreateDiscoverAdd`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiCreateDiscoverAddRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
createDiscoverAddRequest | CreateDiscoverAddRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PublicSettings CreateInitialize(ctx).Execute()
Initialize application
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.SettingsAPI.CreateInitialize(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.CreateInitialize``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateInitialize`: PublicSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.CreateInitialize`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiCreateInitializeRequest 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]
Job CreateJobsCancel(ctx, jobId).Execute()
Cancel a specific job
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
jobId := "jobId_example" // string |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.CreateJobsCancel(context.Background(), jobId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.CreateJobsCancel``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateJobsCancel`: Job
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.CreateJobsCancel`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
jobId | string |
Other parameters are passed through a pointer to a apiCreateJobsCancelRequest 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]
Job CreateJobsRun(ctx, jobId).Execute()
Invoke a specific job
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
jobId := "jobId_example" // string |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.CreateJobsRun(context.Background(), jobId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.CreateJobsRun``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateJobsRun`: Job
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.CreateJobsRun`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
jobId | string |
Other parameters are passed through a pointer to a apiCreateJobsRunRequest 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]
Job CreateJobsSchedule(ctx, jobId).CreateJobsScheduleRequest(createJobsScheduleRequest).Execute()
Modify job schedule
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
jobId := "jobId_example" // string |
createJobsScheduleRequest := *overseerrClient.NewCreateJobsScheduleRequest() // CreateJobsScheduleRequest |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.CreateJobsSchedule(context.Background(), jobId).CreateJobsScheduleRequest(createJobsScheduleRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.CreateJobsSchedule``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateJobsSchedule`: Job
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.CreateJobsSchedule`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
jobId | string |
Other parameters are passed through a pointer to a apiCreateJobsScheduleRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
createJobsScheduleRequest | CreateJobsScheduleRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
MainSettings CreateMain(ctx).MainSettings(mainSettings).Execute()
Update main settings
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
mainSettings := *overseerrClient.NewMainSettings() // MainSettings |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.CreateMain(context.Background()).MainSettings(mainSettings).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.CreateMain``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateMain`: MainSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.CreateMain`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiCreateMainRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
mainSettings | MainSettings |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
MainSettings CreateMainRegenerate(ctx).Execute()
Get main settings with newly-generated API key
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.SettingsAPI.CreateMainRegenerate(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.CreateMainRegenerate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateMainRegenerate`: MainSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.CreateMainRegenerate`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiCreateMainRegenerateRequest 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]
DiscordSettings CreateNotificationsDiscord(ctx).DiscordSettings(discordSettings).Execute()
Update Discord notification settings
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
discordSettings := *overseerrClient.NewDiscordSettings() // DiscordSettings |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.CreateNotificationsDiscord(context.Background()).DiscordSettings(discordSettings).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.CreateNotificationsDiscord``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateNotificationsDiscord`: DiscordSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.CreateNotificationsDiscord`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiCreateNotificationsDiscordRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
discordSettings | DiscordSettings |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
NotificationEmailSettings CreateNotificationsEmail(ctx).NotificationEmailSettings(notificationEmailSettings).Execute()
Update email notification settings
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
notificationEmailSettings := *overseerrClient.NewNotificationEmailSettings() // NotificationEmailSettings |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.CreateNotificationsEmail(context.Background()).NotificationEmailSettings(notificationEmailSettings).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.CreateNotificationsEmail``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateNotificationsEmail`: NotificationEmailSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.CreateNotificationsEmail`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiCreateNotificationsEmailRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
notificationEmailSettings | NotificationEmailSettings |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GotifySettings CreateNotificationsGotify(ctx).GotifySettings(gotifySettings).Execute()
Update Gotify notification settings
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
gotifySettings := *overseerrClient.NewGotifySettings() // GotifySettings |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.CreateNotificationsGotify(context.Background()).GotifySettings(gotifySettings).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.CreateNotificationsGotify``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateNotificationsGotify`: GotifySettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.CreateNotificationsGotify`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiCreateNotificationsGotifyRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
gotifySettings | GotifySettings |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LunaSeaSettings CreateNotificationsLunasea(ctx).LunaSeaSettings(lunaSeaSettings).Execute()
Update LunaSea notification settings
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
lunaSeaSettings := *overseerrClient.NewLunaSeaSettings() // LunaSeaSettings |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.CreateNotificationsLunasea(context.Background()).LunaSeaSettings(lunaSeaSettings).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.CreateNotificationsLunasea``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateNotificationsLunasea`: LunaSeaSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.CreateNotificationsLunasea`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiCreateNotificationsLunaseaRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
lunaSeaSettings | LunaSeaSettings |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PushbulletSettings CreateNotificationsPushbullet(ctx).PushbulletSettings(pushbulletSettings).Execute()
Update Pushbullet notification settings
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
pushbulletSettings := *overseerrClient.NewPushbulletSettings() // PushbulletSettings |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.CreateNotificationsPushbullet(context.Background()).PushbulletSettings(pushbulletSettings).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.CreateNotificationsPushbullet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateNotificationsPushbullet`: PushbulletSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.CreateNotificationsPushbullet`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiCreateNotificationsPushbulletRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
pushbulletSettings | PushbulletSettings |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PushoverSettings CreateNotificationsPushover(ctx).PushoverSettings(pushoverSettings).Execute()
Update Pushover notification settings
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
pushoverSettings := *overseerrClient.NewPushoverSettings() // PushoverSettings |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.CreateNotificationsPushover(context.Background()).PushoverSettings(pushoverSettings).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.CreateNotificationsPushover``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateNotificationsPushover`: PushoverSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.CreateNotificationsPushover`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiCreateNotificationsPushoverRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
pushoverSettings | PushoverSettings |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SlackSettings CreateNotificationsSlack(ctx).SlackSettings(slackSettings).Execute()
Update Slack notification settings
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
slackSettings := *overseerrClient.NewSlackSettings() // SlackSettings |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.CreateNotificationsSlack(context.Background()).SlackSettings(slackSettings).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.CreateNotificationsSlack``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateNotificationsSlack`: SlackSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.CreateNotificationsSlack`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiCreateNotificationsSlackRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
slackSettings | SlackSettings |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TelegramSettings CreateNotificationsTelegram(ctx).TelegramSettings(telegramSettings).Execute()
Update Telegram notification settings
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
telegramSettings := *overseerrClient.NewTelegramSettings() // TelegramSettings |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.CreateNotificationsTelegram(context.Background()).TelegramSettings(telegramSettings).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.CreateNotificationsTelegram``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateNotificationsTelegram`: TelegramSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.CreateNotificationsTelegram`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiCreateNotificationsTelegramRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
telegramSettings | TelegramSettings |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
WebhookSettings CreateNotificationsWebhook(ctx).WebhookSettings(webhookSettings).Execute()
Update webhook notification settings
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
webhookSettings := *overseerrClient.NewWebhookSettings() // WebhookSettings |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.CreateNotificationsWebhook(context.Background()).WebhookSettings(webhookSettings).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.CreateNotificationsWebhook``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateNotificationsWebhook`: WebhookSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.CreateNotificationsWebhook`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiCreateNotificationsWebhookRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
webhookSettings | WebhookSettings |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
WebPushSettings CreateNotificationsWebpush(ctx).WebPushSettings(webPushSettings).Execute()
Update Web Push notification settings
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
webPushSettings := *overseerrClient.NewWebPushSettings() // WebPushSettings |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.CreateNotificationsWebpush(context.Background()).WebPushSettings(webPushSettings).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.CreateNotificationsWebpush``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateNotificationsWebpush`: WebPushSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.CreateNotificationsWebpush`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiCreateNotificationsWebpushRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
webPushSettings | WebPushSettings |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PlexSettings CreatePlex(ctx).PlexSettings(plexSettings).Execute()
Update Plex settings
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
plexSettings := *overseerrClient.NewPlexSettings("Main Server", "1234123412341234", "127.0.0.1", float32(32400)) // PlexSettings |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.CreatePlex(context.Background()).PlexSettings(plexSettings).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.CreatePlex``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreatePlex`: PlexSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.CreatePlex`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiCreatePlexRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
plexSettings | PlexSettings |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetPlexSync2XXResponse CreatePlexSync(ctx).CreatePlexSyncRequest(createPlexSyncRequest).Execute()
Start full Plex library scan
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
createPlexSyncRequest := *overseerrClient.NewCreatePlexSyncRequest() // CreatePlexSyncRequest | (optional)
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.CreatePlexSync(context.Background()).CreatePlexSyncRequest(createPlexSyncRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.CreatePlexSync``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreatePlexSync`: GetPlexSync2XXResponse
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.CreatePlexSync`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiCreatePlexSyncRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
createPlexSyncRequest | CreatePlexSyncRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RadarrSettings CreateRadarr(ctx).RadarrSettings(radarrSettings).Execute()
Create Radarr instance
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
radarrSettings := *overseerrClient.NewRadarrSettings("Radarr Main", "127.0.0.1", float32(7878), "exampleapikey", false, float32(1), "720p/1080p", "/movies", false, "In Cinema", false) // RadarrSettings |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.CreateRadarr(context.Background()).RadarrSettings(radarrSettings).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.CreateRadarr``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateRadarr`: RadarrSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.CreateRadarr`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiCreateRadarrRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
radarrSettings | RadarrSettings |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SonarrSettings CreateSonarr(ctx).SonarrSettings(sonarrSettings).Execute()
Create Sonarr instance
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
sonarrSettings := *overseerrClient.NewSonarrSettings("Sonarr Main", "127.0.0.1", float32(8989), "exampleapikey", false, float32(1), "720p/1080p", "/tv/", false, false, false) // SonarrSettings |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.CreateSonarr(context.Background()).SonarrSettings(sonarrSettings).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.CreateSonarr``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateSonarr`: SonarrSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.CreateSonarr`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiCreateSonarrRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
sonarrSettings | SonarrSettings |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TautulliSettings CreateTautulli(ctx).TautulliSettings(tautulliSettings).Execute()
Update Tautulli settings
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
tautulliSettings := *overseerrClient.NewTautulliSettings() // TautulliSettings |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.CreateTautulli(context.Background()).TautulliSettings(tautulliSettings).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.CreateTautulli``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateTautulli`: TautulliSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.CreateTautulli`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiCreateTautulliRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
tautulliSettings | TautulliSettings |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DiscoverSlider DeleteDiscover(ctx, sliderId).Execute()
Delete slider by ID
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
sliderId := float32(8.14) // float32 |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.DeleteDiscover(context.Background(), sliderId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.DeleteDiscover``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeleteDiscover`: DiscoverSlider
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.DeleteDiscover`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
sliderId | float32 |
Other parameters are passed through a pointer to a apiDeleteDiscoverRequest 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]
RadarrSettings DeleteRadarr(ctx, radarrId).Execute()
Delete Radarr instance
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
radarrId := int32(56) // int32 | Radarr instance ID
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.DeleteRadarr(context.Background(), radarrId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.DeleteRadarr``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeleteRadarr`: RadarrSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.DeleteRadarr`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
radarrId | int32 | Radarr instance ID |
Other parameters are passed through a pointer to a apiDeleteRadarrRequest 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]
SonarrSettings DeleteSonarr(ctx, sonarrId).Execute()
Delete Sonarr instance
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
sonarrId := int32(56) // int32 | Sonarr instance ID
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.DeleteSonarr(context.Background(), sonarrId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.DeleteSonarr``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeleteSonarr`: SonarrSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.DeleteSonarr`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
sonarrId | int32 | Sonarr instance ID |
Other parameters are passed through a pointer to a apiDeleteSonarrRequest 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]
GetAbout2XXResponse GetAbout(ctx).Execute()
Get server stats
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.SettingsAPI.GetAbout(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.GetAbout``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetAbout`: GetAbout2XXResponse
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.GetAbout`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetAboutRequest 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]
GetCache2XXResponse GetCache(ctx).Execute()
Get a list of active caches
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.SettingsAPI.GetCache(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.GetCache``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetCache`: GetCache2XXResponse
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.GetCache`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetCacheRequest 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]
GetDiscoverReset(ctx).Execute()
Reset all discover sliders
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
r, err := apiClient.SettingsAPI.GetDiscoverReset(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.GetDiscoverReset``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetDiscoverResetRequest struct via the builder pattern
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
MainSettings GetMain(ctx).Execute()
Get main settings
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.SettingsAPI.GetMain(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.GetMain``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetMain`: MainSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.GetMain`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetMainRequest 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]
DiscordSettings GetNotificationsDiscord(ctx).Execute()
Get Discord notification settings
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.SettingsAPI.GetNotificationsDiscord(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.GetNotificationsDiscord``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetNotificationsDiscord`: DiscordSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.GetNotificationsDiscord`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetNotificationsDiscordRequest 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]
NotificationEmailSettings GetNotificationsEmail(ctx).Execute()
Get email notification settings
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.SettingsAPI.GetNotificationsEmail(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.GetNotificationsEmail``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetNotificationsEmail`: NotificationEmailSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.GetNotificationsEmail`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetNotificationsEmailRequest 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]
GotifySettings GetNotificationsGotify(ctx).Execute()
Get Gotify notification settings
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.SettingsAPI.GetNotificationsGotify(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.GetNotificationsGotify``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetNotificationsGotify`: GotifySettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.GetNotificationsGotify`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetNotificationsGotifyRequest 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]
LunaSeaSettings GetNotificationsLunasea(ctx).Execute()
Get LunaSea notification settings
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.SettingsAPI.GetNotificationsLunasea(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.GetNotificationsLunasea``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetNotificationsLunasea`: LunaSeaSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.GetNotificationsLunasea`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetNotificationsLunaseaRequest 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]
PushbulletSettings GetNotificationsPushbullet(ctx).Execute()
Get Pushbullet notification settings
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.SettingsAPI.GetNotificationsPushbullet(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.GetNotificationsPushbullet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetNotificationsPushbullet`: PushbulletSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.GetNotificationsPushbullet`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetNotificationsPushbulletRequest 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]
PushoverSettings GetNotificationsPushover(ctx).Execute()
Get Pushover notification settings
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.SettingsAPI.GetNotificationsPushover(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.GetNotificationsPushover``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetNotificationsPushover`: PushoverSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.GetNotificationsPushover`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetNotificationsPushoverRequest 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]
SlackSettings GetNotificationsSlack(ctx).Execute()
Get Slack notification settings
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.SettingsAPI.GetNotificationsSlack(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.GetNotificationsSlack``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetNotificationsSlack`: SlackSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.GetNotificationsSlack`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetNotificationsSlackRequest 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]
TelegramSettings GetNotificationsTelegram(ctx).Execute()
Get Telegram notification settings
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.SettingsAPI.GetNotificationsTelegram(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.GetNotificationsTelegram``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetNotificationsTelegram`: TelegramSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.GetNotificationsTelegram`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetNotificationsTelegramRequest 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]
WebhookSettings GetNotificationsWebhook(ctx).Execute()
Get webhook notification settings
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.SettingsAPI.GetNotificationsWebhook(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.GetNotificationsWebhook``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetNotificationsWebhook`: WebhookSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.GetNotificationsWebhook`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetNotificationsWebhookRequest 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]
WebPushSettings GetNotificationsWebpush(ctx).Execute()
Get Web Push notification settings
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.SettingsAPI.GetNotificationsWebpush(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.GetNotificationsWebpush``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetNotificationsWebpush`: WebPushSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.GetNotificationsWebpush`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetNotificationsWebpushRequest 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]
PlexSettings GetPlex(ctx).Execute()
Get Plex settings
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.SettingsAPI.GetPlex(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.GetPlex``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetPlex`: PlexSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.GetPlex`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetPlexRequest 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]
GetPlexSync2XXResponse GetPlexSync(ctx).Execute()
Get status of full Plex library scan
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.SettingsAPI.GetPlexSync(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.GetPlexSync``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetPlexSync`: GetPlexSync2XXResponse
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.GetPlexSync`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetPlexSyncRequest 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]
PublicSettings GetPublic(ctx).Execute()
Get public settings
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.SettingsAPI.GetPublic(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.GetPublic``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetPublic`: PublicSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.GetPublic`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetPublicRequest struct via the builder pattern
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TautulliSettings GetTautulli(ctx).Execute()
Get Tautulli settings
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.SettingsAPI.GetTautulli(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.GetTautulli``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetTautulli`: TautulliSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.GetTautulli`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetTautulliRequest 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]
[]DiscoverSlider ListDiscover(ctx).Execute()
Get all discover sliders
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.SettingsAPI.ListDiscover(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.ListDiscover``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListDiscover`: []DiscoverSlider
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.ListDiscover`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiListDiscoverRequest 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]
[]Job ListJobs(ctx).Execute()
Get scheduled jobs
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.SettingsAPI.ListJobs(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.ListJobs``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListJobs`: []Job
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.ListJobs`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiListJobsRequest 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]
[]ListLogs2XXResponseInner ListLogs(ctx).Take(take).Skip(skip).Filter(filter).Search(search).Execute()
Returns logs
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
take := float32(25) // float32 | (optional)
skip := float32(0) // float32 | (optional)
filter := "filter_example" // string | (optional) (default to "debug")
search := "plex" // string | (optional)
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.ListLogs(context.Background()).Take(take).Skip(skip).Filter(filter).Search(search).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.ListLogs``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListLogs`: []ListLogs2XXResponseInner
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.ListLogs`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiListLogsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
take | float32 | ||
skip | float32 | ||
filter | string | [default to "debug"] | |
search | string |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]PlexDevice ListPlexDevicesServers(ctx).Execute()
Gets the user's available Plex servers
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.SettingsAPI.ListPlexDevicesServers(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.ListPlexDevicesServers``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListPlexDevicesServers`: []PlexDevice
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.ListPlexDevicesServers`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiListPlexDevicesServersRequest 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]
[]PlexLibrary ListPlexLibrary(ctx).Sync(sync).Enable(enable).Execute()
Get Plex libraries
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
sync := "sync_example" // string | Syncs the current libraries with the current Plex server (optional)
enable := "enable_example" // string | Comma separated list of libraries to enable. Any libraries not passed will be disabled! (optional)
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.ListPlexLibrary(context.Background()).Sync(sync).Enable(enable).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.ListPlexLibrary``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListPlexLibrary`: []PlexLibrary
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.ListPlexLibrary`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiListPlexLibraryRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
sync | string | Syncs the current libraries with the current Plex server | |
enable | string | Comma separated list of libraries to enable. Any libraries not passed will be disabled! |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]ListPlexUsers2XXResponseInner ListPlexUsers(ctx).Execute()
Get Plex users
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.SettingsAPI.ListPlexUsers(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.ListPlexUsers``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListPlexUsers`: []ListPlexUsers2XXResponseInner
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.ListPlexUsers`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiListPlexUsersRequest struct via the builder pattern
[]ListPlexUsers2XXResponseInner
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]RadarrSettings ListRadarr(ctx).Execute()
Get Radarr settings
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.SettingsAPI.ListRadarr(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.ListRadarr``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListRadarr`: []RadarrSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.ListRadarr`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiListRadarrRequest 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]
[]ServiceProfile ListRadarrProfiles(ctx, radarrId).Execute()
Get available Radarr profiles
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
radarrId := int32(56) // int32 | Radarr instance ID
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.ListRadarrProfiles(context.Background(), radarrId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.ListRadarrProfiles``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListRadarrProfiles`: []ServiceProfile
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.ListRadarrProfiles`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
radarrId | int32 | Radarr instance ID |
Other parameters are passed through a pointer to a apiListRadarrProfilesRequest 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]
[]SonarrSettings ListSonarr(ctx).Execute()
Get Sonarr settings
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.SettingsAPI.ListSonarr(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.ListSonarr``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListSonarr`: []SonarrSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.ListSonarr`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiListSonarrRequest 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]
TestNotificationsDiscord(ctx).DiscordSettings(discordSettings).Execute()
Test Discord settings
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
discordSettings := *overseerrClient.NewDiscordSettings() // DiscordSettings |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
r, err := apiClient.SettingsAPI.TestNotificationsDiscord(context.Background()).DiscordSettings(discordSettings).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.TestNotificationsDiscord``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Other parameters are passed through a pointer to a apiTestNotificationsDiscordRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
discordSettings | DiscordSettings |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TestNotificationsEmail(ctx).NotificationEmailSettings(notificationEmailSettings).Execute()
Test email settings
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
notificationEmailSettings := *overseerrClient.NewNotificationEmailSettings() // NotificationEmailSettings |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
r, err := apiClient.SettingsAPI.TestNotificationsEmail(context.Background()).NotificationEmailSettings(notificationEmailSettings).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.TestNotificationsEmail``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Other parameters are passed through a pointer to a apiTestNotificationsEmailRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
notificationEmailSettings | NotificationEmailSettings |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TestNotificationsGotify(ctx).GotifySettings(gotifySettings).Execute()
Test Gotify settings
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
gotifySettings := *overseerrClient.NewGotifySettings() // GotifySettings |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
r, err := apiClient.SettingsAPI.TestNotificationsGotify(context.Background()).GotifySettings(gotifySettings).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.TestNotificationsGotify``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Other parameters are passed through a pointer to a apiTestNotificationsGotifyRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
gotifySettings | GotifySettings |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TestNotificationsLunasea(ctx).LunaSeaSettings(lunaSeaSettings).Execute()
Test LunaSea settings
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
lunaSeaSettings := *overseerrClient.NewLunaSeaSettings() // LunaSeaSettings |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
r, err := apiClient.SettingsAPI.TestNotificationsLunasea(context.Background()).LunaSeaSettings(lunaSeaSettings).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.TestNotificationsLunasea``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Other parameters are passed through a pointer to a apiTestNotificationsLunaseaRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
lunaSeaSettings | LunaSeaSettings |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TestNotificationsPushbullet(ctx).PushbulletSettings(pushbulletSettings).Execute()
Test Pushbullet settings
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
pushbulletSettings := *overseerrClient.NewPushbulletSettings() // PushbulletSettings |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
r, err := apiClient.SettingsAPI.TestNotificationsPushbullet(context.Background()).PushbulletSettings(pushbulletSettings).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.TestNotificationsPushbullet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Other parameters are passed through a pointer to a apiTestNotificationsPushbulletRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
pushbulletSettings | PushbulletSettings |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TestNotificationsPushover(ctx).PushoverSettings(pushoverSettings).Execute()
Test Pushover settings
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
pushoverSettings := *overseerrClient.NewPushoverSettings() // PushoverSettings |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
r, err := apiClient.SettingsAPI.TestNotificationsPushover(context.Background()).PushoverSettings(pushoverSettings).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.TestNotificationsPushover``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Other parameters are passed through a pointer to a apiTestNotificationsPushoverRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
pushoverSettings | PushoverSettings |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TestNotificationsSlack(ctx).SlackSettings(slackSettings).Execute()
Test Slack settings
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
slackSettings := *overseerrClient.NewSlackSettings() // SlackSettings |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
r, err := apiClient.SettingsAPI.TestNotificationsSlack(context.Background()).SlackSettings(slackSettings).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.TestNotificationsSlack``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Other parameters are passed through a pointer to a apiTestNotificationsSlackRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
slackSettings | SlackSettings |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TestNotificationsTelegram(ctx).TelegramSettings(telegramSettings).Execute()
Test Telegram settings
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
telegramSettings := *overseerrClient.NewTelegramSettings() // TelegramSettings |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
r, err := apiClient.SettingsAPI.TestNotificationsTelegram(context.Background()).TelegramSettings(telegramSettings).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.TestNotificationsTelegram``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Other parameters are passed through a pointer to a apiTestNotificationsTelegramRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
telegramSettings | TelegramSettings |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TestNotificationsWebhook(ctx).WebhookSettings(webhookSettings).Execute()
Test webhook settings
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
webhookSettings := *overseerrClient.NewWebhookSettings() // WebhookSettings |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
r, err := apiClient.SettingsAPI.TestNotificationsWebhook(context.Background()).WebhookSettings(webhookSettings).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.TestNotificationsWebhook``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Other parameters are passed through a pointer to a apiTestNotificationsWebhookRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
webhookSettings | WebhookSettings |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TestNotificationsWebpush(ctx).WebPushSettings(webPushSettings).Execute()
Test Web Push settings
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
webPushSettings := *overseerrClient.NewWebPushSettings() // WebPushSettings |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
r, err := apiClient.SettingsAPI.TestNotificationsWebpush(context.Background()).WebPushSettings(webPushSettings).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.TestNotificationsWebpush``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Other parameters are passed through a pointer to a apiTestNotificationsWebpushRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
webPushSettings | WebPushSettings |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TestRadarr2XXResponse TestRadarr(ctx).TestRadarrRequest(testRadarrRequest).Execute()
Test Radarr configuration
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
testRadarrRequest := *overseerrClient.NewTestRadarrRequest("127.0.0.1", float32(7878), "yourapikey", false) // TestRadarrRequest |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.TestRadarr(context.Background()).TestRadarrRequest(testRadarrRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.TestRadarr``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `TestRadarr`: TestRadarr2XXResponse
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.TestRadarr`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiTestRadarrRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
testRadarrRequest | TestRadarrRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TestRadarr2XXResponse TestSonarr(ctx).TestSonarrRequest(testSonarrRequest).Execute()
Test Sonarr configuration
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
testSonarrRequest := *overseerrClient.NewTestSonarrRequest("127.0.0.1", float32(8989), "yourapikey", false) // TestSonarrRequest |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.TestSonarr(context.Background()).TestSonarrRequest(testSonarrRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.TestSonarr``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `TestSonarr`: TestRadarr2XXResponse
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.TestSonarr`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiTestSonarrRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
testSonarrRequest | TestSonarrRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DiscoverSlider UpdateDiscover(ctx, sliderId).UpdateDiscoverRequest(updateDiscoverRequest).Execute()
Update a single slider
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
sliderId := float32(8.14) // float32 |
updateDiscoverRequest := *overseerrClient.NewUpdateDiscoverRequest() // UpdateDiscoverRequest |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.UpdateDiscover(context.Background(), sliderId).UpdateDiscoverRequest(updateDiscoverRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.UpdateDiscover``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdateDiscover`: DiscoverSlider
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.UpdateDiscover`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
sliderId | float32 |
Other parameters are passed through a pointer to a apiUpdateDiscoverRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
updateDiscoverRequest | UpdateDiscoverRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RadarrSettings UpdateRadarr(ctx, radarrId).RadarrSettings(radarrSettings).Execute()
Update Radarr instance
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
radarrId := int32(56) // int32 | Radarr instance ID
radarrSettings := *overseerrClient.NewRadarrSettings("Radarr Main", "127.0.0.1", float32(7878), "exampleapikey", false, float32(1), "720p/1080p", "/movies", false, "In Cinema", false) // RadarrSettings |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.UpdateRadarr(context.Background(), radarrId).RadarrSettings(radarrSettings).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.UpdateRadarr``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdateRadarr`: RadarrSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.UpdateRadarr`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
radarrId | int32 | Radarr instance ID |
Other parameters are passed through a pointer to a apiUpdateRadarrRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
radarrSettings | RadarrSettings | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SonarrSettings UpdateSonarr(ctx, sonarrId).SonarrSettings(sonarrSettings).Execute()
Update Sonarr instance
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
sonarrId := int32(56) // int32 | Sonarr instance ID
sonarrSettings := *overseerrClient.NewSonarrSettings("Sonarr Main", "127.0.0.1", float32(8989), "exampleapikey", false, float32(1), "720p/1080p", "/tv/", false, false, false) // SonarrSettings |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.UpdateSonarr(context.Background(), sonarrId).SonarrSettings(sonarrSettings).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.UpdateSonarr``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdateSonarr`: SonarrSettings
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.UpdateSonarr`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
sonarrId | int32 | Sonarr instance ID |
Other parameters are passed through a pointer to a apiUpdateSonarrRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
sonarrSettings | SonarrSettings | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]