Errors

Code Description
401 Unauthorized
500 Internal Server Error
422 Missing parameters

Examples

POST /api/v2/assets/9I2vT3wBW4fR4Me2UHxI/comments
{
  "comment": "Sample comment"
}
200
{
  "comment": {
    "id": 3,
    "user_id": 259,
    "asset_id": "9I2vT3wBW4fR4Me2UHxI",
    "event_type": "commented asset",
    "message": "Sample comment",
    "created_at": "2021-10-05T09:01:03.715Z",
    "updated_at": "2021-10-05T09:01:03.715Z",
    "email": null
  }
}

Params

Param name Description
asset_id
required

Asset ID

Validations:

  • Must be a String

comment
required

Comment

Validations:

  • Must be a String

Headers

Header name Description
Content-Type
required
application/json
X-API-KEY
required
YOUR_API_KEY