-
Notifications
You must be signed in to change notification settings - Fork 18
/
normalized-fixture.json
388 lines (388 loc) · 18.7 KB
/
normalized-fixture.json
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
[
{
"scope": "https://api.github.com:443",
"method": "get",
"path": "/repos/octokit-fixture-org/release-assets/releases/tags/v1.0.0",
"body": "",
"status": 200,
"response": {
"url": "https://api.github.com/repos/octokit-fixture-org/release-assets/releases/1000",
"assets_url": "https://api.github.com/repos/octokit-fixture-org/release-assets/releases/1000/assets",
"upload_url": "https://uploads.github.com/repos/octokit-fixture-org/release-assets/releases/1000/assets{?name,label}",
"html_url": "https://github.com/octokit-fixture-org/release-assets/releases/tag/v1.0.0",
"id": 1000,
"tag_name": "v1.0.0",
"target_commitish": "0000000000000000000000000000000000000001",
"name": "Version 1.0.0",
"draft": false,
"author": {
"login": "octokit-fixture-user-a",
"id": 1000,
"avatar_url": "https://avatars0.githubusercontent.com/u/1000?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/octokit-fixture-user-a",
"html_url": "https://github.com/octokit-fixture-user-a",
"followers_url": "https://api.github.com/users/octokit-fixture-user-a/followers",
"following_url": "https://api.github.com/users/octokit-fixture-user-a/following{/other_user}",
"gists_url": "https://api.github.com/users/octokit-fixture-user-a/gists{/gist_id}",
"starred_url": "https://api.github.com/users/octokit-fixture-user-a/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/octokit-fixture-user-a/subscriptions",
"organizations_url": "https://api.github.com/users/octokit-fixture-user-a/orgs",
"repos_url": "https://api.github.com/users/octokit-fixture-user-a/repos",
"events_url": "https://api.github.com/users/octokit-fixture-user-a/events{/privacy}",
"received_events_url": "https://api.github.com/users/octokit-fixture-user-a/received_events",
"type": "User",
"site_admin": false
},
"prerelease": false,
"created_at": "2017-10-10T16:00:00Z",
"published_at": "2017-10-10T16:00:00Z",
"assets": [],
"tarball_url": "https://api.github.com/repos/octokit-fixture-org/release-assets/tarball/v1.0.0",
"zipball_url": "https://api.github.com/repos/octokit-fixture-org/release-assets/zipball/v1.0.0",
"body": "Initial release"
},
"reqheaders": {
"accept": "application/vnd.github.v3+json",
"authorization": "token 0000000000000000000000000000000000000001",
"host": "api.github.com"
},
"headers": {
"access-control-allow-origin": "*",
"access-control-expose-headers": "ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval",
"cache-control": "private, max-age=60, s-maxage=60",
"connection": "close",
"content-length": "1885",
"content-security-policy": "default-src 'none'",
"content-type": "application/json; charset=utf-8",
"date": "Tue, 10 Oct 2017 16:00:00 GMT",
"etag": "\"00000000000000000000000000000000\"",
"last-modified": "Tue, 10 Oct 2017 16:00:00 GMT",
"status": "200 OK",
"strict-transport-security": "max-age=31536000; includeSubdomains; preload",
"x-accepted-oauth-scopes": "",
"x-content-type-options": "nosniff",
"x-frame-options": "deny",
"x-github-media-type": "github.v3; format=json",
"x-github-request-id": "0000:00000:0000000:0000000:00000000",
"x-oauth-scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user",
"x-ratelimit-limit": "5000",
"x-ratelimit-remaining": "4999",
"x-ratelimit-reset": "1507651200000",
"x-runtime-rack": "0.000000",
"x-xss-protection": "1; mode=block"
}
},
{
"scope": "https://uploads.github.com:443",
"method": "post",
"path": "/repos/octokit-fixture-org/release-assets/releases/1000/assets?name=test-upload.txt&label=test",
"body": "Hello, world!\n",
"status": 201,
"response": {
"url": "https://api.github.com/repos/octokit-fixture-org/release-assets/releases/assets/1000",
"id": 1000,
"name": "test-upload.txt",
"label": "test",
"uploader": {
"login": "octokit-fixture-user-a",
"id": 1000,
"avatar_url": "https://avatars0.githubusercontent.com/u/1000?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/octokit-fixture-user-a",
"html_url": "https://github.com/octokit-fixture-user-a",
"followers_url": "https://api.github.com/users/octokit-fixture-user-a/followers",
"following_url": "https://api.github.com/users/octokit-fixture-user-a/following{/other_user}",
"gists_url": "https://api.github.com/users/octokit-fixture-user-a/gists{/gist_id}",
"starred_url": "https://api.github.com/users/octokit-fixture-user-a/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/octokit-fixture-user-a/subscriptions",
"organizations_url": "https://api.github.com/users/octokit-fixture-user-a/orgs",
"repos_url": "https://api.github.com/users/octokit-fixture-user-a/repos",
"events_url": "https://api.github.com/users/octokit-fixture-user-a/events{/privacy}",
"received_events_url": "https://api.github.com/users/octokit-fixture-user-a/received_events",
"type": "User",
"site_admin": false
},
"content_type": "text/plain",
"state": "uploaded",
"size": 14,
"download_count": 42,
"created_at": "2017-10-10T16:00:00Z",
"updated_at": "2017-10-10T16:00:00Z",
"browser_download_url": "https://github.com/octokit-fixture-org/release-assets/releases/download/v1.0.0/test-upload.txt"
},
"reqheaders": {
"accept": "application/vnd.github.v3+json",
"content-type": "text/plain",
"authorization": "token 0000000000000000000000000000000000000001",
"content-length": 14,
"host": "uploads.github.com"
},
"headers": {
"cache-control": "no-cache",
"connection": "close",
"content-security-policy": "default-src 'none'",
"content-type": "application/json; charset=utf-8",
"date": "Tue, 10 Oct 2017 16:00:00 GMT",
"etag": "\"00000000000000000000000000000000\"",
"last-modified": "Tue, 10 Oct 2017 16:00:00 GMT",
"strict-transport-security": "max-age=31557600",
"transfer-encoding": "chunked",
"x-content-type-options": "nosniff",
"x-frame-options": "deny",
"x-github-media-type": "github.v3; format=json",
"x-github-request-id": "0000:00000:0000000:0000000:00000000",
"x-oauth-scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user",
"x-xss-protection": "1; mode=block",
"content-length": "1460"
}
},
{
"scope": "https://api.github.com:443",
"method": "get",
"path": "/repos/octokit-fixture-org/release-assets/releases/1000/assets",
"body": "",
"status": 200,
"response": [
{
"url": "https://api.github.com/repos/octokit-fixture-org/release-assets/releases/assets/1000",
"id": 1000,
"name": "test-upload.txt",
"label": "test",
"uploader": {
"login": "octokit-fixture-user-a",
"id": 1000,
"avatar_url": "https://avatars0.githubusercontent.com/u/1000?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/octokit-fixture-user-a",
"html_url": "https://github.com/octokit-fixture-user-a",
"followers_url": "https://api.github.com/users/octokit-fixture-user-a/followers",
"following_url": "https://api.github.com/users/octokit-fixture-user-a/following{/other_user}",
"gists_url": "https://api.github.com/users/octokit-fixture-user-a/gists{/gist_id}",
"starred_url": "https://api.github.com/users/octokit-fixture-user-a/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/octokit-fixture-user-a/subscriptions",
"organizations_url": "https://api.github.com/users/octokit-fixture-user-a/orgs",
"repos_url": "https://api.github.com/users/octokit-fixture-user-a/repos",
"events_url": "https://api.github.com/users/octokit-fixture-user-a/events{/privacy}",
"received_events_url": "https://api.github.com/users/octokit-fixture-user-a/received_events",
"type": "User",
"site_admin": false
},
"content_type": "text/plain",
"state": "uploaded",
"size": 14,
"download_count": 42,
"created_at": "2017-10-10T16:00:00Z",
"updated_at": "2017-10-10T16:00:00Z",
"browser_download_url": "https://github.com/octokit-fixture-org/release-assets/releases/download/v1.0.0/test-upload.txt"
}
],
"reqheaders": {
"accept": "application/vnd.github.v3+json",
"authorization": "token 0000000000000000000000000000000000000001",
"host": "api.github.com"
},
"headers": {
"access-control-allow-origin": "*",
"access-control-expose-headers": "ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval",
"cache-control": "private, max-age=60, s-maxage=60",
"connection": "close",
"content-length": "1462",
"content-security-policy": "default-src 'none'",
"content-type": "application/json; charset=utf-8",
"date": "Tue, 10 Oct 2017 16:00:00 GMT",
"etag": "\"00000000000000000000000000000000\"",
"status": "200 OK",
"strict-transport-security": "max-age=31536000; includeSubdomains; preload",
"x-accepted-oauth-scopes": "",
"x-content-type-options": "nosniff",
"x-frame-options": "deny",
"x-github-media-type": "github.v3; format=json",
"x-github-request-id": "0000:00000:0000000:0000000:00000000",
"x-oauth-scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user",
"x-ratelimit-limit": "5000",
"x-ratelimit-remaining": "4999",
"x-ratelimit-reset": "1507651200000",
"x-runtime-rack": "0.000000",
"x-xss-protection": "1; mode=block"
}
},
{
"scope": "https://api.github.com:443",
"method": "get",
"path": "/repos/octokit-fixture-org/release-assets/releases/assets/1000",
"body": "",
"status": 200,
"response": {
"url": "https://api.github.com/repos/octokit-fixture-org/release-assets/releases/assets/1000",
"id": 1000,
"name": "test-upload.txt",
"label": "test",
"uploader": {
"login": "octokit-fixture-user-a",
"id": 1000,
"avatar_url": "https://avatars0.githubusercontent.com/u/1000?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/octokit-fixture-user-a",
"html_url": "https://github.com/octokit-fixture-user-a",
"followers_url": "https://api.github.com/users/octokit-fixture-user-a/followers",
"following_url": "https://api.github.com/users/octokit-fixture-user-a/following{/other_user}",
"gists_url": "https://api.github.com/users/octokit-fixture-user-a/gists{/gist_id}",
"starred_url": "https://api.github.com/users/octokit-fixture-user-a/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/octokit-fixture-user-a/subscriptions",
"organizations_url": "https://api.github.com/users/octokit-fixture-user-a/orgs",
"repos_url": "https://api.github.com/users/octokit-fixture-user-a/repos",
"events_url": "https://api.github.com/users/octokit-fixture-user-a/events{/privacy}",
"received_events_url": "https://api.github.com/users/octokit-fixture-user-a/received_events",
"type": "User",
"site_admin": false
},
"content_type": "text/plain",
"state": "uploaded",
"size": 14,
"download_count": 42,
"created_at": "2017-10-10T16:00:00Z",
"updated_at": "2017-10-10T16:00:00Z",
"browser_download_url": "https://github.com/octokit-fixture-org/release-assets/releases/download/v1.0.0/test-upload.txt"
},
"reqheaders": {
"accept": "application/vnd.github.v3+json",
"authorization": "token 0000000000000000000000000000000000000001",
"host": "api.github.com"
},
"headers": {
"access-control-allow-origin": "*",
"access-control-expose-headers": "ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval",
"cache-control": "private, max-age=60, s-maxage=60",
"connection": "close",
"content-length": "1460",
"content-security-policy": "default-src 'none'",
"content-type": "application/json; charset=utf-8",
"date": "Tue, 10 Oct 2017 16:00:00 GMT",
"etag": "\"00000000000000000000000000000000\"",
"last-modified": "Tue, 10 Oct 2017 16:00:00 GMT",
"status": "200 OK",
"strict-transport-security": "max-age=31536000; includeSubdomains; preload",
"x-accepted-oauth-scopes": "",
"x-content-type-options": "nosniff",
"x-frame-options": "deny",
"x-github-media-type": "github.v3; format=json",
"x-github-request-id": "0000:00000:0000000:0000000:00000000",
"x-oauth-scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user",
"x-ratelimit-limit": "5000",
"x-ratelimit-remaining": "4999",
"x-ratelimit-reset": "1507651200000",
"x-runtime-rack": "0.000000",
"x-xss-protection": "1; mode=block"
}
},
{
"scope": "https://api.github.com:443",
"method": "patch",
"path": "/repos/octokit-fixture-org/release-assets/releases/assets/1000",
"body": {
"name": "new-filename.txt",
"label": "new label"
},
"status": 200,
"response": {
"url": "https://api.github.com/repos/octokit-fixture-org/release-assets/releases/assets/1000",
"id": 1000,
"name": "new-filename.txt",
"label": "new label",
"uploader": {
"login": "octokit-fixture-user-a",
"id": 1000,
"avatar_url": "https://avatars0.githubusercontent.com/u/1000?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/octokit-fixture-user-a",
"html_url": "https://github.com/octokit-fixture-user-a",
"followers_url": "https://api.github.com/users/octokit-fixture-user-a/followers",
"following_url": "https://api.github.com/users/octokit-fixture-user-a/following{/other_user}",
"gists_url": "https://api.github.com/users/octokit-fixture-user-a/gists{/gist_id}",
"starred_url": "https://api.github.com/users/octokit-fixture-user-a/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/octokit-fixture-user-a/subscriptions",
"organizations_url": "https://api.github.com/users/octokit-fixture-user-a/orgs",
"repos_url": "https://api.github.com/users/octokit-fixture-user-a/repos",
"events_url": "https://api.github.com/users/octokit-fixture-user-a/events{/privacy}",
"received_events_url": "https://api.github.com/users/octokit-fixture-user-a/received_events",
"type": "User",
"site_admin": false
},
"content_type": "text/plain",
"state": "uploaded",
"size": 14,
"download_count": 42,
"created_at": "2017-10-10T16:00:00Z",
"updated_at": "2017-10-10T16:00:00Z",
"browser_download_url": "https://github.com/octokit-fixture-org/release-assets/releases/download/v1.0.0/new-filename.txt"
},
"reqheaders": {
"accept": "application/vnd.github.v3+json",
"content-type": "application/json; charset=utf-8",
"authorization": "token 0000000000000000000000000000000000000001",
"content-length": 47,
"host": "api.github.com"
},
"headers": {
"access-control-allow-origin": "*",
"access-control-expose-headers": "ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval",
"cache-control": "private, max-age=60, s-maxage=60",
"connection": "close",
"content-length": "1467",
"content-security-policy": "default-src 'none'",
"content-type": "application/json; charset=utf-8",
"date": "Tue, 10 Oct 2017 16:00:00 GMT",
"etag": "\"00000000000000000000000000000000\"",
"last-modified": "Tue, 10 Oct 2017 16:00:00 GMT",
"status": "200 OK",
"strict-transport-security": "max-age=31536000; includeSubdomains; preload",
"x-accepted-oauth-scopes": "",
"x-content-type-options": "nosniff",
"x-frame-options": "deny",
"x-github-media-type": "github.v3; format=json",
"x-github-request-id": "0000:00000:0000000:0000000:00000000",
"x-oauth-scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user",
"x-ratelimit-limit": "5000",
"x-ratelimit-remaining": "4999",
"x-ratelimit-reset": "1507651200000",
"x-runtime-rack": "0.000000",
"x-xss-protection": "1; mode=block"
}
},
{
"scope": "https://api.github.com:443",
"method": "delete",
"path": "/repos/octokit-fixture-org/release-assets/releases/assets/1000",
"body": "",
"status": 204,
"response": "",
"reqheaders": {
"accept": "application/vnd.github.v3+json",
"authorization": "token 0000000000000000000000000000000000000001",
"host": "api.github.com"
},
"headers": {
"access-control-allow-origin": "*",
"access-control-expose-headers": "ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval",
"connection": "close",
"content-security-policy": "default-src 'none'",
"content-type": "application/octet-stream",
"date": "Tue, 10 Oct 2017 16:00:00 GMT",
"status": "204 No Content",
"strict-transport-security": "max-age=31536000; includeSubdomains; preload",
"x-accepted-oauth-scopes": "",
"x-content-type-options": "nosniff",
"x-frame-options": "deny",
"x-github-media-type": "github.v3; format=json",
"x-github-request-id": "0000:00000:0000000:0000000:00000000",
"x-oauth-scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user",
"x-ratelimit-limit": "5000",
"x-ratelimit-remaining": "4999",
"x-ratelimit-reset": "1507651200000",
"x-runtime-rack": "0.000000",
"x-xss-protection": "1; mode=block",
"content-length": "0"
}
}
]