All URIs are relative to http://localhost:7878
Method | HTTP request | Description |
---|---|---|
DeleteMovieEditor | Delete /api/v3/movie/editor | |
PutMovieEditor | Put /api/v3/movie/editor |
DeleteMovieEditor(ctx).MovieEditorResource(movieEditorResource).Execute()
package main
import (
"context"
"fmt"
"os"
whisparrClient "github.com/devopsarr/whisparr-go/whisparr"
)
func main() {
movieEditorResource := *whisparrClient.NewMovieEditorResource() // MovieEditorResource | (optional)
configuration := whisparrClient.NewConfiguration()
apiClient := whisparrClient.NewAPIClient(configuration)
r, err := apiClient.MovieEditorAPI.DeleteMovieEditor(context.Background()).MovieEditorResource(movieEditorResource).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `MovieEditorAPI.DeleteMovieEditor``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Other parameters are passed through a pointer to a apiDeleteMovieEditorRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
movieEditorResource | MovieEditorResource |
(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]
PutMovieEditor(ctx).MovieEditorResource(movieEditorResource).Execute()
package main
import (
"context"
"fmt"
"os"
whisparrClient "github.com/devopsarr/whisparr-go/whisparr"
)
func main() {
movieEditorResource := *whisparrClient.NewMovieEditorResource() // MovieEditorResource | (optional)
configuration := whisparrClient.NewConfiguration()
apiClient := whisparrClient.NewAPIClient(configuration)
r, err := apiClient.MovieEditorAPI.PutMovieEditor(context.Background()).MovieEditorResource(movieEditorResource).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `MovieEditorAPI.PutMovieEditor``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Other parameters are passed through a pointer to a apiPutMovieEditorRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
movieEditorResource | MovieEditorResource |
(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]