Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
// Successful request GET /api/v2/projects/yA04HDYuui-MVY9iynvA/comments/19 200 { "comment": { "id": 19, "message": "Sample comment for tests", "updated_at": "2023-11-27T09:43:14.191Z", "user": { "id": 192, "email": "admin-user-169@example.com", "first_name": null, "last_name": null, "avatar_url": null }, "mentioned_users": [] } }
// If :project_id is not found GET /api/v2/projects/not-found-id/comments/20 404 { "error": "project not found" }
// If :comment_id is not found GET /api/v2/projects/njlIZYr_I_muI7iAbmru/comments/not-found-id 404 { "error": "Couldn't find Comment with 'id'=not-found-id [WHERE \"comments\".\"target_id\" = $1 AND \"comments\".\"target_type\" = $2]" }
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |