Skip to content

Latest commit

 

History

History
75 lines (47 loc) · 1.78 KB

RetagBookAPI.md

File metadata and controls

75 lines (47 loc) · 1.78 KB

\RetagBookAPI

All URIs are relative to http://localhost:8787

Method HTTP request Description
ListRetag Get /api/v1/retag

ListRetag

[]RetagBookResource ListRetag(ctx).AuthorId(authorId).BookId(bookId).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	readarrClient "github.com/devopsarr/readarr-go/readarr"
)

func main() {
	authorId := int32(56) // int32 |  (optional)
	bookId := int32(56) // int32 |  (optional)

	configuration := readarrClient.NewConfiguration()
	apiClient := readarrClient.NewAPIClient(configuration)
	resp, r, err := apiClient.RetagBookAPI.ListRetag(context.Background()).AuthorId(authorId).BookId(bookId).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `RetagBookAPI.ListRetag``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `ListRetag`: []RetagBookResource
	fmt.Fprintf(os.Stdout, "Response from `RetagBookAPI.ListRetag`: %v\n", resp)
}

Path Parameters

Other Parameters

Other parameters are passed through a pointer to a apiListRetagRequest struct via the builder pattern

Name Type Description Notes
authorId int32
bookId int32

Return type

[]RetagBookResource

Authorization

apikey, X-Api-Key

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]