Events

List liked events

Changed on

List all events the current user has liked, with cursor-based pagination.

get/events/likes

Request

  • Base URL
    https://api.session.services
  • Auth
    API key in header x-tenant-id

Query parameters

limit, integer

Maximum number of likes to return per request (1-100, default: 20)

Example:20
cursor, string

Pagination cursor from previous response. Used to fetch next page of results

Response

OK

object required

Paginated list of event likes. Use cursor-based pagination to navigate through results.

likes, object[] required

Array of likes for the current result set

before, string nullable

Cursor for navigating backward in the result set. Omitted when there are no prior results.

after, string nullable

Cursor for navigating forward in the result set. Omitted when there are no subsequent results.

limit, number required

Maximum number of items to return in each result set

Example response

{
  "before": "eyJ2ZXJzaW9uIjoxLCJpbnRlbnQiOnsic291cmNlIjoiZGVtbyJ9LCJwb3MiOnsicHJpbWFyeUtleSI6InBybV8wMXM4NTNqIn19",
  "after": "eyJ2ZXJzaW9uIjoxLCJpbnRlbnQiOnsic291cmNlIjoiZGVtbyJ9LCJwb3MiOnsicHJpbWFyeUtleSI6InBybV8wMXM4NTNkIn19",
  "limit": 20
}

Changes

    • breaking

      for the query request parameter limit, the type changed from number to integer

    • warning

      for the query request parameter limit, the max was set to 100.00

    • warning

      for the query request parameter limit, the min was set to 1.00

    2 more changes in this revision