Api Documentation

Likes

Users can Like (Create) and Unlike (Delete) news articles or bulletinboard items. User authentication is required for the CREATE and DELETE methods.
Like a news article or bulletinboard item for the current user.
Unlike a news article or bulletinboard item for the current user.
Json
XML
POST https://api.bundeling.com/V2/likes

Parameters

Body

NameDescriptionTypeNillableRequired
object_uuidA unique identifier used to identify the object to likestringfalsetrue
object_typeType of the object
Accepted values: news_item, bulletin_board_items
stringfalsefalse

Example request

Headers

Content-Type:application/json
Api-Key:RAegSX8yZfEbqSPM

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"
}