Headers

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

Examples

// Successful request
GET /api/v2/assets/F-Ihco1txSEhkiRsU4H0/comments
200
{
  "comments": [
    {
      "id": 1,
      "message": "Sample comment for tests",
      "updated_at": "2023-11-27T09:42:40.792Z",
      "user": {
        "id": 37,
        "email": "admin-user-21@example.com",
        "first_name": null,
        "last_name": null,
        "avatar_url": null
      },
      "mentioned_users": []
    }
  ]
}
// If :asset_id is not found
GET /api/v2/assets/not-found-id/comments
404
{
  "error": "asset not found"
}

Errors

Code Description
401 Unauthorized
404 Not found
500 Internal Server Error
422 Missing parameters