@volter/twin-github 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,702 @@
1
+ {
2
+ "title": "Issue Comment",
3
+ "description": "Comments provide a way for people to collaborate on an issue.",
4
+ "type": "object",
5
+ "properties": {
6
+ "id": {
7
+ "description": "Unique identifier of the issue comment",
8
+ "example": 42,
9
+ "type": "integer",
10
+ "format": "int64"
11
+ },
12
+ "node_id": {
13
+ "type": "string"
14
+ },
15
+ "url": {
16
+ "description": "URL for the issue comment",
17
+ "example": "https://api.github.com/repositories/42/issues/comments/1",
18
+ "type": "string",
19
+ "format": "uri"
20
+ },
21
+ "body": {
22
+ "description": "Contents of the issue comment",
23
+ "example": "What version of Safari were you using when you observed this bug?",
24
+ "type": "string"
25
+ },
26
+ "body_text": {
27
+ "type": "string"
28
+ },
29
+ "body_html": {
30
+ "type": "string"
31
+ },
32
+ "html_url": {
33
+ "type": "string",
34
+ "format": "uri"
35
+ },
36
+ "user": {
37
+ "title": "Simple User",
38
+ "description": "A GitHub user.",
39
+ "type": "object",
40
+ "properties": {
41
+ "name": {
42
+ "nullable": true,
43
+ "type": "string"
44
+ },
45
+ "email": {
46
+ "nullable": true,
47
+ "type": "string"
48
+ },
49
+ "login": {
50
+ "type": "string",
51
+ "example": "octocat"
52
+ },
53
+ "id": {
54
+ "type": "integer",
55
+ "format": "int64",
56
+ "example": 1
57
+ },
58
+ "node_id": {
59
+ "type": "string",
60
+ "example": "MDQ6VXNlcjE="
61
+ },
62
+ "avatar_url": {
63
+ "type": "string",
64
+ "format": "uri",
65
+ "example": "https://github.com/images/error/octocat_happy.gif"
66
+ },
67
+ "gravatar_id": {
68
+ "type": "string",
69
+ "example": "41d064eb2195891e12d0413f63227ea7",
70
+ "nullable": true
71
+ },
72
+ "url": {
73
+ "type": "string",
74
+ "format": "uri",
75
+ "example": "https://api.github.com/users/octocat"
76
+ },
77
+ "html_url": {
78
+ "type": "string",
79
+ "format": "uri",
80
+ "example": "https://github.com/octocat"
81
+ },
82
+ "followers_url": {
83
+ "type": "string",
84
+ "format": "uri",
85
+ "example": "https://api.github.com/users/octocat/followers"
86
+ },
87
+ "following_url": {
88
+ "type": "string",
89
+ "example": "https://api.github.com/users/octocat/following{/other_user}"
90
+ },
91
+ "gists_url": {
92
+ "type": "string",
93
+ "example": "https://api.github.com/users/octocat/gists{/gist_id}"
94
+ },
95
+ "starred_url": {
96
+ "type": "string",
97
+ "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
98
+ },
99
+ "subscriptions_url": {
100
+ "type": "string",
101
+ "format": "uri",
102
+ "example": "https://api.github.com/users/octocat/subscriptions"
103
+ },
104
+ "organizations_url": {
105
+ "type": "string",
106
+ "format": "uri",
107
+ "example": "https://api.github.com/users/octocat/orgs"
108
+ },
109
+ "repos_url": {
110
+ "type": "string",
111
+ "format": "uri",
112
+ "example": "https://api.github.com/users/octocat/repos"
113
+ },
114
+ "events_url": {
115
+ "type": "string",
116
+ "example": "https://api.github.com/users/octocat/events{/privacy}"
117
+ },
118
+ "received_events_url": {
119
+ "type": "string",
120
+ "format": "uri",
121
+ "example": "https://api.github.com/users/octocat/received_events"
122
+ },
123
+ "type": {
124
+ "type": "string",
125
+ "example": "User"
126
+ },
127
+ "site_admin": {
128
+ "type": "boolean"
129
+ },
130
+ "starred_at": {
131
+ "type": "string",
132
+ "example": "\"2020-07-09T00:17:55Z\""
133
+ },
134
+ "user_view_type": {
135
+ "type": "string",
136
+ "example": "public"
137
+ }
138
+ },
139
+ "required": [
140
+ "avatar_url",
141
+ "events_url",
142
+ "followers_url",
143
+ "following_url",
144
+ "gists_url",
145
+ "gravatar_id",
146
+ "html_url",
147
+ "id",
148
+ "node_id",
149
+ "login",
150
+ "organizations_url",
151
+ "received_events_url",
152
+ "repos_url",
153
+ "site_admin",
154
+ "starred_url",
155
+ "subscriptions_url",
156
+ "type",
157
+ "url"
158
+ ],
159
+ "nullable": true
160
+ },
161
+ "created_at": {
162
+ "type": "string",
163
+ "format": "date-time",
164
+ "example": "2011-04-14T16:00:49Z"
165
+ },
166
+ "updated_at": {
167
+ "type": "string",
168
+ "format": "date-time",
169
+ "example": "2011-04-14T16:00:49Z"
170
+ },
171
+ "issue_url": {
172
+ "type": "string",
173
+ "format": "uri"
174
+ },
175
+ "author_association": {
176
+ "title": "author_association",
177
+ "type": "string",
178
+ "example": "OWNER",
179
+ "description": "How the author is associated with the repository.",
180
+ "enum": [
181
+ "COLLABORATOR",
182
+ "CONTRIBUTOR",
183
+ "FIRST_TIMER",
184
+ "FIRST_TIME_CONTRIBUTOR",
185
+ "MANNEQUIN",
186
+ "MEMBER",
187
+ "NONE",
188
+ "OWNER"
189
+ ]
190
+ },
191
+ "performed_via_github_app": {
192
+ "title": "GitHub app",
193
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
194
+ "type": "object",
195
+ "nullable": true,
196
+ "properties": {
197
+ "id": {
198
+ "description": "Unique identifier of the GitHub app",
199
+ "example": 37,
200
+ "type": "integer"
201
+ },
202
+ "slug": {
203
+ "description": "The slug name of the GitHub app",
204
+ "example": "probot-owners",
205
+ "type": "string"
206
+ },
207
+ "node_id": {
208
+ "type": "string",
209
+ "example": "MDExOkludGVncmF0aW9uMQ=="
210
+ },
211
+ "client_id": {
212
+ "type": "string",
213
+ "example": "\"Iv1.25b5d1e65ffc4022\""
214
+ },
215
+ "owner": {
216
+ "oneOf": [
217
+ {
218
+ "title": "Simple User",
219
+ "description": "A GitHub user.",
220
+ "type": "object",
221
+ "properties": {
222
+ "name": {
223
+ "nullable": true,
224
+ "type": "string"
225
+ },
226
+ "email": {
227
+ "nullable": true,
228
+ "type": "string"
229
+ },
230
+ "login": {
231
+ "type": "string",
232
+ "example": "octocat"
233
+ },
234
+ "id": {
235
+ "type": "integer",
236
+ "format": "int64",
237
+ "example": 1
238
+ },
239
+ "node_id": {
240
+ "type": "string",
241
+ "example": "MDQ6VXNlcjE="
242
+ },
243
+ "avatar_url": {
244
+ "type": "string",
245
+ "format": "uri",
246
+ "example": "https://github.com/images/error/octocat_happy.gif"
247
+ },
248
+ "gravatar_id": {
249
+ "type": "string",
250
+ "example": "41d064eb2195891e12d0413f63227ea7",
251
+ "nullable": true
252
+ },
253
+ "url": {
254
+ "type": "string",
255
+ "format": "uri",
256
+ "example": "https://api.github.com/users/octocat"
257
+ },
258
+ "html_url": {
259
+ "type": "string",
260
+ "format": "uri",
261
+ "example": "https://github.com/octocat"
262
+ },
263
+ "followers_url": {
264
+ "type": "string",
265
+ "format": "uri",
266
+ "example": "https://api.github.com/users/octocat/followers"
267
+ },
268
+ "following_url": {
269
+ "type": "string",
270
+ "example": "https://api.github.com/users/octocat/following{/other_user}"
271
+ },
272
+ "gists_url": {
273
+ "type": "string",
274
+ "example": "https://api.github.com/users/octocat/gists{/gist_id}"
275
+ },
276
+ "starred_url": {
277
+ "type": "string",
278
+ "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
279
+ },
280
+ "subscriptions_url": {
281
+ "type": "string",
282
+ "format": "uri",
283
+ "example": "https://api.github.com/users/octocat/subscriptions"
284
+ },
285
+ "organizations_url": {
286
+ "type": "string",
287
+ "format": "uri",
288
+ "example": "https://api.github.com/users/octocat/orgs"
289
+ },
290
+ "repos_url": {
291
+ "type": "string",
292
+ "format": "uri",
293
+ "example": "https://api.github.com/users/octocat/repos"
294
+ },
295
+ "events_url": {
296
+ "type": "string",
297
+ "example": "https://api.github.com/users/octocat/events{/privacy}"
298
+ },
299
+ "received_events_url": {
300
+ "type": "string",
301
+ "format": "uri",
302
+ "example": "https://api.github.com/users/octocat/received_events"
303
+ },
304
+ "type": {
305
+ "type": "string",
306
+ "example": "User"
307
+ },
308
+ "site_admin": {
309
+ "type": "boolean"
310
+ },
311
+ "starred_at": {
312
+ "type": "string",
313
+ "example": "\"2020-07-09T00:17:55Z\""
314
+ },
315
+ "user_view_type": {
316
+ "type": "string",
317
+ "example": "public"
318
+ }
319
+ },
320
+ "required": [
321
+ "avatar_url",
322
+ "events_url",
323
+ "followers_url",
324
+ "following_url",
325
+ "gists_url",
326
+ "gravatar_id",
327
+ "html_url",
328
+ "id",
329
+ "node_id",
330
+ "login",
331
+ "organizations_url",
332
+ "received_events_url",
333
+ "repos_url",
334
+ "site_admin",
335
+ "starred_url",
336
+ "subscriptions_url",
337
+ "type",
338
+ "url"
339
+ ]
340
+ },
341
+ {
342
+ "title": "Enterprise",
343
+ "description": "An enterprise on GitHub.",
344
+ "type": "object",
345
+ "properties": {
346
+ "description": {
347
+ "description": "A short description of the enterprise.",
348
+ "type": "string",
349
+ "nullable": true
350
+ },
351
+ "html_url": {
352
+ "type": "string",
353
+ "format": "uri",
354
+ "example": "https://github.com/enterprises/octo-business"
355
+ },
356
+ "website_url": {
357
+ "description": "The enterprise's website URL.",
358
+ "type": "string",
359
+ "nullable": true,
360
+ "format": "uri"
361
+ },
362
+ "id": {
363
+ "description": "Unique identifier of the enterprise",
364
+ "example": 42,
365
+ "type": "integer"
366
+ },
367
+ "node_id": {
368
+ "type": "string",
369
+ "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
370
+ },
371
+ "name": {
372
+ "description": "The name of the enterprise.",
373
+ "type": "string",
374
+ "example": "Octo Business"
375
+ },
376
+ "slug": {
377
+ "description": "The slug url identifier for the enterprise.",
378
+ "type": "string",
379
+ "example": "octo-business"
380
+ },
381
+ "created_at": {
382
+ "type": "string",
383
+ "nullable": true,
384
+ "format": "date-time",
385
+ "example": "2019-01-26T19:01:12Z"
386
+ },
387
+ "updated_at": {
388
+ "type": "string",
389
+ "nullable": true,
390
+ "format": "date-time",
391
+ "example": "2019-01-26T19:14:43Z"
392
+ },
393
+ "avatar_url": {
394
+ "type": "string",
395
+ "format": "uri"
396
+ }
397
+ },
398
+ "required": [
399
+ "id",
400
+ "node_id",
401
+ "name",
402
+ "slug",
403
+ "html_url",
404
+ "created_at",
405
+ "updated_at",
406
+ "avatar_url"
407
+ ]
408
+ }
409
+ ]
410
+ },
411
+ "name": {
412
+ "description": "The name of the GitHub app",
413
+ "example": "Probot Owners",
414
+ "type": "string"
415
+ },
416
+ "description": {
417
+ "type": "string",
418
+ "example": "The description of the app.",
419
+ "nullable": true
420
+ },
421
+ "external_url": {
422
+ "type": "string",
423
+ "format": "uri",
424
+ "example": "https://example.com"
425
+ },
426
+ "html_url": {
427
+ "type": "string",
428
+ "format": "uri",
429
+ "example": "https://github.com/apps/super-ci"
430
+ },
431
+ "created_at": {
432
+ "type": "string",
433
+ "format": "date-time",
434
+ "example": "2017-07-08T16:18:44-04:00"
435
+ },
436
+ "updated_at": {
437
+ "type": "string",
438
+ "format": "date-time",
439
+ "example": "2017-07-08T16:18:44-04:00"
440
+ },
441
+ "permissions": {
442
+ "description": "The set of permissions for the GitHub app",
443
+ "type": "object",
444
+ "properties": {
445
+ "issues": {
446
+ "type": "string"
447
+ },
448
+ "checks": {
449
+ "type": "string"
450
+ },
451
+ "metadata": {
452
+ "type": "string"
453
+ },
454
+ "contents": {
455
+ "type": "string"
456
+ },
457
+ "deployments": {
458
+ "type": "string"
459
+ }
460
+ },
461
+ "additionalProperties": {
462
+ "type": "string"
463
+ },
464
+ "example": {
465
+ "issues": "read",
466
+ "deployments": "write"
467
+ }
468
+ },
469
+ "events": {
470
+ "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.",
471
+ "example": [
472
+ "label",
473
+ "deployment"
474
+ ],
475
+ "type": "array",
476
+ "items": {
477
+ "type": "string"
478
+ }
479
+ },
480
+ "installations_count": {
481
+ "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.",
482
+ "example": 5,
483
+ "type": "integer"
484
+ }
485
+ },
486
+ "required": [
487
+ "id",
488
+ "node_id",
489
+ "owner",
490
+ "name",
491
+ "description",
492
+ "external_url",
493
+ "html_url",
494
+ "created_at",
495
+ "updated_at",
496
+ "permissions",
497
+ "events"
498
+ ]
499
+ },
500
+ "reactions": {
501
+ "title": "Reaction Rollup",
502
+ "type": "object",
503
+ "properties": {
504
+ "url": {
505
+ "type": "string",
506
+ "format": "uri"
507
+ },
508
+ "total_count": {
509
+ "type": "integer"
510
+ },
511
+ "+1": {
512
+ "type": "integer"
513
+ },
514
+ "-1": {
515
+ "type": "integer"
516
+ },
517
+ "laugh": {
518
+ "type": "integer"
519
+ },
520
+ "confused": {
521
+ "type": "integer"
522
+ },
523
+ "heart": {
524
+ "type": "integer"
525
+ },
526
+ "hooray": {
527
+ "type": "integer"
528
+ },
529
+ "eyes": {
530
+ "type": "integer"
531
+ },
532
+ "rocket": {
533
+ "type": "integer"
534
+ }
535
+ },
536
+ "required": [
537
+ "url",
538
+ "total_count",
539
+ "+1",
540
+ "-1",
541
+ "laugh",
542
+ "confused",
543
+ "heart",
544
+ "hooray",
545
+ "eyes",
546
+ "rocket"
547
+ ]
548
+ },
549
+ "pin": {
550
+ "title": "Pinned Issue Comment",
551
+ "description": "Context around who pinned an issue comment and when it was pinned.",
552
+ "type": "object",
553
+ "properties": {
554
+ "pinned_at": {
555
+ "type": "string",
556
+ "format": "date-time",
557
+ "example": "2011-04-14T16:00:49Z"
558
+ },
559
+ "pinned_by": {
560
+ "title": "Simple User",
561
+ "description": "A GitHub user.",
562
+ "type": "object",
563
+ "properties": {
564
+ "name": {
565
+ "nullable": true,
566
+ "type": "string"
567
+ },
568
+ "email": {
569
+ "nullable": true,
570
+ "type": "string"
571
+ },
572
+ "login": {
573
+ "type": "string",
574
+ "example": "octocat"
575
+ },
576
+ "id": {
577
+ "type": "integer",
578
+ "format": "int64",
579
+ "example": 1
580
+ },
581
+ "node_id": {
582
+ "type": "string",
583
+ "example": "MDQ6VXNlcjE="
584
+ },
585
+ "avatar_url": {
586
+ "type": "string",
587
+ "format": "uri",
588
+ "example": "https://github.com/images/error/octocat_happy.gif"
589
+ },
590
+ "gravatar_id": {
591
+ "type": "string",
592
+ "example": "41d064eb2195891e12d0413f63227ea7",
593
+ "nullable": true
594
+ },
595
+ "url": {
596
+ "type": "string",
597
+ "format": "uri",
598
+ "example": "https://api.github.com/users/octocat"
599
+ },
600
+ "html_url": {
601
+ "type": "string",
602
+ "format": "uri",
603
+ "example": "https://github.com/octocat"
604
+ },
605
+ "followers_url": {
606
+ "type": "string",
607
+ "format": "uri",
608
+ "example": "https://api.github.com/users/octocat/followers"
609
+ },
610
+ "following_url": {
611
+ "type": "string",
612
+ "example": "https://api.github.com/users/octocat/following{/other_user}"
613
+ },
614
+ "gists_url": {
615
+ "type": "string",
616
+ "example": "https://api.github.com/users/octocat/gists{/gist_id}"
617
+ },
618
+ "starred_url": {
619
+ "type": "string",
620
+ "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
621
+ },
622
+ "subscriptions_url": {
623
+ "type": "string",
624
+ "format": "uri",
625
+ "example": "https://api.github.com/users/octocat/subscriptions"
626
+ },
627
+ "organizations_url": {
628
+ "type": "string",
629
+ "format": "uri",
630
+ "example": "https://api.github.com/users/octocat/orgs"
631
+ },
632
+ "repos_url": {
633
+ "type": "string",
634
+ "format": "uri",
635
+ "example": "https://api.github.com/users/octocat/repos"
636
+ },
637
+ "events_url": {
638
+ "type": "string",
639
+ "example": "https://api.github.com/users/octocat/events{/privacy}"
640
+ },
641
+ "received_events_url": {
642
+ "type": "string",
643
+ "format": "uri",
644
+ "example": "https://api.github.com/users/octocat/received_events"
645
+ },
646
+ "type": {
647
+ "type": "string",
648
+ "example": "User"
649
+ },
650
+ "site_admin": {
651
+ "type": "boolean"
652
+ },
653
+ "starred_at": {
654
+ "type": "string",
655
+ "example": "\"2020-07-09T00:17:55Z\""
656
+ },
657
+ "user_view_type": {
658
+ "type": "string",
659
+ "example": "public"
660
+ }
661
+ },
662
+ "required": [
663
+ "avatar_url",
664
+ "events_url",
665
+ "followers_url",
666
+ "following_url",
667
+ "gists_url",
668
+ "gravatar_id",
669
+ "html_url",
670
+ "id",
671
+ "node_id",
672
+ "login",
673
+ "organizations_url",
674
+ "received_events_url",
675
+ "repos_url",
676
+ "site_admin",
677
+ "starred_url",
678
+ "subscriptions_url",
679
+ "type",
680
+ "url"
681
+ ],
682
+ "nullable": true
683
+ }
684
+ },
685
+ "required": [
686
+ "pinned_at",
687
+ "pinned_by"
688
+ ],
689
+ "nullable": true
690
+ }
691
+ },
692
+ "required": [
693
+ "id",
694
+ "node_id",
695
+ "html_url",
696
+ "issue_url",
697
+ "user",
698
+ "url",
699
+ "created_at",
700
+ "updated_at"
701
+ ]
702
+ }