82. Query: Restore Subscription Events
There is always a good practice to have the possibility to restore/recheck the delivered vs produced subscription events. Therefore GeoPard stores the history of all produced subscription events for the last 12 months.
The common cases:
Bad internet connection and events were not delivered
Redeployment of the WebSocket listener
Check the consistency received vs produced events
getPlatformEvents(input: {
dateFrom: "2023-05-25T12:49:00.000Z",
dateTo: "2023-05-30T06:35:00.000Z",
userUuids: ["<placeholder_of_user_uuid>"]
}){
events {
executionDate
event {
uuid
userUuid
action
nodePath {
entity
uuid
}
}
}
}
}Supported input filters:
dateFromas datetime in ISO 8701 format (ex:"2023-05-25T12:49:00.000Z")dateToas datetime in ISO 8701 format (ex:"2023-05-30T06:35:00.000Z")farmUuidsas array of "Farm" UUIDs to searchfieldUuidsas array of "Field" UUIDs to searchuserUuidsas array of "User" UUIDs to searcheventUuidsas array of subscription "Event" UUIDs
Last updated
Was this helpful?