v1

latestOpenAPI 3.0.02026-08-062903562.2 MB
Like

createFeedItemLike

Create a Like for the specified Feed Item

post/feed-items/{feed_item}/likes

Path parameters

feed_iteminteger required
Example:876

Primary identifier of specified Feed Item

Request body

member_idinteger

Primary identifier of associated Member

likeable_idinteger nullable

Primary identifier of the Entity for which the Like was created

likeable_typestring nullable

Type of the Entity for which the Like was created

Example request

{
  "member_id": 2012,
  "likeable_id": 876,
  "likeable_type": "feed_item"
}

Response

Success

idinteger

Primary identifier of record

member_idinteger

Primary identifier of associated Member

liker_namestring

The full name of the Member who made the Like

likeable_idinteger nullable

Primary identifier of the Entity for which the Like was created

likeable_typestring nullable

Type of the Entity for which the Like was created

created_atstring date-time

Date/time of initial record creation

updated_atstring date-time

Date/time of last record update

Example response

{
  "id": 3397,
  "member_id": 2012,
  "liker_name": "John Doe",
  "likeable_id": 876,
  "likeable_type": "feed_item",
  "created_at": "2021-04-23T08:23:21Z",
  "updated_at": "2021-04-23T10:25:03Z"
}