Notes API - Get comments of the current user
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Description
I've been checking out the GitLab Notes API and I've found that there's some methods that I feel is missing.
I would love to see methods for getting notes posted by the current user. For example, I can post notes with my current access token, but if I later want to update it, there's no easy way for me to find that note I made, since I only have a token on my side. I can fetch all notes of the specific issue or merge request, but that is first of all unnecessary data, and also I obviously only get the user name and user ID, which I don't really have (I only have my access token).
Ideas? Thoughts? Have I missed something?
Proposal
Add separate API methods for getting notes of issues, merge requests and snippets, posted by the current access token.
Use cases
See jenkinsci/gitlab-plugin#575
Documentation blurb
List notes
Get all notes the authenticated user has access to.
The pagination parameters
pageandper_pagecan be used to restrict the list of notes.GET /notes GET /notes?author_id=5 GET /notes?scope=created-by-meParameters:
Attribute Type Required Description order_bystring no Return notes ordered by created_atorupdated_atfields. Default iscreated_atsortstring no Return notes sorted in ascordescorder. Default isdesccreated_afterdatetime no Return notes created after the given time (inclusive) created_beforedatetime no Return notes created before the given time (inclusive) scopestring no Return notes for the given scope: created-by-meorall. Defaults tocreated-by-meauthor_idinteger no Returns notes created by the given user id.