All URIs are relative to http://localhost:8686
| Method | HTTP request | Description |
|---|---|---|
| ListQueueDetails | Get /api/v1/queue/details |
[]QueueResource ListQueueDetails(ctx).ArtistId(artistId).AlbumIds(albumIds).IncludeArtist(includeArtist).IncludeAlbum(includeAlbum).Execute()
package main
import (
"context"
"fmt"
"os"
lidarrClient "github.com/devopsarr/lidarr-go/lidarr"
)
func main() {
artistId := int32(56) // int32 | (optional)
albumIds := []int32{int32(123)} // []int32 | (optional)
includeArtist := true // bool | (optional) (default to false)
includeAlbum := true // bool | (optional) (default to true)
configuration := lidarrClient.NewConfiguration()
apiClient := lidarrClient.NewAPIClient(configuration)
resp, r, err := apiClient.QueueDetailsAPI.ListQueueDetails(context.Background()).ArtistId(artistId).AlbumIds(albumIds).IncludeArtist(includeArtist).IncludeAlbum(includeAlbum).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `QueueDetailsAPI.ListQueueDetails``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListQueueDetails`: []QueueResource
fmt.Fprintf(os.Stdout, "Response from `QueueDetailsAPI.ListQueueDetails`: %v\n", resp)
}Other parameters are passed through a pointer to a apiListQueueDetailsRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| artistId | int32 | ||
| albumIds | []int32 | ||
| includeArtist | bool | [default to false] | |
| includeAlbum | bool | [default to true] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]