-
Sub-task
-
Resolution: Done
-
L3 - Default
-
None
-
Not defined
To display deletable events in the UI, we need to add an API for fetching external events that have been deleted.
GET api/event PARAMS:{ limit: 20, offset: 0, sortBy: 'timeStamp' // default timeStamp sortOrder: 'desc' // default desc searchTerm: '' // traceId, eventType, source, group} RESULT:{ pagination: { offset: 0, limit: 20, }, data: [{id, traceId, eventType, group, source}, ...]}
ATs:
- The event list is paginated
- By default, the result list is sorted by descending timestamp, so the newest event is listed at the top
- The above sort is also the secondary sort when the primary sort does not resolve event ordering
- A search term can be supplied, which is applied to all the following fields: eventName/traceId/group/source
- Rest API Docs are updated
- This endpoint is only available to authorized EBP users/groups