All URIs are relative to https://api.qovery.com
Method | HTTP request | Description |
---|---|---|
ListApplicationLog | Get /application/{applicationId}/log | List logs |
LogResponseList ListApplicationLog(ctx, applicationId).Execute()
List logs
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
applicationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Application ID
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ApplicationLogsAPI.ListApplicationLog(context.Background(), applicationId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationLogsAPI.ListApplicationLog``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListApplicationLog`: LogResponseList
fmt.Fprintf(os.Stdout, "Response from `ApplicationLogsAPI.ListApplicationLog`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
applicationId | string | Application ID |
Other parameters are passed through a pointer to a apiListApplicationLogRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]