All URIs are relative to http://localhost:8787
| Method | HTTP request | Description |
|---|---|---|
| DeleteAuthorEditor | Delete /api/v1/author/editor | |
| PutAuthorEditor | Put /api/v1/author/editor |
DeleteAuthorEditor(ctx).AuthorEditorResource(authorEditorResource).Execute()
package main
import (
"context"
"fmt"
"os"
readarrClient "github.com/devopsarr/readarr-go/readarr"
)
func main() {
authorEditorResource := *readarrClient.NewAuthorEditorResource() // AuthorEditorResource | (optional)
configuration := readarrClient.NewConfiguration()
apiClient := readarrClient.NewAPIClient(configuration)
r, err := apiClient.AuthorEditorAPI.DeleteAuthorEditor(context.Background()).AuthorEditorResource(authorEditorResource).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthorEditorAPI.DeleteAuthorEditor``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}Other parameters are passed through a pointer to a apiDeleteAuthorEditorRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| authorEditorResource | AuthorEditorResource |
(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]
PutAuthorEditor(ctx).AuthorEditorResource(authorEditorResource).Execute()
package main
import (
"context"
"fmt"
"os"
readarrClient "github.com/devopsarr/readarr-go/readarr"
)
func main() {
authorEditorResource := *readarrClient.NewAuthorEditorResource() // AuthorEditorResource | (optional)
configuration := readarrClient.NewConfiguration()
apiClient := readarrClient.NewAPIClient(configuration)
r, err := apiClient.AuthorEditorAPI.PutAuthorEditor(context.Background()).AuthorEditorResource(authorEditorResource).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthorEditorAPI.PutAuthorEditor``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}Other parameters are passed through a pointer to a apiPutAuthorEditorRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| authorEditorResource | AuthorEditorResource |
(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]