List Events
List Events
client.SystemLog.Exports.ListEvents(ctx, exportID, body) (*ListarrayNextPageTokenstringSystemLogExportListEventsResponse, error)
post/api/v1/systemlog/exports/{export_id}/events
Invokes the c1.api.systemlog.v1.ExportService.ListEvents method.
Parameters
exportIDstring
The exportId field.
bodyPageSizefieldPageTokenfieldSystemLogExportListEventsParams
Returns
SystemLogExportListEventsResponsestruct
The ExportServiceListEventsResponse message.
Request example Go
package main
import (
"context"
"fmt"
"github.com/stainless-sdks/-go"
"github.com/stainless-sdks/-go/option"
)
func main() {
client := conductoronesdk.NewClient(
option.WithAPIKey("My API Key"),
)
response, err := client.SystemLog.Exports.ListEvents(
context.TODO(),
"export_id",
conductoronesdk.SystemLogExportListEventsParams{
},
)
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", response.List)
}
200 Example
{
"list": [
{
"foo": "bar"
}
],
"nextPageToken": "nextPageToken"
}