Comments
Comments allow your users to give feedback to news articles or bulletinboard items. Users can leave comments on news articles or bulletinboard items. They can also edit their own comments. User authentication is required for the CREATE and UPDATE methods.
Retrieve a single comment.
Place a comment with the currently logged in user.
Edit a comment placed by the currently logged in user.
Deletes a single comment.
POST https://api.bundeling.com/V2/commentsParameters Body Name Description Type Nillable Required object_uuid
A unique identifier used to identify the object to place the comment on string
false
true
comment
The message you wish to comment on the object. string
false
true
object_type
Type of the objectAccepted values: news_item, bulletin_board_items
string
false
false
parent_uuid
the uuid of the comment this is a reply to string
false
false
external_reference
Reference for linking to external systems. string
false
false
Example request Raw cURL JavaScript PHP Python Go Choose language
Headers Body {
"object_uuid": "oftihj5oij23okhjoioftj5os3",
"comment": "This is a comment.",
"object_type": "news_item",
"parent_uuid": "oftihj5oij23okhjoioftj5os3",
"external_reference": "123908"
} Example response {
"uuid": "podj65hoij23r09thoji5",
"author_uuid": "eokgieu5hjgieu5ghjr4",
"comment": "This is a comment.",
"object_type": "news_item",
"external_reference": "123908",
"creationdate": "2024-01-20T00:00:00+0100",
"lastupdate": "2024-01-20T00:00:00+0100"
}