-
Notifications
You must be signed in to change notification settings - Fork 24
/
swagger.yaml
121 lines (115 loc) · 4.63 KB
/
swagger.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
swagger: "2.0"
################################################################################
# API Information #
################################################################################
info:
title: Opsgenie REST API
description: Opsgenie OpenAPI Specification
version: "2.0.0"
# the domain of the service
host: api.opsgenie.com
# array of all schemes that your API supports
schemes:
- https
# format of the responses to the client (Accepts)
produces:
- application/json
################################################################################
# Security #
################################################################################
securityDefinitions:
GenieKey:
type: apiKey
name: Authorization
in: header
security:
- GenieKey: []
################################################################################
# PATHS #
################################################################################
paths:
- $ref: ./paths/alert.yaml
- $ref: ./paths/integration.yaml
- $ref: ./paths/integrationAction.yaml
- $ref: ./paths/heartbeat.yaml
- $ref: ./paths/deprecatedPolicy.yaml
- $ref: ./paths/maintenance.yaml
- $ref: ./paths/account.yaml
- $ref: ./paths/user.yaml
- $ref: ./paths/contact.yaml
- $ref: ./paths/notificationRule.yaml
- $ref: ./paths/notificationRuleStep.yaml
- $ref: ./paths/team.yaml
- $ref: ./paths/teamMember.yaml
- $ref: ./paths/teamRole.yaml
- $ref: ./paths/teamRoutingRule.yaml
- $ref: ./paths/schedule.yaml
- $ref: ./paths/scheduleRotation.yaml
- $ref: ./paths/scheduleOverride.yaml
- $ref: ./paths/whoIsOnCall.yaml
- $ref: ./paths/escalation.yaml
- $ref: ./paths/forwardingRule.yaml
- $ref: ./paths/customUserRole.yaml
- $ref: ./paths/policy.yaml
- $ref: ./paths/incident.yaml
################################################################################
# PARAMETERS #
################################################################################
parameters:
- $ref: ./parameters/common.yaml
- $ref: ./parameters/alert.yaml
- $ref: ./parameters/integration.yaml
- $ref: ./parameters/heartbeat.yaml
- $ref: ./parameters/policy.yaml
- $ref: ./parameters/maintenance.yaml
- $ref: ./parameters/user.yaml
- $ref: ./parameters/contact.yaml
- $ref: ./parameters/notificationRule.yaml
- $ref: ./parameters/notificationRuleStep.yaml
- $ref: ./parameters/team.yaml
- $ref: ./parameters/teamMember.yaml
- $ref: ./parameters/teamRole.yaml
- $ref: ./parameters/teamRoutingRule.yaml
- $ref: ./parameters/schedule.yaml
- $ref: ./parameters/scheduleRotation.yaml
- $ref: ./parameters/scheduleOverride.yaml
- $ref: ./parameters/whoIsOnCall.yaml
- $ref: ./parameters/escalation.yaml
- $ref: ./parameters/forwardingRule.yaml
- $ref: ./parameters/customUserRole.yaml
- $ref: ./definitions/deprecatedPolicy.yaml
- $ref: ./parameters/incident.yaml
################################################################################
# RESPONSES #
################################################################################
responses:
- $ref: ./responses/common.yaml
################################################################################
# DEFINITIONS #
################################################################################
definitions:
- $ref: ./definitions/common.yaml
- $ref: ./definitions/alert.yaml
- $ref: ./definitions/integration.yaml
- $ref: ./definitions/integrationAction.yaml
- $ref: ./definitions/heartbeat.yaml
- $ref: ./definitions/deprecatedPolicy.yaml
- $ref: ./definitions/maintenance.yaml
- $ref: ./definitions/account.yaml
- $ref: ./definitions/user.yaml
- $ref: ./definitions/contact.yaml
- $ref: ./definitions/notificationRule.yaml
- $ref: ./definitions/notificationRuleStep.yaml
- $ref: ./definitions/team.yaml
- $ref: ./definitions/teamMember.yaml
- $ref: ./definitions/teamRole.yaml
- $ref: ./definitions/teamRoutingRule.yaml
- $ref: ./definitions/schedule.yaml
- $ref: ./definitions/scheduleRotation.yaml
- $ref: ./definitions/scheduleOverride.yaml
- $ref: ./definitions/whoIsOnCall.yaml
- $ref: ./definitions/escalation.yaml
- $ref: ./definitions/forwardingRule.yaml
- $ref: ./definitions/customUserRole.yaml
- $ref: ./definitions/policy.yaml
- $ref: ./definitions/incident.yaml