Commit 76690017 authored by Z.J. van de Weg's avatar Z.J. van de Weg Committed by Z.J. van de Weg

Expose more data on the SystemHooks API

 Now exposed:
 - push_events
 - tag_push_events
 - enable_ssl_verification
 - token

 Fixes gitlab-org/gitlab-ce#23307
parent b216d9bf
......@@ -43,14 +43,13 @@ module API
end
class Hook < Grape::Entity
expose :id, :url, :created_at
expose :id, :url, :created_at, :push_events, :tag_push_events
expose :enable_ssl_verification, :token
end
class ProjectHook < Hook
expose :project_id, :push_events
expose :issues_events, :merge_requests_events, :tag_push_events
expose :project_id, :issues_events, :merge_requests_events
expose :note_events, :build_events, :pipeline_events, :wiki_page_events
expose :enable_ssl_verification
end
class BasicProjectDetails < Grape::Entity
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment