All URIs are relative to http://localhost:9696
Method | HTTP request | Description |
---|---|---|
GetLogFileUpdateByFilename | Get /api/v1/log/file/update/{filename} | |
ListLogFileUpdate | Get /api/v1/log/file/update |
map[string]interface{} GetLogFileUpdateByFilename(ctx, filename).Execute()
package main
import (
"context"
"fmt"
"os"
prowlarrClient "github.com/devopsarr/prowlarr-go/prowlarr"
)
func main() {
filename := "filename_example" // string |
configuration := prowlarrClient.NewConfiguration()
apiClient := prowlarrClient.NewAPIClient(configuration)
resp, r, err := apiClient.UpdateLogFileAPI.GetLogFileUpdateByFilename(context.Background(), filename).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `UpdateLogFileAPI.GetLogFileUpdateByFilename``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetLogFileUpdateByFilename`: map[string]interface{}
fmt.Fprintf(os.Stdout, "Response from `UpdateLogFileAPI.GetLogFileUpdateByFilename`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
filename | string |
Other parameters are passed through a pointer to a apiGetLogFileUpdateByFilenameRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
map[string]interface{}
- Content-Type: Not defined
- Accept: text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]LogFileResource ListLogFileUpdate(ctx).Execute()
package main
import (
"context"
"fmt"
"os"
prowlarrClient "github.com/devopsarr/prowlarr-go/prowlarr"
)
func main() {
configuration := prowlarrClient.NewConfiguration()
apiClient := prowlarrClient.NewAPIClient(configuration)
resp, r, err := apiClient.UpdateLogFileAPI.ListLogFileUpdate(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `UpdateLogFileAPI.ListLogFileUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListLogFileUpdate`: []LogFileResource
fmt.Fprintf(os.Stdout, "Response from `UpdateLogFileAPI.ListLogFileUpdate`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiListLogFileUpdateRequest 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]