API: list wall, snippet and issue notes

This commit is contained in:
Nihad Abbasov 2012-11-27 11:43:39 -08:00
parent aaa1c94239
commit 01eab583d0
4 changed files with 94 additions and 1 deletions

View file

@ -70,8 +70,10 @@ module Gitlab
end
class Note < Grape::Entity
expose :id
expose :note, as: :body
expose :author, using: Entities::UserBasic
expose :note
expose :updated_at, :created_at
end
end
end