diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-06-13 15:19:14 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-06-13 15:19:14 +0300 |
commit | 15c27192c0fa4e33188c3f6663362faca02df8af (patch) | |
tree | 2cbac2abf10cb88afdf03319c58f65ebd88c6cfd /doc/api/notes.md | |
parent | d3d0775acde8dbbb887665c3c52009d76e906d10 (diff) | |
parent | d593c98fcbd34789068a72c9386f69a152107139 (diff) | |
download | gitlab-ce-15c27192c0fa4e33188c3f6663362faca02df8af.tar.gz |
Merge branch 'remove-wall'
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Conflicts:
CHANGELOG
Diffstat (limited to 'doc/api/notes.md')
-rw-r--r-- | doc/api/notes.md | 63 |
1 files changed, 1 insertions, 62 deletions
diff --git a/doc/api/notes.md b/doc/api/notes.md index 6d140643fcb..e7f19965a30 100644 --- a/doc/api/notes.md +++ b/doc/api/notes.md @@ -1,67 +1,6 @@ # Notes -Notes can be wall notes or comments on snippets, issues or merge requests. - -## Wall - -### List project wall notes - -Get a list of project wall notes. - -``` -GET /projects/:id/notes -``` - -Parameters: - -+ `id` (required) - The ID of a project - -```json -[ - { - "id": 522, - "body": "The solution is rather tricky", - "attachment": null, - "author": { - "id": 1, - "username": "john_smith", - "email": "john@example.com", - "name": "John Smith", - "state": "active", - "created_at": "2012-05-23T08:00:58Z" - }, - "created_at": "2012-11-27T19:16:44Z" - } -] -``` - -### Get single wall note - -Returns a single wall note. - -``` -GET /projects/:id/notes/:note_id -``` - -Parameters: - -+ `id` (required) - The ID of a project -+ `note_id` (required) - The ID of a wall note - - -### Create new wall note - -Creates a new wall note. - -``` -POST /projects/:id/notes -``` - -Parameters: - -+ `id` (required) - The ID of a project -+ `body` (required) - The content of a note - +Notes are comments on snippets, issues or merge requests. ## Issues |