v1

latestOpenAPI 3.0.02026-08-04265791.1 MB
Comments

Get

Get a comment for the given id.

get/public/api/comments/{id}

Path parameters

idstring required

The id of the comment

Headers

Acceptstring

e.g. application/json

Response

OK

comment_idstring
user_idstring
news_idstring
datestring
textstring
text_enstring
sentimentnumber
languagestring
_lmtstring
_ectstring
tenantstring
created_datestring
updated_datestring

Example response

{
  "comment_id": "5d31ecba11e695003a9b1dfc",
  "user_id": "5beee5197fc4d50043801bd1",
  "news_id": "5d31b71a1a76e9003afd621e",
  "date": "2019-07-19T16:15:54.554Z",
  "text": "La vie est belle!",
  "text_en": "Life is beautiful!",
  "sentiment": 0.9,
  "language": "fr",
  "_lmt": "2019-07-19T16:15:54.610Z",
  "_ect": "2019-07-19T16:15:54.610Z",
  "tenant": "tenant name",
  "created_date": "2019-07-19T16:15:54.610Z",
  "updated_date": "2019-07-19T16:15:54.610Z"
}