This API includes hypermedia links that appear on a page of event objects whenever the API's response includes other pages that you can navigate to.
The following example, from a listing of events, provides direct links to the next and previous pages of events relative to the current page. The next page is referenced by a type ID of the last event on the current page. Similarly, the previous page is referenced by a type ID of the first event on the current page. See test.
"links": [
{
"rel": "next",
"href": "/event-viewer-api/v1/events?beforeEventId=038a9f69-121f-4248-acd2-74103012c680"
},
{
"rel": "prev",
"href": "/event-viewer-api/v1/events?afterEventId=68bb2c73-bf1b-4cb0-ae56-b4fcd7210317"
},
{
"rel": "self",
"href": "/event-viewer-api/v1/events"
}
]