-
-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ResouceDiscussions.addNote is wrong #342
Milestone
Comments
Ill fix this in the next day! Sorry about that :s |
jdalrymple
added a commit
that referenced
this issue
Jun 10, 2019
jdalrymple
added a commit
that referenced
this issue
Jun 10, 2019
🎉 This issue has been resolved in version 6.3.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@jdalrymple thanks! 🎉 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
By inspecting the Gitlab API page Discussions | Add note to existing issue discussion, I can see that the method ResourceDiscussions.addNote isn't right. It is calling a
PUT
, while the endpoint expects aPOST
.Also, the Documentation isn't very clear, but I think you can call it in the following two ways:
POST /projects/:id/issues/:issue_iid/discussions/:discussion_id/notes
to append a new note into a discussion;POST /projects/:id/issues/:issue_iid/discussions/:note_id/notes
to "transform" a note into a discussion, whilst appending a new note into it.The text was updated successfully, but these errors were encountered: