All URIs are relative to http://localhost:7878
Method | HTTP request | Description |
---|---|---|
GetMediaCoverByFilename | Get /api/v3/mediacover/{movieId}/{filename} |
GetMediaCoverByFilename(ctx, movieId, filename).Execute()
package main
import (
"context"
"fmt"
"os"
radarrClient "github.com/devopsarr/radarr-go/radarr"
)
func main() {
movieId := int32(56) // int32 |
filename := "filename_example" // string |
configuration := radarrClient.NewConfiguration()
apiClient := radarrClient.NewAPIClient(configuration)
r, err := apiClient.MediaCoverAPI.GetMediaCoverByFilename(context.Background(), movieId, filename).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `MediaCoverAPI.GetMediaCoverByFilename``: %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. | |
movieId | int32 | ||
filename | string |
Other parameters are passed through a pointer to a apiGetMediaCoverByFilenameRequest 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]