diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2015-11-21 21:36:31 +0100 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2015-11-21 21:36:31 +0100 |
commit | 26b12e2c374c8f07abda06a8b19bd116448325f4 (patch) | |
tree | 123d044cbb8c7a3f2bebdddcc859f79eada5c6e8 /doc/api/notes.md | |
parent | 319808fc7be2886224541209eeae153d85386bd0 (diff) | |
download | gitlab-ce-26b12e2c374c8f07abda06a8b19bd116448325f4.tar.gz |
Add upvote/downvote fields to merge request and note API to preserve compatibilityfix-award-emoji-api
Diffstat (limited to 'doc/api/notes.md')
-rw-r--r-- | doc/api/notes.md | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/api/notes.md b/doc/api/notes.md index bcba1f62151..e7f299c0994 100644 --- a/doc/api/notes.md +++ b/doc/api/notes.md @@ -6,7 +6,8 @@ Notes are comments on snippets, issues or merge requests. ### List project issue notes -Gets a list of all notes for a single issue. +Gets a list of all notes for a single issue. With GitLab 8.2 the return fields +`upvote` and `downvote` are deprecated and always return `false`. ``` GET /projects/:id/issues/:issue_id/notes @@ -32,7 +33,9 @@ Parameters: "created_at": "2013-09-30T13:46:01Z" }, "created_at": "2013-10-02T09:22:45Z", - "system": true + "system": true, + "upvote": false, + "downvote": false }, { "id": 305, @@ -47,7 +50,9 @@ Parameters: "created_at": "2013-09-30T13:46:01Z" }, "created_at": "2013-10-02T09:56:03Z", - "system": false + "system": true, + "upvote": false, + "downvote": false } ] ``` |