scalingo 3.0.0.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +6 -0
- data/.rubocop.yml +16 -0
- data/.travis.yml +24 -0
- data/CHANGELOG.md +29 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +110 -0
- data/LICENSE.txt +22 -0
- data/README.md +147 -0
- data/Rakefile +6 -0
- data/bin/console +12 -0
- data/bin/setup +8 -0
- data/lib/scalingo.rb +2 -0
- data/lib/scalingo/api/client.rb +79 -0
- data/lib/scalingo/api/endpoint.rb +23 -0
- data/lib/scalingo/api/response.rb +71 -0
- data/lib/scalingo/auth.rb +21 -0
- data/lib/scalingo/auth/keys.rb +56 -0
- data/lib/scalingo/auth/scm_integrations.rb +57 -0
- data/lib/scalingo/auth/tokens.rb +78 -0
- data/lib/scalingo/auth/two_factor_auth.rb +61 -0
- data/lib/scalingo/auth/user.rb +31 -0
- data/lib/scalingo/bearer_token.rb +20 -0
- data/lib/scalingo/client.rb +105 -0
- data/lib/scalingo/config.rb +38 -0
- data/lib/scalingo/error/expired_token.rb +6 -0
- data/lib/scalingo/error/unauthenticated.rb +6 -0
- data/lib/scalingo/errors.rb +2 -0
- data/lib/scalingo/regional.rb +35 -0
- data/lib/scalingo/regional/addons.rb +109 -0
- data/lib/scalingo/regional/apps.rb +109 -0
- data/lib/scalingo/regional/collaborators.rb +57 -0
- data/lib/scalingo/regional/containers.rb +57 -0
- data/lib/scalingo/regional/deployments.rb +44 -0
- data/lib/scalingo/regional/domains.rb +70 -0
- data/lib/scalingo/regional/environment.rb +83 -0
- data/lib/scalingo/regional/events.rb +55 -0
- data/lib/scalingo/regional/logs.rb +38 -0
- data/lib/scalingo/regional/metrics.rb +41 -0
- data/lib/scalingo/regional/notifiers.rb +96 -0
- data/lib/scalingo/regional/operations.rb +18 -0
- data/lib/scalingo/regional/scm_repo_links.rb +109 -0
- data/lib/scalingo/version.rb +3 -0
- data/samples/auth/keys/_meta.json +13 -0
- data/samples/auth/keys/all-200.json +62 -0
- data/samples/auth/keys/create-201.json +67 -0
- data/samples/auth/keys/create-422.json +34 -0
- data/samples/auth/keys/destroy-204.json +19 -0
- data/samples/auth/keys/destroy-404.json +19 -0
- data/samples/auth/keys/show-200.json +60 -0
- data/samples/auth/keys/show-404.json +19 -0
- data/samples/auth/scm_integrations/_meta.json +14 -0
- data/samples/auth/scm_integrations/all-200.json +41 -0
- data/samples/auth/scm_integrations/create-201.json +41 -0
- data/samples/auth/scm_integrations/create-422.json +36 -0
- data/samples/auth/scm_integrations/destroy-204.json +15 -0
- data/samples/auth/scm_integrations/destroy-404.json +23 -0
- data/samples/auth/scm_integrations/show-200.json +34 -0
- data/samples/auth/scm_integrations/show-404.json +23 -0
- data/samples/auth/tokens/_meta.json +13 -0
- data/samples/auth/tokens/all-200.json +32 -0
- data/samples/auth/tokens/create-201.json +37 -0
- data/samples/auth/tokens/destroy-204.json +19 -0
- data/samples/auth/tokens/destroy-404.json +19 -0
- data/samples/auth/tokens/exchange-200.json +25 -0
- data/samples/auth/tokens/exchange-401.json +24 -0
- data/samples/auth/tokens/renew-200.json +32 -0
- data/samples/auth/tokens/renew-404.json +20 -0
- data/samples/auth/two_factor_auth/_meta.json +10 -0
- data/samples/auth/two_factor_auth/disable-not-initiated.json +23 -0
- data/samples/auth/two_factor_auth/disable-success.json +29 -0
- data/samples/auth/two_factor_auth/initiate-already-enabled.json +29 -0
- data/samples/auth/two_factor_auth/initiate-success.json +36 -0
- data/samples/auth/two_factor_auth/initiate-wrong-provider.json +29 -0
- data/samples/auth/two_factor_auth/status.json +29 -0
- data/samples/auth/two_factor_auth/validate-not-initiated.json +29 -0
- data/samples/auth/two_factor_auth/validate-success.json +49 -0
- data/samples/auth/two_factor_auth/validate-wrong.json +29 -0
- data/samples/auth/user/_meta.json +10 -0
- data/samples/auth/user/self.json +54 -0
- data/samples/auth/user/update-200.json +59 -0
- data/samples/auth/user/update-422.json +33 -0
- data/samples/regional/addons/_meta.json +22 -0
- data/samples/regional/addons/categories-guest.json +36 -0
- data/samples/regional/addons/categories-logged.json +37 -0
- data/samples/regional/addons/destroy-204.json +19 -0
- data/samples/regional/addons/destroy-404.json +24 -0
- data/samples/regional/addons/find-200.json +48 -0
- data/samples/regional/addons/find-404.json +24 -0
- data/samples/regional/addons/for-200.json +50 -0
- data/samples/regional/addons/providers-guest.json +588 -0
- data/samples/regional/addons/providers-logged.json +705 -0
- data/samples/regional/addons/provision-201.json +58 -0
- data/samples/regional/addons/provision-400.json +29 -0
- data/samples/regional/addons/sso-200.json +49 -0
- data/samples/regional/addons/sso-404.json +24 -0
- data/samples/regional/addons/update-200.json +58 -0
- data/samples/regional/addons/update-404.json +30 -0
- data/samples/regional/apps/_meta.json +52 -0
- data/samples/regional/apps/all.json +99 -0
- data/samples/regional/apps/create-201.json +66 -0
- data/samples/regional/apps/create-422.json +34 -0
- data/samples/regional/apps/destroy-204.json +19 -0
- data/samples/regional/apps/destroy-404.json +24 -0
- data/samples/regional/apps/destroy-422.json +27 -0
- data/samples/regional/apps/find-200.json +60 -0
- data/samples/regional/apps/find-404.json +24 -0
- data/samples/regional/apps/logs_url.json +62 -0
- data/samples/regional/apps/rename-200.json +65 -0
- data/samples/regional/apps/rename-404.json +29 -0
- data/samples/regional/apps/rename-422.json +33 -0
- data/samples/regional/apps/transfer-200.json +65 -0
- data/samples/regional/apps/transfer-404.json +27 -0
- data/samples/regional/apps/transfer-422.json +34 -0
- data/samples/regional/apps/update-200.json +66 -0
- data/samples/regional/apps/update-stack-404.json +30 -0
- data/samples/regional/collaborators/_meta.json +17 -0
- data/samples/regional/collaborators/accept-200.json +60 -0
- data/samples/regional/collaborators/accept-400.json +24 -0
- data/samples/regional/collaborators/accept-404.json +24 -0
- data/samples/regional/collaborators/destroy-204.json +19 -0
- data/samples/regional/collaborators/destroy-404.json +24 -0
- data/samples/regional/collaborators/for-200.json +34 -0
- data/samples/regional/collaborators/invite-201.json +37 -0
- data/samples/regional/collaborators/invite-422.json +34 -0
- data/samples/regional/containers/_meta.json +25 -0
- data/samples/regional/containers/for-200.json +39 -0
- data/samples/regional/containers/restart-202.json +28 -0
- data/samples/regional/containers/restart-422.json +33 -0
- data/samples/regional/containers/scale-202.json +48 -0
- data/samples/regional/containers/scale-422.json +36 -0
- data/samples/regional/containers/sizes-guest.json +115 -0
- data/samples/regional/containers/sizes-logged.json +116 -0
- data/samples/regional/deployments/_meta.json +8 -0
- data/samples/regional/deployments/find-200.json +45 -0
- data/samples/regional/deployments/find-404.json +24 -0
- data/samples/regional/deployments/for-with-paging.json +35 -0
- data/samples/regional/deployments/for-without-pages.json +56 -0
- data/samples/regional/deployments/logs-200.json +22 -0
- data/samples/regional/deployments/logs-404.json +24 -0
- data/samples/regional/domains/_meta.json +21 -0
- data/samples/regional/domains/create-201.json +44 -0
- data/samples/regional/domains/create-422.json +33 -0
- data/samples/regional/domains/destroy-204.json +19 -0
- data/samples/regional/domains/destroy-404.json +24 -0
- data/samples/regional/domains/find-200.json +38 -0
- data/samples/regional/domains/find-404.json +24 -0
- data/samples/regional/domains/for-200.json +40 -0
- data/samples/regional/domains/update-200.json +44 -0
- data/samples/regional/domains/update-404.json +30 -0
- data/samples/regional/domains/update-422.json +33 -0
- data/samples/regional/environment/_meta.json +43 -0
- data/samples/regional/environment/bulk-destroy-204.json +19 -0
- data/samples/regional/environment/bulk-update-200.json +70 -0
- data/samples/regional/environment/create-201.json +36 -0
- data/samples/regional/environment/create-422.json +37 -0
- data/samples/regional/environment/destroy-204.json +19 -0
- data/samples/regional/environment/destroy-404.json +24 -0
- data/samples/regional/environment/for-200.json +31 -0
- data/samples/regional/environment/update-200.json +35 -0
- data/samples/regional/environment/update-404.json +30 -0
- data/samples/regional/events/_meta.json +3 -0
- data/samples/regional/events/all-200.json +619 -0
- data/samples/regional/events/categories-guest.json +66 -0
- data/samples/regional/events/categories-logged.json +67 -0
- data/samples/regional/events/for-200.json +404 -0
- data/samples/regional/events/types-guest.json +288 -0
- data/samples/regional/events/types-logged.json +289 -0
- data/samples/regional/logs/_meta.json +11 -0
- data/samples/regional/logs/archives-200.json +28 -0
- data/samples/regional/logs/get-guest-200.json +18 -0
- data/samples/regional/logs/get-logged-200.json +19 -0
- data/samples/regional/logs/get-with-limit-200.json +18 -0
- data/samples/regional/metrics/_meta.json +15 -0
- data/samples/regional/metrics/for-invalid-400.json +23 -0
- data/samples/regional/metrics/for-valid-cpu-200.json +747 -0
- data/samples/regional/metrics/for-valid-router-404.json +23 -0
- data/samples/regional/metrics/types-guest.json +66 -0
- data/samples/regional/metrics/types-logged.json +67 -0
- data/samples/regional/notifiers/_meta.json +23 -0
- data/samples/regional/notifiers/create-201.json +55 -0
- data/samples/regional/notifiers/create-404.json +30 -0
- data/samples/regional/notifiers/create-422.json +36 -0
- data/samples/regional/notifiers/destroy-204.json +19 -0
- data/samples/regional/notifiers/destroy-404.json +24 -0
- data/samples/regional/notifiers/find-200.json +47 -0
- data/samples/regional/notifiers/find-404.json +24 -0
- data/samples/regional/notifiers/for-200.json +49 -0
- data/samples/regional/notifiers/platforms-guest.json +184 -0
- data/samples/regional/notifiers/platforms-logged.json +185 -0
- data/samples/regional/notifiers/test-200.json +22 -0
- data/samples/regional/notifiers/test-404.json +25 -0
- data/samples/regional/notifiers/update-200.json +53 -0
- data/samples/regional/operations/_meta.json +5 -0
- data/samples/regional/operations/find-200.json +31 -0
- data/samples/regional/operations/find-404.json +24 -0
- data/samples/regional/scm_repo_links/_meta.json +22 -0
- data/samples/regional/scm_repo_links/create-201.json +54 -0
- data/samples/regional/scm_repo_links/destroy-204.json +15 -0
- data/samples/regional/scm_repo_links/manual-deploy-200.json +32 -0
- data/samples/regional/scm_repo_links/show-200.json +43 -0
- data/samples/regional/scm_repo_links/update-200.json +50 -0
- data/scalingo.gemspec +51 -0
- data/spec/scalingo/auth/keys_spec.rb +58 -0
- data/spec/scalingo/auth/scm_integrations_spec.rb +58 -0
- data/spec/scalingo/auth/tokens_spec.rb +74 -0
- data/spec/scalingo/auth/two_factor_auth_spec.rb +69 -0
- data/spec/scalingo/auth/user_spec.rb +25 -0
- data/spec/scalingo/regional/addons_spec.rb +133 -0
- data/spec/scalingo/regional/apps_spec.rb +137 -0
- data/spec/scalingo/regional/collaborators_spec.rb +69 -0
- data/spec/scalingo/regional/containers_spec.rb +67 -0
- data/spec/scalingo/regional/deployments_spec.rb +45 -0
- data/spec/scalingo/regional/domains_spec.rb +84 -0
- data/spec/scalingo/regional/environment_spec.rb +77 -0
- data/spec/scalingo/regional/events_spec.rb +65 -0
- data/spec/scalingo/regional/logs_spec.rb +39 -0
- data/spec/scalingo/regional/metrics_spec.rb +46 -0
- data/spec/scalingo/regional/notifiers_spec.rb +113 -0
- data/spec/scalingo/regional/operations_spec.rb +19 -0
- data/spec/scalingo/regional/scm_repo_links_spec.rb +48 -0
- metadata +488 -0
@@ -0,0 +1,288 @@
|
|
1
|
+
{
|
2
|
+
"path": "/event_types",
|
3
|
+
"method": "get",
|
4
|
+
"request": {
|
5
|
+
"headers": {
|
6
|
+
}
|
7
|
+
},
|
8
|
+
"response": {
|
9
|
+
"status": 200,
|
10
|
+
"headers": {
|
11
|
+
"Date": "Fri, 29 May 2020 13:57:46 GMT",
|
12
|
+
"Etag": "W/\"636300ce2f0f2825b0a7e168a1d16a4a\"",
|
13
|
+
"Content-Type": "application/json; charset=utf-8",
|
14
|
+
"Transfer-Encoding": "chunked",
|
15
|
+
"Connection": "keep-alive",
|
16
|
+
"Cache-Control": "max-age=0, private, must-revalidate",
|
17
|
+
"Referrer-Policy": "strict-origin-when-cross-origin"
|
18
|
+
},
|
19
|
+
"json_body": {
|
20
|
+
"event_types": [
|
21
|
+
{
|
22
|
+
"id": "595cf85e6bb8f100167429df",
|
23
|
+
"name": "addon_db_upgraded",
|
24
|
+
"display_name": "Addon database upgraded",
|
25
|
+
"description": "A database addon was upgraded",
|
26
|
+
"template": null,
|
27
|
+
"category_id": "595cf85d6bb8f100167429cb"
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"id": "595cf85d6bb8f100167429d1",
|
31
|
+
"name": "app_deployed",
|
32
|
+
"display_name": "App deployed",
|
33
|
+
"description": "An app was deployed",
|
34
|
+
"template": "",
|
35
|
+
"category_id": "595cf85d6bb8f100167429ca"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"id": "595cf85e6bb8f100167429e0",
|
39
|
+
"name": "addon_deleted",
|
40
|
+
"display_name": "Addon deleted",
|
41
|
+
"description": "An addon was deleted",
|
42
|
+
"template": null,
|
43
|
+
"category_id": "595cf85d6bb8f100167429cb"
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"id": "595cf85e6bb8f100167429d9",
|
47
|
+
"name": "app_renamed",
|
48
|
+
"display_name": "App renamed",
|
49
|
+
"description": "An app was renamed",
|
50
|
+
"template": "",
|
51
|
+
"category_id": "595cf85d6bb8f100167429ca"
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"id": "595cf85e6bb8f100167429e2",
|
55
|
+
"name": "collaborator_accepted",
|
56
|
+
"display_name": "Collaborator accepted",
|
57
|
+
"description": "A collaborator invitation was accepted",
|
58
|
+
"template": null,
|
59
|
+
"category_id": "595cf85d6bb8f100167429cc"
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"id": "595cf85e6bb8f100167429e8",
|
63
|
+
"name": "notifier_edited",
|
64
|
+
"display_name": "Notifier edited",
|
65
|
+
"description": "A notifier was edited",
|
66
|
+
"template": null,
|
67
|
+
"category_id": "595cf85d6bb8f100167429ce"
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"id": "595cf85e6bb8f100167429e9",
|
71
|
+
"name": "notifier_removed",
|
72
|
+
"display_name": "Notifier removed",
|
73
|
+
"description": "A notifier was removed",
|
74
|
+
"template": null,
|
75
|
+
"category_id": "595cf85d6bb8f100167429ce"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"id": "595cf85e6bb8f100167429ec",
|
79
|
+
"name": "variable_bulk_edited",
|
80
|
+
"display_name": "Variables bulk edited",
|
81
|
+
"description": "Some variables was bulk edited",
|
82
|
+
"template": null,
|
83
|
+
"category_id": "595cf85d6bb8f100167429cf"
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"id": "595cf85e6bb8f100167429ea",
|
87
|
+
"name": "variable_added",
|
88
|
+
"display_name": "Variable added",
|
89
|
+
"description": "A variable was added",
|
90
|
+
"template": null,
|
91
|
+
"category_id": "595cf85d6bb8f100167429cf"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"id": "595cf85d6bb8f100167429d2",
|
95
|
+
"name": "app_restarted",
|
96
|
+
"display_name": "App restarted",
|
97
|
+
"description": "An app was restarted",
|
98
|
+
"template": "",
|
99
|
+
"category_id": "595cf85d6bb8f100167429ca"
|
100
|
+
},
|
101
|
+
{
|
102
|
+
"id": "595cf85e6bb8f100167429de",
|
103
|
+
"name": "addon_plan_changed",
|
104
|
+
"display_name": "Addon plan changed",
|
105
|
+
"description": "An addon plan was changed",
|
106
|
+
"template": null,
|
107
|
+
"category_id": "595cf85d6bb8f100167429cb"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"id": "595cf85e6bb8f100167429e6",
|
111
|
+
"name": "domain_removed",
|
112
|
+
"display_name": "Domain removed",
|
113
|
+
"description": "A domain was removed",
|
114
|
+
"template": null,
|
115
|
+
"category_id": "595cf85d6bb8f100167429cd"
|
116
|
+
},
|
117
|
+
{
|
118
|
+
"id": "595cf85e6bb8f100167429ee",
|
119
|
+
"name": "github_link",
|
120
|
+
"display_name": "Github link",
|
121
|
+
"description": "A GitHub repo was linked to an app",
|
122
|
+
"template": null,
|
123
|
+
"category_id": "595cf85d6bb8f100167429d0"
|
124
|
+
},
|
125
|
+
{
|
126
|
+
"id": "595cf85d6bb8f100167429d4",
|
127
|
+
"name": "app_scaled",
|
128
|
+
"display_name": "App scaled",
|
129
|
+
"description": "An app was scaled",
|
130
|
+
"template": "",
|
131
|
+
"category_id": "595cf85d6bb8f100167429ca"
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"id": "595cf85e6bb8f100167429d7",
|
135
|
+
"name": "app_deleted",
|
136
|
+
"display_name": "App deleted",
|
137
|
+
"description": "A command was ran in an app",
|
138
|
+
"template": "",
|
139
|
+
"category_id": "595cf85d6bb8f100167429ca"
|
140
|
+
},
|
141
|
+
{
|
142
|
+
"id": "595cf85e6bb8f100167429e5",
|
143
|
+
"name": "domain_edited",
|
144
|
+
"display_name": "Domain edited",
|
145
|
+
"description": "A domain was edited",
|
146
|
+
"template": null,
|
147
|
+
"category_id": "595cf85d6bb8f100167429cd"
|
148
|
+
},
|
149
|
+
{
|
150
|
+
"id": "595cf85e6bb8f100167429e3",
|
151
|
+
"name": "collaborator_removed",
|
152
|
+
"display_name": "Collaborator removed",
|
153
|
+
"description": "A collaborator was removed",
|
154
|
+
"template": null,
|
155
|
+
"category_id": "595cf85d6bb8f100167429cc"
|
156
|
+
},
|
157
|
+
{
|
158
|
+
"id": "595cf85e6bb8f100167429ed",
|
159
|
+
"name": "variable_removed",
|
160
|
+
"display_name": "Variable removed",
|
161
|
+
"description": "A variable was removed",
|
162
|
+
"template": null,
|
163
|
+
"category_id": "595cf85d6bb8f100167429cf"
|
164
|
+
},
|
165
|
+
{
|
166
|
+
"id": "595cf85e6bb8f100167429da",
|
167
|
+
"name": "app_alert_triggered",
|
168
|
+
"display_name": "App alert triggered",
|
169
|
+
"description": "An app alert was triggered",
|
170
|
+
"template": "",
|
171
|
+
"category_id": "595cf85d6bb8f100167429ca"
|
172
|
+
},
|
173
|
+
{
|
174
|
+
"id": "595cf85e6bb8f100167429d8",
|
175
|
+
"name": "app_transferred",
|
176
|
+
"display_name": "App transferred",
|
177
|
+
"description": "An app was transferred",
|
178
|
+
"template": "",
|
179
|
+
"category_id": "595cf85d6bb8f100167429ca"
|
180
|
+
},
|
181
|
+
{
|
182
|
+
"id": "595cf85e6bb8f100167429dc",
|
183
|
+
"name": "addon_resumed",
|
184
|
+
"display_name": "Addon resumed",
|
185
|
+
"description": "An addon was provisioned",
|
186
|
+
"template": null,
|
187
|
+
"category_id": "595cf85d6bb8f100167429cb"
|
188
|
+
},
|
189
|
+
{
|
190
|
+
"id": "595cf85e6bb8f100167429e4",
|
191
|
+
"name": "domain_added",
|
192
|
+
"display_name": "Domain added",
|
193
|
+
"description": "A domain was added",
|
194
|
+
"template": null,
|
195
|
+
"category_id": "595cf85d6bb8f100167429cd"
|
196
|
+
},
|
197
|
+
{
|
198
|
+
"id": "595cf85e6bb8f100167429e7",
|
199
|
+
"name": "notifier_added",
|
200
|
+
"display_name": "Notifier added",
|
201
|
+
"description": "A notifier was added",
|
202
|
+
"template": null,
|
203
|
+
"category_id": "595cf85d6bb8f100167429ce"
|
204
|
+
},
|
205
|
+
{
|
206
|
+
"id": "595cf85e6bb8f100167429dd",
|
207
|
+
"name": "addon_suspended",
|
208
|
+
"display_name": "Addon suspended",
|
209
|
+
"description": "An addon was suspended",
|
210
|
+
"template": null,
|
211
|
+
"category_id": "595cf85d6bb8f100167429cb"
|
212
|
+
},
|
213
|
+
{
|
214
|
+
"id": "595cf85e6bb8f100167429eb",
|
215
|
+
"name": "variable_edited",
|
216
|
+
"display_name": "Variable edited",
|
217
|
+
"description": "A variable was edited",
|
218
|
+
"template": null,
|
219
|
+
"category_id": "595cf85d6bb8f100167429cf"
|
220
|
+
},
|
221
|
+
{
|
222
|
+
"id": "595cf85e6bb8f100167429ef",
|
223
|
+
"name": "github_unlink",
|
224
|
+
"display_name": "Github unlink",
|
225
|
+
"description": "A GitHub repo was unlinked to an app",
|
226
|
+
"template": null,
|
227
|
+
"category_id": "595cf85d6bb8f100167429d0"
|
228
|
+
},
|
229
|
+
{
|
230
|
+
"id": "595cf85d6bb8f100167429d3",
|
231
|
+
"name": "app_crashed",
|
232
|
+
"display_name": "App crashed",
|
233
|
+
"description": "An app was crashed",
|
234
|
+
"template": "",
|
235
|
+
"category_id": "595cf85d6bb8f100167429ca"
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"id": "595cf85d6bb8f100167429d5",
|
239
|
+
"name": "app_stopped",
|
240
|
+
"display_name": "App stopped",
|
241
|
+
"description": "An app was stopped",
|
242
|
+
"template": "",
|
243
|
+
"category_id": "595cf85d6bb8f100167429ca"
|
244
|
+
},
|
245
|
+
{
|
246
|
+
"id": "595cf85e6bb8f100167429d6",
|
247
|
+
"name": "app_command_ran",
|
248
|
+
"display_name": "App command ran",
|
249
|
+
"description": "A command was ran in an app",
|
250
|
+
"template": "",
|
251
|
+
"category_id": "595cf85d6bb8f100167429ca"
|
252
|
+
},
|
253
|
+
{
|
254
|
+
"id": "595cf85e6bb8f100167429db",
|
255
|
+
"name": "addon_provisioned",
|
256
|
+
"display_name": "Addon provisioned",
|
257
|
+
"description": "An addon was provisioned",
|
258
|
+
"template": "",
|
259
|
+
"category_id": "595cf85d6bb8f100167429cb"
|
260
|
+
},
|
261
|
+
{
|
262
|
+
"id": "595cf85e6bb8f100167429e1",
|
263
|
+
"name": "collaborator_invited",
|
264
|
+
"display_name": "Collaborator invited",
|
265
|
+
"description": "A collaborator was invited",
|
266
|
+
"template": null,
|
267
|
+
"category_id": "595cf85d6bb8f100167429cc"
|
268
|
+
},
|
269
|
+
{
|
270
|
+
"id": "59c2797bc094990048778884",
|
271
|
+
"name": "app_crashed_repeated",
|
272
|
+
"display_name": "App crashed repeated",
|
273
|
+
"description": "An app was crashed. This event is sent on each crash.",
|
274
|
+
"template": "",
|
275
|
+
"category_id": "595cf85d6bb8f100167429ca"
|
276
|
+
},
|
277
|
+
{
|
278
|
+
"id": "5de654023e6b3b000f1dd75d",
|
279
|
+
"name": "addon_updated",
|
280
|
+
"display_name": "Addon Updated",
|
281
|
+
"description": "An addon has been updated",
|
282
|
+
"template": "",
|
283
|
+
"category_id": "595cf85d6bb8f100167429cb"
|
284
|
+
}
|
285
|
+
]
|
286
|
+
}
|
287
|
+
}
|
288
|
+
}
|
@@ -0,0 +1,289 @@
|
|
1
|
+
{
|
2
|
+
"path": "/event_types",
|
3
|
+
"method": "get",
|
4
|
+
"request": {
|
5
|
+
"headers": {
|
6
|
+
"Authorization": "Bearer the-bearer-token"
|
7
|
+
}
|
8
|
+
},
|
9
|
+
"response": {
|
10
|
+
"status": 200,
|
11
|
+
"headers": {
|
12
|
+
"Date": "Fri, 29 May 2020 13:57:46 GMT",
|
13
|
+
"Etag": "W/\"636300ce2f0f2825b0a7e168a1d16a4a\"",
|
14
|
+
"Content-Type": "application/json; charset=utf-8",
|
15
|
+
"Transfer-Encoding": "chunked",
|
16
|
+
"Connection": "keep-alive",
|
17
|
+
"Cache-Control": "max-age=0, private, must-revalidate",
|
18
|
+
"Referrer-Policy": "strict-origin-when-cross-origin"
|
19
|
+
},
|
20
|
+
"json_body": {
|
21
|
+
"event_types": [
|
22
|
+
{
|
23
|
+
"id": "595cf85e6bb8f100167429df",
|
24
|
+
"name": "addon_db_upgraded",
|
25
|
+
"display_name": "Addon database upgraded",
|
26
|
+
"description": "A database addon was upgraded",
|
27
|
+
"template": null,
|
28
|
+
"category_id": "595cf85d6bb8f100167429cb"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"id": "595cf85d6bb8f100167429d1",
|
32
|
+
"name": "app_deployed",
|
33
|
+
"display_name": "App deployed",
|
34
|
+
"description": "An app was deployed",
|
35
|
+
"template": "",
|
36
|
+
"category_id": "595cf85d6bb8f100167429ca"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"id": "595cf85e6bb8f100167429e0",
|
40
|
+
"name": "addon_deleted",
|
41
|
+
"display_name": "Addon deleted",
|
42
|
+
"description": "An addon was deleted",
|
43
|
+
"template": null,
|
44
|
+
"category_id": "595cf85d6bb8f100167429cb"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"id": "595cf85e6bb8f100167429d9",
|
48
|
+
"name": "app_renamed",
|
49
|
+
"display_name": "App renamed",
|
50
|
+
"description": "An app was renamed",
|
51
|
+
"template": "",
|
52
|
+
"category_id": "595cf85d6bb8f100167429ca"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"id": "595cf85e6bb8f100167429e2",
|
56
|
+
"name": "collaborator_accepted",
|
57
|
+
"display_name": "Collaborator accepted",
|
58
|
+
"description": "A collaborator invitation was accepted",
|
59
|
+
"template": null,
|
60
|
+
"category_id": "595cf85d6bb8f100167429cc"
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"id": "595cf85e6bb8f100167429e8",
|
64
|
+
"name": "notifier_edited",
|
65
|
+
"display_name": "Notifier edited",
|
66
|
+
"description": "A notifier was edited",
|
67
|
+
"template": null,
|
68
|
+
"category_id": "595cf85d6bb8f100167429ce"
|
69
|
+
},
|
70
|
+
{
|
71
|
+
"id": "595cf85e6bb8f100167429e9",
|
72
|
+
"name": "notifier_removed",
|
73
|
+
"display_name": "Notifier removed",
|
74
|
+
"description": "A notifier was removed",
|
75
|
+
"template": null,
|
76
|
+
"category_id": "595cf85d6bb8f100167429ce"
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"id": "595cf85e6bb8f100167429ec",
|
80
|
+
"name": "variable_bulk_edited",
|
81
|
+
"display_name": "Variables bulk edited",
|
82
|
+
"description": "Some variables was bulk edited",
|
83
|
+
"template": null,
|
84
|
+
"category_id": "595cf85d6bb8f100167429cf"
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"id": "595cf85e6bb8f100167429ea",
|
88
|
+
"name": "variable_added",
|
89
|
+
"display_name": "Variable added",
|
90
|
+
"description": "A variable was added",
|
91
|
+
"template": null,
|
92
|
+
"category_id": "595cf85d6bb8f100167429cf"
|
93
|
+
},
|
94
|
+
{
|
95
|
+
"id": "595cf85d6bb8f100167429d2",
|
96
|
+
"name": "app_restarted",
|
97
|
+
"display_name": "App restarted",
|
98
|
+
"description": "An app was restarted",
|
99
|
+
"template": "",
|
100
|
+
"category_id": "595cf85d6bb8f100167429ca"
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"id": "595cf85e6bb8f100167429de",
|
104
|
+
"name": "addon_plan_changed",
|
105
|
+
"display_name": "Addon plan changed",
|
106
|
+
"description": "An addon plan was changed",
|
107
|
+
"template": null,
|
108
|
+
"category_id": "595cf85d6bb8f100167429cb"
|
109
|
+
},
|
110
|
+
{
|
111
|
+
"id": "595cf85e6bb8f100167429e6",
|
112
|
+
"name": "domain_removed",
|
113
|
+
"display_name": "Domain removed",
|
114
|
+
"description": "A domain was removed",
|
115
|
+
"template": null,
|
116
|
+
"category_id": "595cf85d6bb8f100167429cd"
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"id": "595cf85e6bb8f100167429ee",
|
120
|
+
"name": "github_link",
|
121
|
+
"display_name": "Github link",
|
122
|
+
"description": "A GitHub repo was linked to an app",
|
123
|
+
"template": null,
|
124
|
+
"category_id": "595cf85d6bb8f100167429d0"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"id": "595cf85d6bb8f100167429d4",
|
128
|
+
"name": "app_scaled",
|
129
|
+
"display_name": "App scaled",
|
130
|
+
"description": "An app was scaled",
|
131
|
+
"template": "",
|
132
|
+
"category_id": "595cf85d6bb8f100167429ca"
|
133
|
+
},
|
134
|
+
{
|
135
|
+
"id": "595cf85e6bb8f100167429d7",
|
136
|
+
"name": "app_deleted",
|
137
|
+
"display_name": "App deleted",
|
138
|
+
"description": "A command was ran in an app",
|
139
|
+
"template": "",
|
140
|
+
"category_id": "595cf85d6bb8f100167429ca"
|
141
|
+
},
|
142
|
+
{
|
143
|
+
"id": "595cf85e6bb8f100167429e5",
|
144
|
+
"name": "domain_edited",
|
145
|
+
"display_name": "Domain edited",
|
146
|
+
"description": "A domain was edited",
|
147
|
+
"template": null,
|
148
|
+
"category_id": "595cf85d6bb8f100167429cd"
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"id": "595cf85e6bb8f100167429e3",
|
152
|
+
"name": "collaborator_removed",
|
153
|
+
"display_name": "Collaborator removed",
|
154
|
+
"description": "A collaborator was removed",
|
155
|
+
"template": null,
|
156
|
+
"category_id": "595cf85d6bb8f100167429cc"
|
157
|
+
},
|
158
|
+
{
|
159
|
+
"id": "595cf85e6bb8f100167429ed",
|
160
|
+
"name": "variable_removed",
|
161
|
+
"display_name": "Variable removed",
|
162
|
+
"description": "A variable was removed",
|
163
|
+
"template": null,
|
164
|
+
"category_id": "595cf85d6bb8f100167429cf"
|
165
|
+
},
|
166
|
+
{
|
167
|
+
"id": "595cf85e6bb8f100167429da",
|
168
|
+
"name": "app_alert_triggered",
|
169
|
+
"display_name": "App alert triggered",
|
170
|
+
"description": "An app alert was triggered",
|
171
|
+
"template": "",
|
172
|
+
"category_id": "595cf85d6bb8f100167429ca"
|
173
|
+
},
|
174
|
+
{
|
175
|
+
"id": "595cf85e6bb8f100167429d8",
|
176
|
+
"name": "app_transferred",
|
177
|
+
"display_name": "App transferred",
|
178
|
+
"description": "An app was transferred",
|
179
|
+
"template": "",
|
180
|
+
"category_id": "595cf85d6bb8f100167429ca"
|
181
|
+
},
|
182
|
+
{
|
183
|
+
"id": "595cf85e6bb8f100167429dc",
|
184
|
+
"name": "addon_resumed",
|
185
|
+
"display_name": "Addon resumed",
|
186
|
+
"description": "An addon was provisioned",
|
187
|
+
"template": null,
|
188
|
+
"category_id": "595cf85d6bb8f100167429cb"
|
189
|
+
},
|
190
|
+
{
|
191
|
+
"id": "595cf85e6bb8f100167429e4",
|
192
|
+
"name": "domain_added",
|
193
|
+
"display_name": "Domain added",
|
194
|
+
"description": "A domain was added",
|
195
|
+
"template": null,
|
196
|
+
"category_id": "595cf85d6bb8f100167429cd"
|
197
|
+
},
|
198
|
+
{
|
199
|
+
"id": "595cf85e6bb8f100167429e7",
|
200
|
+
"name": "notifier_added",
|
201
|
+
"display_name": "Notifier added",
|
202
|
+
"description": "A notifier was added",
|
203
|
+
"template": null,
|
204
|
+
"category_id": "595cf85d6bb8f100167429ce"
|
205
|
+
},
|
206
|
+
{
|
207
|
+
"id": "595cf85e6bb8f100167429dd",
|
208
|
+
"name": "addon_suspended",
|
209
|
+
"display_name": "Addon suspended",
|
210
|
+
"description": "An addon was suspended",
|
211
|
+
"template": null,
|
212
|
+
"category_id": "595cf85d6bb8f100167429cb"
|
213
|
+
},
|
214
|
+
{
|
215
|
+
"id": "595cf85e6bb8f100167429eb",
|
216
|
+
"name": "variable_edited",
|
217
|
+
"display_name": "Variable edited",
|
218
|
+
"description": "A variable was edited",
|
219
|
+
"template": null,
|
220
|
+
"category_id": "595cf85d6bb8f100167429cf"
|
221
|
+
},
|
222
|
+
{
|
223
|
+
"id": "595cf85e6bb8f100167429ef",
|
224
|
+
"name": "github_unlink",
|
225
|
+
"display_name": "Github unlink",
|
226
|
+
"description": "A GitHub repo was unlinked to an app",
|
227
|
+
"template": null,
|
228
|
+
"category_id": "595cf85d6bb8f100167429d0"
|
229
|
+
},
|
230
|
+
{
|
231
|
+
"id": "595cf85d6bb8f100167429d3",
|
232
|
+
"name": "app_crashed",
|
233
|
+
"display_name": "App crashed",
|
234
|
+
"description": "An app was crashed",
|
235
|
+
"template": "",
|
236
|
+
"category_id": "595cf85d6bb8f100167429ca"
|
237
|
+
},
|
238
|
+
{
|
239
|
+
"id": "595cf85d6bb8f100167429d5",
|
240
|
+
"name": "app_stopped",
|
241
|
+
"display_name": "App stopped",
|
242
|
+
"description": "An app was stopped",
|
243
|
+
"template": "",
|
244
|
+
"category_id": "595cf85d6bb8f100167429ca"
|
245
|
+
},
|
246
|
+
{
|
247
|
+
"id": "595cf85e6bb8f100167429d6",
|
248
|
+
"name": "app_command_ran",
|
249
|
+
"display_name": "App command ran",
|
250
|
+
"description": "A command was ran in an app",
|
251
|
+
"template": "",
|
252
|
+
"category_id": "595cf85d6bb8f100167429ca"
|
253
|
+
},
|
254
|
+
{
|
255
|
+
"id": "595cf85e6bb8f100167429db",
|
256
|
+
"name": "addon_provisioned",
|
257
|
+
"display_name": "Addon provisioned",
|
258
|
+
"description": "An addon was provisioned",
|
259
|
+
"template": "",
|
260
|
+
"category_id": "595cf85d6bb8f100167429cb"
|
261
|
+
},
|
262
|
+
{
|
263
|
+
"id": "595cf85e6bb8f100167429e1",
|
264
|
+
"name": "collaborator_invited",
|
265
|
+
"display_name": "Collaborator invited",
|
266
|
+
"description": "A collaborator was invited",
|
267
|
+
"template": null,
|
268
|
+
"category_id": "595cf85d6bb8f100167429cc"
|
269
|
+
},
|
270
|
+
{
|
271
|
+
"id": "59c2797bc094990048778884",
|
272
|
+
"name": "app_crashed_repeated",
|
273
|
+
"display_name": "App crashed repeated",
|
274
|
+
"description": "An app was crashed. This event is sent on each crash.",
|
275
|
+
"template": "",
|
276
|
+
"category_id": "595cf85d6bb8f100167429ca"
|
277
|
+
},
|
278
|
+
{
|
279
|
+
"id": "5de654023e6b3b000f1dd75d",
|
280
|
+
"name": "addon_updated",
|
281
|
+
"display_name": "Addon Updated",
|
282
|
+
"description": "An addon has been updated",
|
283
|
+
"template": "",
|
284
|
+
"category_id": "595cf85d6bb8f100167429cb"
|
285
|
+
}
|
286
|
+
]
|
287
|
+
}
|
288
|
+
}
|
289
|
+
}
|