api: expose note_events and enable_ssl_verification for hooks

This commit is contained in:
Ben Boeckel 2015-09-24 12:33:11 -04:00
parent c4ca1ad4c3
commit 22db4398c6
2 changed files with 3 additions and 1 deletions

View File

@ -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"
}
```

View File

@ -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