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