Skip to main content

Source: https://docs.luxid.lu/en/api/get-events/

API version: 1.9

OpenAPI specification: https://docs.luxid.lu/luxid-partner-api.yaml

Search for events

GET 

/events/search

Search for user events that occured between the provided 'from' and 'to' timestamps. Format must be ISO-8601: '2018-08-17T07:00:00'. Viewed events depend on the caller of this endpoint.

Request​

Parameters​

NameInTypeRequiredDescription
fromquerystring (date-time)YesThe 'from' timestamp (included).
toquerystring (date-time)YesThe 'to' timestamp (excluded).
pagequeryinteger (int32)NoPage number to retrieve, zero-based. Default to 0 if not provided.
pageSizequeryinteger (int32)NoMax number of events to retrieve at once, must be > 0. Default to 10 if not provided.

Responses​

Success

Response schemas​

200 - Success​

Content type: application/json

PropertyTypeRequiredDescription
pagenumber (integer)YesThe number of this page (> 0).
pageSizenumber (integer)YesThe max number of items per page (> 0).
totalnumber (integer)YesThe total number of items, on all pages (>= 0).
itemsarray of objectNo
items[].idstringYesUnique id of this event.
items[].timestampstring (date-time)YesTimestamp at which this event was generated.
items[].typestringYesType of the event. The type defines the content of the payload.
items[].versionstringNoVersion of the event. The content of the payload may vary from a version to another.
items[].spherestringNoThe sphere in which the event occurred, if applicable.
items[].subscriberstringNoThe subscriber concerned by the event, if applicable.
items[].applicationstringNoThe application concerned by the event, if applicable.
items[].subscriptionstringNoThe subscription concerned by the event, if applicable.
items[].payloadobjectNoThe payload specific to this event type, if applicable.

400 - Functional error​

Content type: application/json

PropertyTypeRequiredDescription
messagestringNo
typestringNo

403 - Forbidden​

Content type: application/json

PropertyTypeRequiredDescription
messagestringNo
typestringNo

404 - Not found​

Content type: application/json

PropertyTypeRequiredDescription
messagestringNo
typestringNo