Events
Like an event
Changed onLike an event as the current user. Atomically increments the event's likes counter.
post/events/{eventId}/like
Request
- Base URLhttps://api.session.services
- AuthAPI 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 thepathrequest parametereventId - info
the
like/eventIdresponse's property pattern^evt_[0-9a-z]{26}$was added for the status - info
the
like/userIdresponse's property pattern^usr_[0-9a-z]{26}$was added for the status
- breaking