Likes
Users can Like (Create) and Unlike (Delete) news articles or bulletinboard items. User authentication is required for the CREATE and DELETE methods.
Retrieves a collection of Likes.
Like a news article or bulletinboard item for the current user.
Unlike a news article or bulletinboard item for the current user.
POST https://api.bundeling.com/V2/likes
Parameters
Body
Name | Description | Type | Nillable | Required |
---|
object_uuid | A unique identifier used to identify the object to like | string | false | true |
object_type | Type of the object Accepted values: news_item, bulletin_board_items | string | false | false |
Example request
Headers
Body
{
"object_uuid": "e47983ba27a04010a363a8756e9849d4",
"object_type": "news_item"
}
Example response
{
"uuid": "e47983ba27a04010a363a8756e9849d4",
"author_uuid": "e47983ba27a04010a363a8756e9849d4",
"object_uuid": "e47983ba27a04010a363a8756e9849d4",
"object_type": "news_item",
"creationdate": "2024-01-20T00:00:00+0100",
"lastupdate": "2024-01-20T00:00:00+0100"
}