api: expose note_events and enable_ssl_verification for hooks
This commit is contained in:
parent
c4ca1ad4c3
commit
22db4398c6
|
@ -515,6 +515,8 @@ Parameters:
|
|||
"push_events": "true",
|
||||
"issues_events": "true",
|
||||
"merge_requests_events": "true",
|
||||
"note_events": "true",
|
||||
"enable_ssl_verification": "true",
|
||||
"created_at": "2012-10-12T17:04:47Z"
|
||||
}
|
||||
```
|
||||
|
|
|
@ -45,7 +45,7 @@ module API
|
|||
|
||||
class ProjectHook < Hook
|
||||
expose :project_id, :push_events
|
||||
expose :issues_events, :merge_requests_events, :tag_push_events
|
||||
expose :issues_events, :merge_requests_events, :tag_push_events, :note_events, :enable_ssl_verification
|
||||
end
|
||||
|
||||
class ForkedFromProject < Grape::Entity
|
||||
|
|
Loading…
Reference in New Issue