Mission Comments

Get a comment for the given id.

get/public/api/mission-comments/{id}

Request

  • Base URL
    https://<base_url>
  • Auth
    HTTP bearer

Path parameters

idstring required

The id of the comment

Headers

Acceptstring

e.g. application/json

Response

OK

comment_idstring
user_idstring
mission_idstring
comment_datestring
created_datestring
updated_datestring
textstring
photo_urlstring
attachment_urlsstring[]

Example response

{
  "comment_id": "5d31ecba11e695003a9b1dfc",
  "user_id": "5beee5197fc4d50043801bd1",
  "mission_id": "5d31b71a1a76e9003afd621e",
  "comment_date": "2023-07-19T16:15:54.554Z",
  "created_date": "2023-07-19T16:15:54.554Z",
  "updated_date": "2023-07-19T16:15:54.554Z",
  "text": "Life is beautiful!",
  "photo_url": "https://example.com/before.jpg",
  "attachment_urls": [
    "https://example.com/before.jpg",
    "https://example.com/repair-report.pdf"
  ]
}

Changes