Events

Like an event as the current user. Atomically increments the event's likes counter.

post/events/{eventId}/like

Request

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

Path parameters

eventId, string required

Event to like

Response

OK

object required
like, object required

Represents a user's like on an event. Used for tracking popular events and building personalized recommendations.

Changes

    • breaking

      added the pattern ^evt_[0-9a-z]{26}$ to the path request parameter eventId

    • info

      the like/eventId response's property pattern ^evt_[0-9a-z]{26}$ was added for the status

    • info

      the like/userId response's property pattern ^usr_[0-9a-z]{26}$ was added for the status