summaryrefslogtreecommitdiff
path: root/doc/api/notes.md
diff options
context:
space:
mode:
authorTed Hogan <ted.hogan17@gmail.com>2015-12-29 11:25:46 -0700
committerTed Hogan <ted.hogan17@gmail.com>2015-12-29 11:25:46 -0700
commit9fc6df512b53ff0e589bc6be7932da8ecfec4033 (patch)
tree6d356b79b323c2efb7c4d2c92aff2cdfd7c17358 /doc/api/notes.md
parent6e6a99061dbec4bb45a398a03e8a13a084e44035 (diff)
parenteeba266e3d45f2e82f84bd3aab85195c890efb89 (diff)
downloadgitlab-ce-9fc6df512b53ff0e589bc6be7932da8ecfec4033.tar.gz
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into wipMergeSpacing
Diffstat (limited to 'doc/api/notes.md')
-rw-r--r--doc/api/notes.md18
1 files changed, 13 insertions, 5 deletions
diff --git a/doc/api/notes.md b/doc/api/notes.md
index e7f299c0994..d4d63e825ab 100644
--- a/doc/api/notes.md
+++ b/doc/api/notes.md
@@ -6,8 +6,7 @@ Notes are comments on snippets, issues or merge requests.
### List project issue notes
-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`.
+Gets a list of all notes for a single issue.
```
GET /projects/:id/issues/:issue_id/notes
@@ -35,7 +34,9 @@ Parameters:
"created_at": "2013-10-02T09:22:45Z",
"system": true,
"upvote": false,
- "downvote": false
+ "downvote": false,
+ "noteable_id": 377,
+ "noteable_type": "Issue"
},
{
"id": 305,
@@ -52,7 +53,9 @@ Parameters:
"created_at": "2013-10-02T09:56:03Z",
"system": true,
"upvote": false,
- "downvote": false
+ "downvote": false,
+ "noteable_id": 121,
+ "noteable_type": "Issue"
}
]
```
@@ -219,7 +222,12 @@ Parameters:
"state": "active",
"created_at": "2013-09-30T13:46:01Z"
},
- "created_at": "2013-10-02T08:57:14Z"
+ "created_at": "2013-10-02T08:57:14Z",
+ "system": false,
+ "upvote": false,
+ "downvote": false,
+ "noteable_id": 2,
+ "noteable_type": "MergeRequest"
}
```