Skip to main content

Pull events from server

Retrieve events from server since a specific timestamp with pagination

Request

Method: GET
Path: /sync/pull

Authentication: Not required

Parameters

NameTypeInRequiredDescription
sincestringqueryNoTimestamp to pull events since
configIdstringqueryNoApplication configuration ID

Responses

200 - Events retrieved successfully

Examples

cURL

curl -X GET \
-H "Content-Type: application/json" \
http://localhost:3000/sync/pull

JavaScript

const response = await fetch('http://localhost:3000/sync/pull', {
method: 'GET',
headers: {
'Content-Type': 'application/json',
},
});

const data = await response.json();
console.log(data);

This documentation is automatically generated from the OpenAPI specification.