All URIs are relative to http://localhost:8686
Method | HTTP request | Description |
---|---|---|
ListUpdate | Get /api/v1/update |
[]UpdateResource ListUpdate(ctx).Execute()
package main
import (
"context"
"fmt"
"os"
lidarrClient "github.com/devopsarr/lidarr-go/lidarr"
)
func main() {
configuration := lidarrClient.NewConfiguration()
apiClient := lidarrClient.NewAPIClient(configuration)
resp, r, err := apiClient.UpdateAPI.ListUpdate(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `UpdateAPI.ListUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListUpdate`: []UpdateResource
fmt.Fprintf(os.Stdout, "Response from `UpdateAPI.ListUpdate`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiListUpdateRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]