All URIs are relative to http://localhost:7878
Method | HTTP request | Description |
---|---|---|
CreateImportlistMovie | Post /api/v3/importlist/movie | |
GetImportlistMovie | Get /api/v3/importlist/movie |
CreateImportlistMovie(ctx).MovieResource(movieResource).Execute()
package main
import (
"context"
"fmt"
"os"
radarrClient "github.com/devopsarr/radarr-go/radarr"
)
func main() {
movieResource := []radarrClient.MovieResource{*radarrClient.NewMovieResource()} // []MovieResource | (optional)
configuration := radarrClient.NewConfiguration()
apiClient := radarrClient.NewAPIClient(configuration)
r, err := apiClient.ImportListMoviesAPI.CreateImportlistMovie(context.Background()).MovieResource(movieResource).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ImportListMoviesAPI.CreateImportlistMovie``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Other parameters are passed through a pointer to a apiCreateImportlistMovieRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
movieResource | []MovieResource |
(empty response body)
- Content-Type: application/json, text/json, application/*+json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetImportlistMovie(ctx).IncludeRecommendations(includeRecommendations).IncludeTrending(includeTrending).IncludePopular(includePopular).Execute()
package main
import (
"context"
"fmt"
"os"
radarrClient "github.com/devopsarr/radarr-go/radarr"
)
func main() {
includeRecommendations := true // bool | (optional) (default to false)
includeTrending := true // bool | (optional) (default to false)
includePopular := true // bool | (optional) (default to false)
configuration := radarrClient.NewConfiguration()
apiClient := radarrClient.NewAPIClient(configuration)
r, err := apiClient.ImportListMoviesAPI.GetImportlistMovie(context.Background()).IncludeRecommendations(includeRecommendations).IncludeTrending(includeTrending).IncludePopular(includePopular).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ImportListMoviesAPI.GetImportlistMovie``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Other parameters are passed through a pointer to a apiGetImportlistMovieRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
includeRecommendations | bool | [default to false] | |
includeTrending | bool | [default to false] | |
includePopular | bool | [default to false] |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]