`GET /projects/:id/merge_requests/:merge_request_iid/comments` and `POST /projects/:id/merge_requests/:merge_request_iid/comments` are not documented
Also, these endpoints now return Entities::MRNote
which is less complete than Entities::Note
(which GET /projects/:id/merge_requests/:merge_request_id/notes
returns, note the difference between merge_request_iid
and merge_request_id
there...):
Entities::MRNote
:
{
"note": "@grzesiek I managed to make the `container_image` routable already on my working copy among some other small changes. I can push them to this branch on my fork so you can grab the commits.",
"author": {
"name": "André Guedes",
"username": "andrebsguedes",
"id": 22278,
"state": "active",
"avatar_url": "https://gitlab.com/uploads/user/avatar/22278/avatar.png",
"web_url": "https://gitlab.com/andrebsguedes"
}
}
Entities::Note
:
{
"id": 25885931,
"body": "@grzesiek I managed to make the `container_image` routable already on my working copy among some other small changes. I can push them to this branch on my fork so you can grab the commits.",
"attachment": null,
"author": {
"name": "André Guedes",
"username": "andrebsguedes",
"id": 22278,
"state": "active",
"avatar_url": "https://gitlab.com/uploads/user/avatar/22278/avatar.png",
"web_url": "https://gitlab.com/andrebsguedes"
},
"created_at": "2017-03-21T13:30:35.307Z",
"updated_at": "2017-03-21T13:30:35.307Z",
"system": false,
"noteable_id": 2841517,
"noteable_type": "MergeRequest"
}
I'm wondering why we have these two endpoints... Shouldn't we only have /projects/:id/merge_requests/:merge_request_iid/comments
kind of endpoints returning Entities::Note
?