Make project users API more RESTful
This commit is contained in:
parent
2dc0519277
commit
909c8c345d
4 changed files with 111 additions and 8 deletions
|
@ -16,6 +16,11 @@ module Gitlab
|
|||
expose :issues_enabled, :merge_requests_enabled, :wall_enabled, :wiki_enabled, :created_at
|
||||
end
|
||||
|
||||
class UsersProject < Grape::Entity
|
||||
expose :user, using: Entities::UserBasic
|
||||
expose :project_access
|
||||
end
|
||||
|
||||
class RepoObject < Grape::Entity
|
||||
expose :name, :commit
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue