Skip to content

The comment object

Onur Akpolat edited this page Nov 4, 2016 · 2 revisions

This describes comments on certain objects.

Comments can be used when a user wants to communicate a certain message on a post or another object.

Attribute Type Description
id string The id of the comment
post_id string The id of the post the comment was made on
external_id string The id of the external object the comment was made on
user_id string The id of the user who wrote the comment
contents object Localised contents. The keys should be BCP 47 tags.
private object Private fields that can be written with a backend token.
created_at string Date the resources was created
updated_at string Date the resources was update

Contents

{
    "contents": {
        "en-US": "english text",
        "de-DE": "german text"
    }
}

Private

You can send private keys with a backend token only.

{
    "private": {
        "visible": true
    }
}
Clone this wiki locally