List event log items
Returns a paginated list of event log items, ordered by oldest first.
Event log items older than 14 days are not returned.
- Text
- PHP
- C#
- Java
- Python
- Ruby
- Javascript
- Go
GET https://api-{region}.seatsio.net/event-log
More info: https://docs.seats.io/docs/api-pagination
$client->eventLog->listFirstPage(pageSize?)
$client->eventLog->listPageAfter(afterId, pageSize?)
$client->eventLog->listPageBefore(beforeId, pageSize?)
$client->eventLog->listAll();
/*
Some examples (for charts, but listing event log items works similarly):
https://github.com/seatsio/seatsio-php/blob/master/README.md#listing-charts-page-by-page
https://github.com/seatsio/seatsio-php/blob/master/README.md#listing-all-charts
*/
await client.EventLog.ListFirstPageAsync(pageSize?)
await client.EventLog.ListPageAfterAsync(afterId, pageSize?)
await client.EventLog.ListPageBeforeAsync(beforeId, pageSize?)
client.EventLog.ListAllAsync()
/*
Some examples (for charts, but listing event log items works similarly):
https://github.com/seatsio/seatsio-dotnet/blob/master/README.md#listing-charts-page-by-page
https://github.com/seatsio/seatsio-dotnet/blob/master/README.md#listing-all-charts
*/
client.eventLog.listFirstPage(pageSize?)
client.eventLog.listPageAfter(afterId, pageSize?)
client.eventLog.listPageBefore(beforeId, pageSize?)
client.eventLog.listAll()
/*
Some examples (for charts, but listing event log items works similarly):
https://github.com/seatsio/seatsio-java/blob/master/README.md#listing-charts-page-by-page
https://github.com/seatsio/seatsio-java/blob/master/README.md#listing-all-charts
*/
client.event_log.list_first_page(page_size?)
client.event_log.list_page_after(after_id, page_size?)
client.event_log.list_page_before(before_id, page_size?)
client.event_log.list()
"""
Some examples (for charts, but listing event log items works similarly):
https://github.com/seatsio/seatsio-python/blob/master/README.md#listing-charts-page-by-page
https://github.com/seatsio/seatsio-python/blob/master/README.md#listing-all-charts
"""
client.event_log.list().first_page(page_size?)
client.event_log.list().page_after(after_id, page_size?)
client.event_log.list().page_before(before_id, page_size?)
client.event_log.list()
# Some examples (for charts, but listing event log items works similarly):
# https://github.com/seatsio/seatsio-ruby/blob/master/README.md#listing-charts-page-by-page
# https://github.com/seatsio/seatsio-ruby/blob/master/README.md#listing-all-charts
client.eventLog.listFirstPage(pageSize?)
client.eventLog.listPageAfter(afterId, pageSize?)
client.eventLog.listPageBefore(beforeId, pageSize?)
client.eventLog.listAll()
/*
Some examples (for charts, but listing event log items works similarly):
https://github.com/seatsio/seatsio-js/blob/master/README.md#listing-charts-page-by-page
https://github.com/seatsio/seatsio-js/blob/master/README.md#listing-all-charts
*/
page, err := client.EventLog.ListFirstPage(<optional pagination params>)
page, err := client.EventLog.ListPageAfter(afterId, <optional pagination params>)
page, err := client.EventLog.ListPageBefore(beforeId, <optional pagination params>)
EventLogItems, err := client.EventLog.ListAll(<optional pagination params>)
/*
Some examples (for charts, but listing event log items works similarly):
https://github.com/seatsio/seatsio-go/blob/master/README.md#listing-charts-page-by-page
https://github.com/seatsio/seatsio-go/blob/master/README.md#listing-all-charts
*/
curl https://api-{region}.seatsio.net/event-log?limit=100&start_after_id=34 \
-u anAdminKey:
The response will be a paginated JSON object that contains event log items for the authenticated company:
{
"next_page_starts_after": 180,
"items": [
{
"id": 169,
"type": "chart.created",
"workspaceKey": "<workspace key>",
"date": "2023-05-05T10:58:44.715Z",
"data": {
"key": "<chart key>"
}
},
{
"id": 170,
"type": "chart.published",
"workspaceKey": "<workspace key>",
"date": "2023-05-05T11:58:44.715Z",
"data": {
"key": "<chart key>"
}
}
...
]
}