blob: bffb057abede8cc1397e91bcb306089169e916cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# frozen_string_literal: true
module API
module Entities
class ProjectHook < Hook
expose :project_id, documentation: { type: 'string', example: 1 }
expose :issues_events, documentation: { type: 'boolean' }
expose :confidential_issues_events, documentation: { type: 'boolean' }
expose :note_events, documentation: { type: 'boolean' }
expose :confidential_note_events, documentation: { type: 'boolean' }
expose :pipeline_events, documentation: { type: 'boolean' }
expose :wiki_page_events, documentation: { type: 'boolean' }
expose :deployment_events, documentation: { type: 'boolean' }
expose :job_events, documentation: { type: 'boolean' }
expose :releases_events, documentation: { type: 'boolean' }
expose :push_events_branch_filter, documentation: { type: 'string', example: 'my-branch-*' }
end
end
end
|