API: list wall, snippet and issue notes
This commit is contained in:
parent
aaa1c94239
commit
01eab583d0
4 changed files with 94 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue