@octokit/openapi 5.6.4 → 5.6.5

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.
Files changed (27) hide show
  1. package/generated/api.github.com.deref.json +2 -2
  2. package/generated/api.github.com.json +2 -2
  3. package/generated/ghes-2.22-diff-to-ghes-3.0.deref.json +1 -1
  4. package/generated/ghes-2.22-diff-to-ghes-3.0.json +1 -1
  5. package/generated/ghes-2.22.deref.json +1 -1
  6. package/generated/ghes-2.22.json +1 -1
  7. package/generated/ghes-3.0-anicca-diff-to-ghes-3.1.deref.json +0 -145
  8. package/generated/ghes-3.0-diff-to-ghes-3.1.deref.json +8739 -19455
  9. package/generated/ghes-3.0-diff-to-ghes-3.1.json +245 -1527
  10. package/generated/ghes-3.0.deref.json +7 -7
  11. package/generated/ghes-3.0.json +7 -7
  12. package/generated/ghes-3.1-anicca-diff-to-ghes-3.2.deref.json +286 -1467
  13. package/generated/ghes-3.1-diff-to-ghes-3.2.deref.json +81247 -128945
  14. package/generated/ghes-3.1-diff-to-ghes-3.2.json +9485 -14738
  15. package/generated/ghes-3.1.deref.json +39 -39
  16. package/generated/ghes-3.1.json +39 -39
  17. package/generated/ghes-3.2-anicca-diff-to-api.github.com.deref.json +0 -130
  18. package/generated/ghes-3.2-diff-to-api.github.com.deref.json +282 -2066
  19. package/generated/ghes-3.2-diff-to-api.github.com.json +160 -865
  20. package/generated/ghes-3.2.deref.json +8 -8
  21. package/generated/ghes-3.2.json +8 -20
  22. package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +0 -55
  23. package/generated/github.ae-diff-to-api.github.com.deref.json +1 -4963
  24. package/generated/github.ae-diff-to-api.github.com.json +106 -2784
  25. package/generated/github.ae.deref.json +5 -5
  26. package/generated/github.ae.json +5 -11
  27. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "5.6.4",
4
+ "version": "5.6.5",
5
5
  "title": "GitHub's official OpenAPI spec + Octokit extension",
6
6
  "description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
7
7
  "license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
@@ -153,102 +153,6 @@
153
153
  "x-octokit": { "diff": { "ghes-3.1.json": { "type": "changed" } } }
154
154
  }
155
155
  },
156
- "/gists": {
157
- "post": {
158
- "summary": "Create a gist",
159
- "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.",
160
- "operationId": "gists/create",
161
- "tags": ["gists"],
162
- "externalDocs": {
163
- "description": "API method documentation",
164
- "url": "https://docs.github.com/enterprise-server@3.0/rest/reference/gists#create-a-gist"
165
- },
166
- "parameters": [],
167
- "requestBody": {
168
- "required": true,
169
- "content": {
170
- "application/json": {
171
- "schema": {
172
- "properties": {
173
- "description": {
174
- "description": "Description of the gist",
175
- "example": "Example Ruby script",
176
- "type": "string"
177
- },
178
- "files": {
179
- "description": "Names and content for the files that make up the gist",
180
- "example": {
181
- "hello.rb": { "content": "puts \"Hello, World!\"" }
182
- },
183
- "type": "object",
184
- "additionalProperties": {
185
- "type": "object",
186
- "properties": {
187
- "content": {
188
- "description": "Content of the file",
189
- "readOnly": false,
190
- "type": "string"
191
- }
192
- },
193
- "required": ["content"]
194
- }
195
- },
196
- "public": {
197
- "oneOf": [
198
- {
199
- "description": "Flag indicating whether the gist is public",
200
- "example": true,
201
- "type": "boolean",
202
- "default": false
203
- },
204
- {
205
- "type": "string",
206
- "example": "true",
207
- "default": "false",
208
- "enum": ["true", "false"]
209
- }
210
- ]
211
- }
212
- },
213
- "required": ["files"],
214
- "type": "object"
215
- }
216
- }
217
- }
218
- },
219
- "responses": {
220
- "201": {
221
- "description": "Response",
222
- "content": {
223
- "application/json": {
224
- "schema": { "$ref": "#/components/schemas/gist-simple" },
225
- "examples": {
226
- "default": { "$ref": "#/components/examples/gist" }
227
- }
228
- }
229
- },
230
- "headers": {
231
- "Location": {
232
- "example": "https://api.github.com/gists/aa5a315d61ae9438b18d",
233
- "schema": { "type": "string" }
234
- }
235
- }
236
- },
237
- "304": { "$ref": "#/components/responses/not_modified" },
238
- "403": { "$ref": "#/components/responses/forbidden" },
239
- "404": { "$ref": "#/components/responses/not_found" },
240
- "422": { "$ref": "#/components/responses/validation_failed" }
241
- },
242
- "x-github": {
243
- "githubCloudOnly": false,
244
- "enabledForGitHubApps": false,
245
- "previews": [],
246
- "category": "gists",
247
- "subcategory": null
248
- },
249
- "x-octokit": { "diff": { "ghes-3.1.json": { "type": "changed" } } }
250
- }
251
- },
252
156
  "/gists/{gist_id}": {
253
157
  "get": {
254
158
  "summary": "Get a gist",
@@ -284,92 +188,6 @@
284
188
  "subcategory": null
285
189
  },
286
190
  "x-octokit": { "diff": { "ghes-3.1.json": { "type": "changed" } } }
287
- },
288
- "patch": {
289
- "summary": "Update a gist",
290
- "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.",
291
- "tags": ["gists"],
292
- "operationId": "gists/update",
293
- "externalDocs": {
294
- "description": "API method documentation",
295
- "url": "https://docs.github.com/enterprise-server@3.0/rest/reference/gists/#update-a-gist"
296
- },
297
- "parameters": [{ "$ref": "#/components/parameters/gist-id" }],
298
- "requestBody": {
299
- "required": true,
300
- "content": {
301
- "application/json": {
302
- "schema": {
303
- "properties": {
304
- "description": {
305
- "description": "Description of the gist",
306
- "example": "Example Ruby script",
307
- "type": "string"
308
- },
309
- "files": {
310
- "description": "Names of files to be updated",
311
- "example": {
312
- "hello.rb": {
313
- "content": "blah",
314
- "filename": "goodbye.rb"
315
- }
316
- },
317
- "type": "object",
318
- "additionalProperties": {
319
- "type": "object",
320
- "nullable": true,
321
- "properties": {
322
- "content": {
323
- "description": "The new content of the file",
324
- "type": "string"
325
- },
326
- "filename": {
327
- "description": "The new filename for the file",
328
- "type": "string",
329
- "nullable": true
330
- }
331
- },
332
- "anyOf": [
333
- { "required": ["content"] },
334
- { "required": ["filename"] },
335
- { "type": "object", "maxProperties": 0 }
336
- ]
337
- }
338
- }
339
- },
340
- "anyOf": [
341
- { "required": ["description"] },
342
- { "required": ["files"] }
343
- ],
344
- "type": "object",
345
- "nullable": true
346
- }
347
- }
348
- }
349
- },
350
- "responses": {
351
- "200": {
352
- "description": "Response",
353
- "content": {
354
- "application/json": {
355
- "schema": { "$ref": "#/components/schemas/gist-simple" },
356
- "examples": {
357
- "default": { "$ref": "#/components/examples/gist" }
358
- }
359
- }
360
- }
361
- },
362
- "404": { "$ref": "#/components/responses/not_found" },
363
- "422": { "$ref": "#/components/responses/validation_failed" }
364
- },
365
- "x-github": {
366
- "githubCloudOnly": false,
367
- "enabledForGitHubApps": false,
368
- "previews": [],
369
- "category": "gists",
370
- "subcategory": null
371
- },
372
- "x-octokit": { "diff": { "ghes-3.1.json": { "type": "changed" } } }
373
191
  }
374
192
  },
375
193
  "/gists/{gist_id}/forks": {
@@ -606,94 +424,6 @@
606
424
  "subcategory": null
607
425
  },
608
426
  "x-octokit": { "diff": { "ghes-3.1.json": { "type": "changed" } } }
609
- },
610
- "post": {
611
- "summary": "Create a pull request",
612
- "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nYou can create a new pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.",
613
- "tags": ["pulls"],
614
- "operationId": "pulls/create",
615
- "externalDocs": {
616
- "description": "API method documentation",
617
- "url": "https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#create-a-pull-request"
618
- },
619
- "parameters": [
620
- { "$ref": "#/components/parameters/owner" },
621
- { "$ref": "#/components/parameters/repo" }
622
- ],
623
- "requestBody": {
624
- "required": true,
625
- "content": {
626
- "application/json": {
627
- "schema": {
628
- "type": "object",
629
- "properties": {
630
- "title": {
631
- "type": "string",
632
- "description": "The title of the new pull request."
633
- },
634
- "head": {
635
- "type": "string",
636
- "description": "The name of the branch where your changes are implemented. For cross-repository pull requests in the same network, namespace `head` with a user like this: `username:branch`."
637
- },
638
- "base": {
639
- "type": "string",
640
- "description": "The name of the branch you want the changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repository that requests a merge to a base of another repository."
641
- },
642
- "body": {
643
- "type": "string",
644
- "description": "The contents of the pull request."
645
- },
646
- "maintainer_can_modify": {
647
- "type": "boolean",
648
- "description": "Indicates whether [maintainers can modify](https://help.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request."
649
- },
650
- "draft": {
651
- "type": "boolean",
652
- "description": "Indicates whether the pull request is a draft. See \"[Draft Pull Requests](https://help.github.com/en/articles/about-pull-requests#draft-pull-requests)\" in the GitHub Help documentation to learn more."
653
- },
654
- "issue": { "type": "integer", "example": 1 }
655
- },
656
- "required": ["head", "base"]
657
- },
658
- "example": {
659
- "title": "Amazing new feature",
660
- "body": "Please pull these awesome changes in!",
661
- "head": "octocat:new-feature",
662
- "base": "master"
663
- }
664
- }
665
- }
666
- },
667
- "responses": {
668
- "201": {
669
- "description": "Response",
670
- "content": {
671
- "application/json": {
672
- "schema": { "$ref": "#/components/schemas/pull-request" },
673
- "examples": {
674
- "default": { "$ref": "#/components/examples/pull-request" }
675
- }
676
- }
677
- },
678
- "headers": {
679
- "Location": {
680
- "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1347",
681
- "schema": { "type": "string" }
682
- }
683
- }
684
- },
685
- "403": { "$ref": "#/components/responses/forbidden" },
686
- "422": { "$ref": "#/components/responses/validation_failed" }
687
- },
688
- "x-github": {
689
- "triggersNotification": true,
690
- "githubCloudOnly": false,
691
- "enabledForGitHubApps": true,
692
- "previews": [],
693
- "category": "pulls",
694
- "subcategory": null
695
- },
696
- "x-octokit": { "diff": { "ghes-3.1.json": { "type": "changed" } } }
697
427
  }
698
428
  },
699
429
  "/repos/{owner}/{repo}/pulls/{pull_number}": {
@@ -735,333 +465,92 @@
735
465
  "subcategory": null
736
466
  },
737
467
  "x-octokit": { "diff": { "ghes-3.1.json": { "type": "changed" } } }
738
- },
739
- "patch": {
740
- "summary": "Update a pull request",
741
- "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.",
742
- "tags": ["pulls"],
743
- "operationId": "pulls/update",
744
- "externalDocs": {
745
- "description": "API method documentation",
746
- "url": "https://docs.github.com/enterprise-server@3.0/rest/reference/pulls/#update-a-pull-request"
747
- },
748
- "parameters": [
749
- { "$ref": "#/components/parameters/owner" },
750
- { "$ref": "#/components/parameters/repo" },
751
- { "$ref": "#/components/parameters/pull-number" }
752
- ],
753
- "requestBody": {
754
- "content": {
755
- "application/json": {
756
- "schema": {
757
- "type": "object",
758
- "properties": {
759
- "title": {
760
- "type": "string",
761
- "description": "The title of the pull request."
762
- },
763
- "body": {
764
- "type": "string",
765
- "description": "The contents of the pull request."
766
- },
767
- "state": {
768
- "type": "string",
769
- "description": "State of this Pull Request. Either `open` or `closed`.",
770
- "enum": ["open", "closed"]
771
- },
772
- "base": {
773
- "type": "string",
774
- "description": "The name of the branch you want your changes pulled into. This should be an existing branch on the current repository. You cannot update the base branch on a pull request to point to another repository."
775
- },
776
- "maintainer_can_modify": {
777
- "type": "boolean",
778
- "description": "Indicates whether [maintainers can modify](https://help.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request."
779
- }
780
- }
468
+ }
469
+ }
470
+ },
471
+ "components": {
472
+ "schemas": {
473
+ "feed": {
474
+ "title": "Feed",
475
+ "description": "Feed",
476
+ "type": "object",
477
+ "properties": {
478
+ "timeline_url": {
479
+ "type": "string",
480
+ "example": "https://github.com/timeline"
481
+ },
482
+ "user_url": {
483
+ "type": "string",
484
+ "example": "https://github.com/{user}"
485
+ },
486
+ "current_user_public_url": {
487
+ "type": "string",
488
+ "example": "https://github.com/octocat"
489
+ },
490
+ "current_user_url": {
491
+ "type": "string",
492
+ "example": "https://github.com/octocat.private?token=abc123"
493
+ },
494
+ "current_user_actor_url": {
495
+ "type": "string",
496
+ "example": "https://github.com/octocat.private.actor?token=abc123"
497
+ },
498
+ "current_user_organization_url": {
499
+ "type": "string",
500
+ "example": "https://github.com/octocat-org"
501
+ },
502
+ "current_user_organization_urls": {
503
+ "type": "array",
504
+ "example": [
505
+ "https://github.com/organizations/github/octocat.private.atom?token=abc123"
506
+ ],
507
+ "items": { "type": "string", "format": "uri" }
508
+ },
509
+ "_links": {
510
+ "type": "object",
511
+ "properties": {
512
+ "timeline": { "$ref": "#/components/schemas/link-with-type" },
513
+ "user": { "$ref": "#/components/schemas/link-with-type" },
514
+ "security_advisories": {
515
+ "$ref": "#/components/schemas/link-with-type"
516
+ },
517
+ "current_user": { "$ref": "#/components/schemas/link-with-type" },
518
+ "current_user_public": {
519
+ "$ref": "#/components/schemas/link-with-type"
781
520
  },
782
- "example": {
783
- "title": "new title",
784
- "body": "updated body",
785
- "state": "open",
786
- "base": "master"
521
+ "current_user_actor": {
522
+ "$ref": "#/components/schemas/link-with-type"
523
+ },
524
+ "current_user_organization": {
525
+ "$ref": "#/components/schemas/link-with-type"
526
+ },
527
+ "current_user_organizations": {
528
+ "type": "array",
529
+ "items": { "$ref": "#/components/schemas/link-with-type" }
787
530
  }
788
- }
531
+ },
532
+ "required": ["timeline", "user"]
789
533
  }
790
534
  },
791
- "responses": {
792
- "200": {
793
- "description": "Response",
794
- "content": {
795
- "application/json": {
796
- "schema": { "$ref": "#/components/schemas/pull-request" },
797
- "examples": {
798
- "default": { "$ref": "#/components/examples/pull-request" }
799
- }
800
- }
801
- }
802
- },
803
- "403": { "$ref": "#/components/responses/forbidden" },
804
- "422": { "$ref": "#/components/responses/validation_failed" }
805
- },
806
- "x-github": {
807
- "githubCloudOnly": false,
808
- "enabledForGitHubApps": true,
809
- "previews": [],
810
- "category": "pulls",
811
- "subcategory": null
812
- },
813
- "x-octokit": { "diff": { "ghes-3.1.json": { "type": "changed" } } }
814
- }
815
- },
816
- "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": {
817
- "post": {
818
- "summary": "Request reviewers for a pull request",
819
- "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.0/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.",
820
- "tags": ["pulls"],
821
- "operationId": "pulls/request-reviewers",
822
- "externalDocs": {
823
- "description": "API method documentation",
824
- "url": "https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#request-reviewers-for-a-pull-request"
825
- },
826
- "parameters": [
827
- { "$ref": "#/components/parameters/owner" },
828
- { "$ref": "#/components/parameters/repo" },
829
- { "$ref": "#/components/parameters/pull-number" }
830
- ],
831
- "requestBody": {
832
- "content": {
833
- "application/json": {
834
- "schema": {
835
- "type": "object",
836
- "properties": {
837
- "reviewers": {
838
- "type": "array",
839
- "description": "An array of user `login`s that will be requested.",
840
- "items": { "type": "string" }
841
- },
842
- "team_reviewers": {
843
- "type": "array",
844
- "description": "An array of team `slug`s that will be requested.",
845
- "items": { "type": "string" }
846
- }
847
- },
848
- "anyOf": [
849
- { "required": ["reviewers"] },
850
- { "required": ["team_reviewers"] }
851
- ]
852
- },
853
- "example": {
854
- "reviewers": ["octocat", "hubot", "other_user"],
855
- "team_reviewers": ["justice-league"]
856
- }
857
- }
858
- }
859
- },
860
- "responses": {
861
- "201": {
862
- "description": "Response",
863
- "content": {
864
- "application/json": {
865
- "schema": {
866
- "$ref": "#/components/schemas/pull-request-simple"
867
- },
868
- "examples": {
869
- "default": {
870
- "$ref": "#/components/examples/pull-request-review-request"
871
- }
872
- }
873
- }
874
- }
875
- },
876
- "403": { "$ref": "#/components/responses/forbidden" },
877
- "422": {
878
- "description": "Unprocessable Entity if user is not a collaborator"
879
- }
880
- },
881
- "x-github": {
882
- "triggersNotification": true,
883
- "githubCloudOnly": false,
884
- "enabledForGitHubApps": true,
885
- "previews": [],
886
- "category": "pulls",
887
- "subcategory": "review-requests"
888
- },
889
- "x-octokit": { "diff": { "ghes-3.1.json": { "type": "changed" } } }
890
- }
891
- },
892
- "/user": {
893
- "patch": {
894
- "summary": "Update the authenticated user",
895
- "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.",
896
- "tags": ["users"],
897
- "operationId": "users/update-authenticated",
898
- "externalDocs": {
899
- "description": "API method documentation",
900
- "url": "https://docs.github.com/enterprise-server@3.0/rest/reference/users/#update-the-authenticated-user"
901
- },
902
- "parameters": [],
903
- "requestBody": {
904
- "content": {
905
- "application/json": {
906
- "schema": {
907
- "type": "object",
908
- "properties": {
909
- "name": {
910
- "description": "The new name of the user.",
911
- "type": "string",
912
- "example": "Omar Jahandar"
913
- },
914
- "email": {
915
- "description": "The publicly visible email address of the user.",
916
- "type": "string",
917
- "example": "omar@example.com"
918
- },
919
- "blog": {
920
- "description": "The new blog URL of the user.",
921
- "type": "string",
922
- "example": "blog.example.com"
923
- },
924
- "twitter_username": {
925
- "description": "The new Twitter username of the user.",
926
- "type": "string",
927
- "example": "therealomarj",
928
- "nullable": true
929
- },
930
- "company": {
931
- "description": "The new company of the user.",
932
- "type": "string",
933
- "example": "Acme corporation"
934
- },
935
- "location": {
936
- "description": "The new location of the user.",
937
- "type": "string",
938
- "example": "Berlin, Germany"
939
- },
940
- "hireable": {
941
- "description": "The new hiring availability of the user.",
942
- "type": "boolean"
943
- },
944
- "bio": {
945
- "description": "The new short biography of the user.",
946
- "type": "string"
947
- }
948
- }
949
- }
950
- }
951
- }
952
- },
953
- "responses": {
954
- "200": {
955
- "description": "Response",
956
- "content": {
957
- "application/json": {
958
- "schema": { "$ref": "#/components/schemas/private-user" },
959
- "examples": {
960
- "default": { "$ref": "#/components/examples/private-user" }
961
- }
962
- }
963
- }
964
- },
965
- "304": { "$ref": "#/components/responses/not_modified" },
966
- "401": { "$ref": "#/components/responses/requires_authentication" },
967
- "403": { "$ref": "#/components/responses/forbidden" },
968
- "404": { "$ref": "#/components/responses/not_found" },
969
- "422": { "$ref": "#/components/responses/validation_failed" }
970
- },
971
- "x-github": {
972
- "githubCloudOnly": false,
973
- "enabledForGitHubApps": false,
974
- "previews": [],
975
- "category": "users",
976
- "subcategory": null
977
- },
978
- "x-octokit": { "diff": { "ghes-3.1.json": { "type": "changed" } } }
979
- }
980
- }
981
- },
982
- "components": {
983
- "schemas": {
984
- "feed": {
985
- "title": "Feed",
986
- "description": "Feed",
987
- "type": "object",
988
- "properties": {
989
- "timeline_url": {
990
- "type": "string",
991
- "example": "https://github.com/timeline"
992
- },
993
- "user_url": {
994
- "type": "string",
995
- "example": "https://github.com/{user}"
996
- },
997
- "current_user_public_url": {
998
- "type": "string",
999
- "example": "https://github.com/octocat"
1000
- },
1001
- "current_user_url": {
1002
- "type": "string",
1003
- "example": "https://github.com/octocat.private?token=abc123"
1004
- },
1005
- "current_user_actor_url": {
1006
- "type": "string",
1007
- "example": "https://github.com/octocat.private.actor?token=abc123"
1008
- },
1009
- "current_user_organization_url": {
1010
- "type": "string",
1011
- "example": "https://github.com/octocat-org"
1012
- },
1013
- "current_user_organization_urls": {
1014
- "type": "array",
1015
- "example": [
1016
- "https://github.com/organizations/github/octocat.private.atom?token=abc123"
1017
- ],
1018
- "items": { "type": "string", "format": "uri" }
1019
- },
1020
- "_links": {
1021
- "type": "object",
1022
- "properties": {
1023
- "timeline": { "$ref": "#/components/schemas/link-with-type" },
1024
- "user": { "$ref": "#/components/schemas/link-with-type" },
1025
- "security_advisories": {
1026
- "$ref": "#/components/schemas/link-with-type"
1027
- },
1028
- "current_user": { "$ref": "#/components/schemas/link-with-type" },
1029
- "current_user_public": {
1030
- "$ref": "#/components/schemas/link-with-type"
1031
- },
1032
- "current_user_actor": {
1033
- "$ref": "#/components/schemas/link-with-type"
1034
- },
1035
- "current_user_organization": {
1036
- "$ref": "#/components/schemas/link-with-type"
1037
- },
1038
- "current_user_organizations": {
1039
- "type": "array",
1040
- "items": { "$ref": "#/components/schemas/link-with-type" }
1041
- }
1042
- },
1043
- "required": ["timeline", "user"]
1044
- }
1045
- },
1046
- "required": ["_links", "timeline_url", "user_url"]
1047
- },
1048
- "gist-simple": {
1049
- "title": "Gist Simple",
1050
- "description": "Gist Simple",
1051
- "type": "object",
1052
- "properties": {
1053
- "forks": {
1054
- "deprecated": true,
1055
- "nullable": true,
1056
- "type": "array",
1057
- "items": {
1058
- "type": "object",
1059
- "properties": {
1060
- "id": { "type": "string" },
1061
- "url": { "type": "string", "format": "uri" },
1062
- "user": { "$ref": "#/components/schemas/public-user" },
1063
- "created_at": { "type": "string", "format": "date-time" },
1064
- "updated_at": { "type": "string", "format": "date-time" }
535
+ "required": ["_links", "timeline_url", "user_url"]
536
+ },
537
+ "gist-simple": {
538
+ "title": "Gist Simple",
539
+ "description": "Gist Simple",
540
+ "type": "object",
541
+ "properties": {
542
+ "forks": {
543
+ "deprecated": true,
544
+ "nullable": true,
545
+ "type": "array",
546
+ "items": {
547
+ "type": "object",
548
+ "properties": {
549
+ "id": { "type": "string" },
550
+ "url": { "type": "string", "format": "uri" },
551
+ "user": { "$ref": "#/components/schemas/public-user" },
552
+ "created_at": { "type": "string", "format": "date-time" },
553
+ "updated_at": { "type": "string", "format": "date-time" }
1065
554
  }
1066
555
  }
1067
556
  },
@@ -2208,242 +1697,61 @@
2208
1697
  "review_comments"
2209
1698
  ]
2210
1699
  },
2211
- "private-user": {
2212
- "title": "Private User",
2213
- "description": "Private User",
1700
+ "link-with-type": {
1701
+ "title": "Link With Type",
1702
+ "description": "Hypermedia Link with Type",
2214
1703
  "type": "object",
2215
1704
  "properties": {
2216
- "login": { "type": "string", "example": "octocat" },
2217
- "id": { "type": "integer", "example": 1 },
2218
- "node_id": { "type": "string", "example": "MDQ6VXNlcjE=" },
2219
- "avatar_url": {
2220
- "type": "string",
2221
- "format": "uri",
2222
- "example": "https://github.com/images/error/octocat_happy.gif"
2223
- },
2224
- "gravatar_id": {
2225
- "type": "string",
2226
- "example": "41d064eb2195891e12d0413f63227ea7",
2227
- "nullable": true
2228
- },
2229
- "url": {
2230
- "type": "string",
2231
- "format": "uri",
2232
- "example": "https://api.github.com/users/octocat"
2233
- },
2234
- "html_url": {
2235
- "type": "string",
2236
- "format": "uri",
2237
- "example": "https://github.com/octocat"
2238
- },
2239
- "followers_url": {
2240
- "type": "string",
2241
- "format": "uri",
2242
- "example": "https://api.github.com/users/octocat/followers"
2243
- },
2244
- "following_url": {
2245
- "type": "string",
2246
- "example": "https://api.github.com/users/octocat/following{/other_user}"
2247
- },
2248
- "gists_url": {
2249
- "type": "string",
2250
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
2251
- },
2252
- "starred_url": {
2253
- "type": "string",
2254
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
2255
- },
2256
- "subscriptions_url": {
2257
- "type": "string",
2258
- "format": "uri",
2259
- "example": "https://api.github.com/users/octocat/subscriptions"
2260
- },
2261
- "organizations_url": {
2262
- "type": "string",
2263
- "format": "uri",
2264
- "example": "https://api.github.com/users/octocat/orgs"
2265
- },
2266
- "repos_url": {
2267
- "type": "string",
2268
- "format": "uri",
2269
- "example": "https://api.github.com/users/octocat/repos"
2270
- },
2271
- "events_url": {
2272
- "type": "string",
2273
- "example": "https://api.github.com/users/octocat/events{/privacy}"
2274
- },
2275
- "received_events_url": {
2276
- "type": "string",
2277
- "format": "uri",
2278
- "example": "https://api.github.com/users/octocat/received_events"
2279
- },
2280
- "type": { "type": "string", "example": "User" },
2281
- "site_admin": { "type": "boolean" },
2282
- "name": {
2283
- "type": "string",
2284
- "example": "monalisa octocat",
2285
- "nullable": true
2286
- },
2287
- "company": {
2288
- "type": "string",
2289
- "example": "GitHub",
2290
- "nullable": true
2291
- },
2292
- "blog": {
2293
- "type": "string",
2294
- "example": "https://github.com/blog",
2295
- "nullable": true
2296
- },
2297
- "location": {
2298
- "type": "string",
2299
- "example": "San Francisco",
2300
- "nullable": true
2301
- },
2302
- "email": {
2303
- "type": "string",
2304
- "format": "email",
2305
- "example": "octocat@github.com",
2306
- "nullable": true
2307
- },
2308
- "hireable": { "type": "boolean", "nullable": true },
2309
- "bio": {
2310
- "type": "string",
2311
- "example": "There once was...",
2312
- "nullable": true
2313
- },
2314
- "public_repos": { "type": "integer", "example": 2 },
2315
- "public_gists": { "type": "integer", "example": 1 },
2316
- "followers": { "type": "integer", "example": 20 },
2317
- "following": { "type": "integer", "example": 0 },
2318
- "created_at": {
2319
- "type": "string",
2320
- "format": "date-time",
2321
- "example": "2008-01-14T04:33:35Z"
2322
- },
2323
- "updated_at": {
2324
- "type": "string",
2325
- "format": "date-time",
2326
- "example": "2008-01-14T04:33:35Z"
2327
- },
2328
- "private_gists": { "type": "integer", "example": 81 },
2329
- "total_private_repos": { "type": "integer", "example": 100 },
2330
- "owned_private_repos": { "type": "integer", "example": 100 },
2331
- "disk_usage": { "type": "integer", "example": 10000 },
2332
- "collaborators": { "type": "integer", "example": 8 },
2333
- "two_factor_authentication": { "type": "boolean", "example": true },
2334
- "plan": {
2335
- "type": "object",
2336
- "properties": {
2337
- "collaborators": { "type": "integer" },
2338
- "name": { "type": "string" },
2339
- "space": { "type": "integer" },
2340
- "private_repos": { "type": "integer" }
2341
- },
2342
- "required": ["collaborators", "name", "space", "private_repos"]
2343
- },
2344
- "suspended_at": {
2345
- "type": "string",
2346
- "format": "date-time",
2347
- "nullable": true
2348
- },
2349
- "business_plus": { "type": "boolean" },
2350
- "ldap_dn": { "type": "string" }
2351
- },
2352
- "required": [
2353
- "avatar_url",
2354
- "events_url",
2355
- "followers_url",
2356
- "following_url",
2357
- "gists_url",
2358
- "gravatar_id",
2359
- "html_url",
2360
- "id",
2361
- "node_id",
2362
- "login",
2363
- "organizations_url",
2364
- "received_events_url",
2365
- "repos_url",
2366
- "site_admin",
2367
- "starred_url",
2368
- "subscriptions_url",
2369
- "type",
2370
- "url",
2371
- "bio",
2372
- "blog",
2373
- "company",
2374
- "email",
2375
- "followers",
2376
- "following",
2377
- "hireable",
2378
- "location",
2379
- "name",
2380
- "public_gists",
2381
- "public_repos",
2382
- "created_at",
2383
- "updated_at",
2384
- "collaborators",
2385
- "disk_usage",
2386
- "owned_private_repos",
2387
- "private_gists",
2388
- "total_private_repos",
2389
- "two_factor_authentication"
2390
- ]
2391
- },
2392
- "link-with-type": {
2393
- "title": "Link With Type",
2394
- "description": "Hypermedia Link with Type",
2395
- "type": "object",
2396
- "properties": {
2397
- "href": { "type": "string" },
2398
- "type": { "type": "string" }
2399
- },
2400
- "required": ["href", "type"]
2401
- },
2402
- "public-user": {
2403
- "title": "Public User",
2404
- "description": "Public User",
2405
- "type": "object",
2406
- "properties": {
2407
- "login": { "type": "string" },
2408
- "id": { "type": "integer" },
2409
- "node_id": { "type": "string" },
2410
- "avatar_url": { "type": "string", "format": "uri" },
2411
- "gravatar_id": { "type": "string", "nullable": true },
2412
- "url": { "type": "string", "format": "uri" },
2413
- "html_url": { "type": "string", "format": "uri" },
2414
- "followers_url": { "type": "string", "format": "uri" },
2415
- "following_url": { "type": "string" },
2416
- "gists_url": { "type": "string" },
2417
- "starred_url": { "type": "string" },
2418
- "subscriptions_url": { "type": "string", "format": "uri" },
2419
- "organizations_url": { "type": "string", "format": "uri" },
2420
- "repos_url": { "type": "string", "format": "uri" },
2421
- "events_url": { "type": "string" },
2422
- "received_events_url": { "type": "string", "format": "uri" },
2423
- "type": { "type": "string" },
2424
- "site_admin": { "type": "boolean" },
2425
- "name": { "type": "string", "nullable": true },
2426
- "company": { "type": "string", "nullable": true },
2427
- "blog": { "type": "string", "nullable": true },
2428
- "location": { "type": "string", "nullable": true },
2429
- "email": { "type": "string", "format": "email", "nullable": true },
2430
- "hireable": { "type": "boolean", "nullable": true },
2431
- "bio": { "type": "string", "nullable": true },
2432
- "public_repos": { "type": "integer" },
2433
- "public_gists": { "type": "integer" },
2434
- "followers": { "type": "integer" },
2435
- "following": { "type": "integer" },
2436
- "created_at": { "type": "string", "format": "date-time" },
2437
- "updated_at": { "type": "string", "format": "date-time" },
2438
- "plan": {
2439
- "type": "object",
2440
- "properties": {
2441
- "collaborators": { "type": "integer" },
2442
- "name": { "type": "string" },
2443
- "space": { "type": "integer" },
2444
- "private_repos": { "type": "integer" }
2445
- },
2446
- "required": ["collaborators", "name", "space", "private_repos"]
1705
+ "href": { "type": "string" },
1706
+ "type": { "type": "string" }
1707
+ },
1708
+ "required": ["href", "type"]
1709
+ },
1710
+ "public-user": {
1711
+ "title": "Public User",
1712
+ "description": "Public User",
1713
+ "type": "object",
1714
+ "properties": {
1715
+ "login": { "type": "string" },
1716
+ "id": { "type": "integer" },
1717
+ "node_id": { "type": "string" },
1718
+ "avatar_url": { "type": "string", "format": "uri" },
1719
+ "gravatar_id": { "type": "string", "nullable": true },
1720
+ "url": { "type": "string", "format": "uri" },
1721
+ "html_url": { "type": "string", "format": "uri" },
1722
+ "followers_url": { "type": "string", "format": "uri" },
1723
+ "following_url": { "type": "string" },
1724
+ "gists_url": { "type": "string" },
1725
+ "starred_url": { "type": "string" },
1726
+ "subscriptions_url": { "type": "string", "format": "uri" },
1727
+ "organizations_url": { "type": "string", "format": "uri" },
1728
+ "repos_url": { "type": "string", "format": "uri" },
1729
+ "events_url": { "type": "string" },
1730
+ "received_events_url": { "type": "string", "format": "uri" },
1731
+ "type": { "type": "string" },
1732
+ "site_admin": { "type": "boolean" },
1733
+ "name": { "type": "string", "nullable": true },
1734
+ "company": { "type": "string", "nullable": true },
1735
+ "blog": { "type": "string", "nullable": true },
1736
+ "location": { "type": "string", "nullable": true },
1737
+ "email": { "type": "string", "format": "email", "nullable": true },
1738
+ "hireable": { "type": "boolean", "nullable": true },
1739
+ "bio": { "type": "string", "nullable": true },
1740
+ "public_repos": { "type": "integer" },
1741
+ "public_gists": { "type": "integer" },
1742
+ "followers": { "type": "integer" },
1743
+ "following": { "type": "integer" },
1744
+ "created_at": { "type": "string", "format": "date-time" },
1745
+ "updated_at": { "type": "string", "format": "date-time" },
1746
+ "plan": {
1747
+ "type": "object",
1748
+ "properties": {
1749
+ "collaborators": { "type": "integer" },
1750
+ "name": { "type": "string" },
1751
+ "space": { "type": "integer" },
1752
+ "private_repos": { "type": "integer" }
1753
+ },
1754
+ "required": ["collaborators", "name", "space", "private_repos"]
2447
1755
  },
2448
1756
  "suspended_at": {
2449
1757
  "type": "string",
@@ -4236,532 +3544,16 @@
4236
3544
  "commits": {
4237
3545
  "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits"
4238
3546
  },
4239
- "statuses": {
4240
- "href": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e"
4241
- }
4242
- },
4243
- "author_association": "OWNER",
4244
- "draft": false
4245
- }
4246
- ]
4247
- },
4248
- "pull-request": {
4249
- "value": {
4250
- "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347",
4251
- "id": 1,
4252
- "node_id": "MDExOlB1bGxSZXF1ZXN0MQ==",
4253
- "html_url": "https://github.com/octocat/Hello-World/pull/1347",
4254
- "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff",
4255
- "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch",
4256
- "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347",
4257
- "commits_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits",
4258
- "review_comments_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments",
4259
- "review_comment_url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}",
4260
- "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments",
4261
- "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e",
4262
- "number": 1347,
4263
- "state": "open",
4264
- "locked": true,
4265
- "title": "Amazing new feature",
4266
- "user": {
4267
- "login": "octocat",
4268
- "id": 1,
4269
- "node_id": "MDQ6VXNlcjE=",
4270
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
4271
- "gravatar_id": "",
4272
- "url": "https://api.github.com/users/octocat",
4273
- "html_url": "https://github.com/octocat",
4274
- "followers_url": "https://api.github.com/users/octocat/followers",
4275
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
4276
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
4277
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
4278
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
4279
- "organizations_url": "https://api.github.com/users/octocat/orgs",
4280
- "repos_url": "https://api.github.com/users/octocat/repos",
4281
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
4282
- "received_events_url": "https://api.github.com/users/octocat/received_events",
4283
- "type": "User",
4284
- "site_admin": false
4285
- },
4286
- "body": "Please pull these awesome changes in!",
4287
- "labels": [
4288
- {
4289
- "id": 208045946,
4290
- "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=",
4291
- "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug",
4292
- "name": "bug",
4293
- "description": "Something isn't working",
4294
- "color": "f29513",
4295
- "default": true
4296
- }
4297
- ],
4298
- "milestone": {
4299
- "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1",
4300
- "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0",
4301
- "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels",
4302
- "id": 1002604,
4303
- "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==",
4304
- "number": 1,
4305
- "state": "open",
4306
- "title": "v1.0",
4307
- "description": "Tracking milestone for version 1.0",
4308
- "creator": {
4309
- "login": "octocat",
4310
- "id": 1,
4311
- "node_id": "MDQ6VXNlcjE=",
4312
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
4313
- "gravatar_id": "",
4314
- "url": "https://api.github.com/users/octocat",
4315
- "html_url": "https://github.com/octocat",
4316
- "followers_url": "https://api.github.com/users/octocat/followers",
4317
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
4318
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
4319
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
4320
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
4321
- "organizations_url": "https://api.github.com/users/octocat/orgs",
4322
- "repos_url": "https://api.github.com/users/octocat/repos",
4323
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
4324
- "received_events_url": "https://api.github.com/users/octocat/received_events",
4325
- "type": "User",
4326
- "site_admin": false
4327
- },
4328
- "open_issues": 4,
4329
- "closed_issues": 8,
4330
- "created_at": "2011-04-10T20:09:31Z",
4331
- "updated_at": "2014-03-03T18:58:10Z",
4332
- "closed_at": "2013-02-12T13:22:01Z",
4333
- "due_on": "2012-10-09T23:39:01Z"
4334
- },
4335
- "active_lock_reason": "too heated",
4336
- "created_at": "2011-01-26T19:01:12Z",
4337
- "updated_at": "2011-01-26T19:01:12Z",
4338
- "closed_at": "2011-01-26T19:01:12Z",
4339
- "merged_at": "2011-01-26T19:01:12Z",
4340
- "merge_commit_sha": "e5bd3914e2e596debea16f433f57875b5b90bcd6",
4341
- "assignee": {
4342
- "login": "octocat",
4343
- "id": 1,
4344
- "node_id": "MDQ6VXNlcjE=",
4345
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
4346
- "gravatar_id": "",
4347
- "url": "https://api.github.com/users/octocat",
4348
- "html_url": "https://github.com/octocat",
4349
- "followers_url": "https://api.github.com/users/octocat/followers",
4350
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
4351
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
4352
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
4353
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
4354
- "organizations_url": "https://api.github.com/users/octocat/orgs",
4355
- "repos_url": "https://api.github.com/users/octocat/repos",
4356
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
4357
- "received_events_url": "https://api.github.com/users/octocat/received_events",
4358
- "type": "User",
4359
- "site_admin": false
4360
- },
4361
- "assignees": [
4362
- {
4363
- "login": "octocat",
4364
- "id": 1,
4365
- "node_id": "MDQ6VXNlcjE=",
4366
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
4367
- "gravatar_id": "",
4368
- "url": "https://api.github.com/users/octocat",
4369
- "html_url": "https://github.com/octocat",
4370
- "followers_url": "https://api.github.com/users/octocat/followers",
4371
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
4372
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
4373
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
4374
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
4375
- "organizations_url": "https://api.github.com/users/octocat/orgs",
4376
- "repos_url": "https://api.github.com/users/octocat/repos",
4377
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
4378
- "received_events_url": "https://api.github.com/users/octocat/received_events",
4379
- "type": "User",
4380
- "site_admin": false
4381
- },
4382
- {
4383
- "login": "hubot",
4384
- "id": 1,
4385
- "node_id": "MDQ6VXNlcjE=",
4386
- "avatar_url": "https://github.com/images/error/hubot_happy.gif",
4387
- "gravatar_id": "",
4388
- "url": "https://api.github.com/users/hubot",
4389
- "html_url": "https://github.com/hubot",
4390
- "followers_url": "https://api.github.com/users/hubot/followers",
4391
- "following_url": "https://api.github.com/users/hubot/following{/other_user}",
4392
- "gists_url": "https://api.github.com/users/hubot/gists{/gist_id}",
4393
- "starred_url": "https://api.github.com/users/hubot/starred{/owner}{/repo}",
4394
- "subscriptions_url": "https://api.github.com/users/hubot/subscriptions",
4395
- "organizations_url": "https://api.github.com/users/hubot/orgs",
4396
- "repos_url": "https://api.github.com/users/hubot/repos",
4397
- "events_url": "https://api.github.com/users/hubot/events{/privacy}",
4398
- "received_events_url": "https://api.github.com/users/hubot/received_events",
4399
- "type": "User",
4400
- "site_admin": true
4401
- }
4402
- ],
4403
- "requested_reviewers": [
4404
- {
4405
- "login": "other_user",
4406
- "id": 1,
4407
- "node_id": "MDQ6VXNlcjE=",
4408
- "avatar_url": "https://github.com/images/error/other_user_happy.gif",
4409
- "gravatar_id": "",
4410
- "url": "https://api.github.com/users/other_user",
4411
- "html_url": "https://github.com/other_user",
4412
- "followers_url": "https://api.github.com/users/other_user/followers",
4413
- "following_url": "https://api.github.com/users/other_user/following{/other_user}",
4414
- "gists_url": "https://api.github.com/users/other_user/gists{/gist_id}",
4415
- "starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}",
4416
- "subscriptions_url": "https://api.github.com/users/other_user/subscriptions",
4417
- "organizations_url": "https://api.github.com/users/other_user/orgs",
4418
- "repos_url": "https://api.github.com/users/other_user/repos",
4419
- "events_url": "https://api.github.com/users/other_user/events{/privacy}",
4420
- "received_events_url": "https://api.github.com/users/other_user/received_events",
4421
- "type": "User",
4422
- "site_admin": false
4423
- }
4424
- ],
4425
- "requested_teams": [
4426
- {
4427
- "id": 1,
4428
- "node_id": "MDQ6VGVhbTE=",
4429
- "url": "https://api.github.com/teams/1",
4430
- "html_url": "https://github.com/orgs/github/teams/justice-league",
4431
- "name": "Justice League",
4432
- "slug": "justice-league",
4433
- "description": "A great team.",
4434
- "privacy": "closed",
4435
- "permission": "admin",
4436
- "members_url": "https://api.github.com/teams/1/members{/member}",
4437
- "repositories_url": "https://api.github.com/teams/1/repos"
4438
- }
4439
- ],
4440
- "head": {
4441
- "label": "octocat:new-topic",
4442
- "ref": "new-topic",
4443
- "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
4444
- "user": {
4445
- "login": "octocat",
4446
- "id": 1,
4447
- "node_id": "MDQ6VXNlcjE=",
4448
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
4449
- "gravatar_id": "",
4450
- "url": "https://api.github.com/users/octocat",
4451
- "html_url": "https://github.com/octocat",
4452
- "followers_url": "https://api.github.com/users/octocat/followers",
4453
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
4454
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
4455
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
4456
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
4457
- "organizations_url": "https://api.github.com/users/octocat/orgs",
4458
- "repos_url": "https://api.github.com/users/octocat/repos",
4459
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
4460
- "received_events_url": "https://api.github.com/users/octocat/received_events",
4461
- "type": "User",
4462
- "site_admin": false
4463
- },
4464
- "repo": {
4465
- "id": 1296269,
4466
- "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
4467
- "name": "Hello-World",
4468
- "full_name": "octocat/Hello-World",
4469
- "owner": {
4470
- "login": "octocat",
4471
- "id": 1,
4472
- "node_id": "MDQ6VXNlcjE=",
4473
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
4474
- "gravatar_id": "",
4475
- "url": "https://api.github.com/users/octocat",
4476
- "html_url": "https://github.com/octocat",
4477
- "followers_url": "https://api.github.com/users/octocat/followers",
4478
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
4479
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
4480
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
4481
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
4482
- "organizations_url": "https://api.github.com/users/octocat/orgs",
4483
- "repos_url": "https://api.github.com/users/octocat/repos",
4484
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
4485
- "received_events_url": "https://api.github.com/users/octocat/received_events",
4486
- "type": "User",
4487
- "site_admin": false
4488
- },
4489
- "private": false,
4490
- "html_url": "https://github.com/octocat/Hello-World",
4491
- "description": "This your first repo!",
4492
- "fork": false,
4493
- "url": "https://api.github.com/repos/octocat/Hello-World",
4494
- "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
4495
- "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}",
4496
- "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
4497
- "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}",
4498
- "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
4499
- "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}",
4500
- "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}",
4501
- "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
4502
- "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}",
4503
- "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors",
4504
- "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments",
4505
- "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads",
4506
- "events_url": "https://api.github.com/repos/octocat/Hello-World/events",
4507
- "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks",
4508
- "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
4509
- "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
4510
- "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
4511
- "git_url": "git:github.com/octocat/Hello-World.git",
4512
- "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
4513
- "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
4514
- "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}",
4515
- "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
4516
- "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}",
4517
- "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages",
4518
- "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges",
4519
- "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}",
4520
- "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
4521
- "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}",
4522
- "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}",
4523
- "ssh_url": "git@github.com:octocat/Hello-World.git",
4524
- "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers",
4525
- "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
4526
- "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers",
4527
- "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription",
4528
- "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags",
4529
- "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams",
4530
- "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}",
4531
- "clone_url": "https://github.com/octocat/Hello-World.git",
4532
- "mirror_url": "git:git.example.com/octocat/Hello-World",
4533
- "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks",
4534
- "svn_url": "https://svn.github.com/octocat/Hello-World",
4535
- "homepage": "https://github.com",
4536
- "language": null,
4537
- "forks_count": 9,
4538
- "stargazers_count": 80,
4539
- "watchers_count": 80,
4540
- "size": 108,
4541
- "default_branch": "master",
4542
- "open_issues_count": 0,
4543
- "topics": ["octocat", "atom", "electron", "api"],
4544
- "has_issues": true,
4545
- "has_projects": true,
4546
- "has_wiki": true,
4547
- "has_pages": false,
4548
- "has_downloads": true,
4549
- "archived": false,
4550
- "disabled": false,
4551
- "pushed_at": "2011-01-26T19:06:43Z",
4552
- "created_at": "2011-01-26T19:01:12Z",
4553
- "updated_at": "2011-01-26T19:14:43Z",
4554
- "permissions": { "admin": false, "push": false, "pull": true },
4555
- "allow_rebase_merge": true,
4556
- "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
4557
- "allow_squash_merge": true,
4558
- "allow_merge_commit": true,
4559
- "allow_forking": true,
4560
- "forks": 123,
4561
- "open_issues": 123,
4562
- "license": {
4563
- "key": "mit",
4564
- "name": "MIT License",
4565
- "url": "https://api.github.com/licenses/mit",
4566
- "spdx_id": "MIT",
4567
- "node_id": "MDc6TGljZW5zZW1pdA=="
4568
- },
4569
- "watchers": 123
4570
- }
4571
- },
4572
- "base": {
4573
- "label": "octocat:master",
4574
- "ref": "master",
4575
- "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
4576
- "user": {
4577
- "login": "octocat",
4578
- "id": 1,
4579
- "node_id": "MDQ6VXNlcjE=",
4580
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
4581
- "gravatar_id": "",
4582
- "url": "https://api.github.com/users/octocat",
4583
- "html_url": "https://github.com/octocat",
4584
- "followers_url": "https://api.github.com/users/octocat/followers",
4585
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
4586
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
4587
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
4588
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
4589
- "organizations_url": "https://api.github.com/users/octocat/orgs",
4590
- "repos_url": "https://api.github.com/users/octocat/repos",
4591
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
4592
- "received_events_url": "https://api.github.com/users/octocat/received_events",
4593
- "type": "User",
4594
- "site_admin": false
4595
- },
4596
- "repo": {
4597
- "id": 1296269,
4598
- "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
4599
- "name": "Hello-World",
4600
- "full_name": "octocat/Hello-World",
4601
- "owner": {
4602
- "login": "octocat",
4603
- "id": 1,
4604
- "node_id": "MDQ6VXNlcjE=",
4605
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
4606
- "gravatar_id": "",
4607
- "url": "https://api.github.com/users/octocat",
4608
- "html_url": "https://github.com/octocat",
4609
- "followers_url": "https://api.github.com/users/octocat/followers",
4610
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
4611
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
4612
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
4613
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
4614
- "organizations_url": "https://api.github.com/users/octocat/orgs",
4615
- "repos_url": "https://api.github.com/users/octocat/repos",
4616
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
4617
- "received_events_url": "https://api.github.com/users/octocat/received_events",
4618
- "type": "User",
4619
- "site_admin": false
4620
- },
4621
- "private": false,
4622
- "html_url": "https://github.com/octocat/Hello-World",
4623
- "description": "This your first repo!",
4624
- "fork": false,
4625
- "url": "https://api.github.com/repos/octocat/Hello-World",
4626
- "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
4627
- "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}",
4628
- "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
4629
- "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}",
4630
- "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
4631
- "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}",
4632
- "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}",
4633
- "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
4634
- "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}",
4635
- "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors",
4636
- "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments",
4637
- "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads",
4638
- "events_url": "https://api.github.com/repos/octocat/Hello-World/events",
4639
- "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks",
4640
- "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
4641
- "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
4642
- "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
4643
- "git_url": "git:github.com/octocat/Hello-World.git",
4644
- "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
4645
- "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
4646
- "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}",
4647
- "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
4648
- "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}",
4649
- "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages",
4650
- "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges",
4651
- "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}",
4652
- "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
4653
- "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}",
4654
- "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}",
4655
- "ssh_url": "git@github.com:octocat/Hello-World.git",
4656
- "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers",
4657
- "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
4658
- "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers",
4659
- "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription",
4660
- "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags",
4661
- "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams",
4662
- "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}",
4663
- "clone_url": "https://github.com/octocat/Hello-World.git",
4664
- "mirror_url": "git:git.example.com/octocat/Hello-World",
4665
- "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks",
4666
- "svn_url": "https://svn.github.com/octocat/Hello-World",
4667
- "homepage": "https://github.com",
4668
- "language": null,
4669
- "forks_count": 9,
4670
- "stargazers_count": 80,
4671
- "watchers_count": 80,
4672
- "size": 108,
4673
- "default_branch": "master",
4674
- "open_issues_count": 0,
4675
- "topics": ["octocat", "atom", "electron", "api"],
4676
- "has_issues": true,
4677
- "has_projects": true,
4678
- "has_wiki": true,
4679
- "has_pages": false,
4680
- "has_downloads": true,
4681
- "archived": false,
4682
- "disabled": false,
4683
- "pushed_at": "2011-01-26T19:06:43Z",
4684
- "created_at": "2011-01-26T19:01:12Z",
4685
- "updated_at": "2011-01-26T19:14:43Z",
4686
- "permissions": { "admin": false, "push": false, "pull": true },
4687
- "allow_rebase_merge": true,
4688
- "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
4689
- "allow_squash_merge": true,
4690
- "allow_merge_commit": true,
4691
- "forks": 123,
4692
- "open_issues": 123,
4693
- "license": {
4694
- "key": "mit",
4695
- "name": "MIT License",
4696
- "url": "https://api.github.com/licenses/mit",
4697
- "spdx_id": "MIT",
4698
- "node_id": "MDc6TGljZW5zZW1pdA=="
4699
- },
4700
- "watchers": 123
4701
- }
4702
- },
4703
- "_links": {
4704
- "self": {
4705
- "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347"
4706
- },
4707
- "html": {
4708
- "href": "https://github.com/octocat/Hello-World/pull/1347"
4709
- },
4710
- "issue": {
4711
- "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347"
4712
- },
4713
- "comments": {
4714
- "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments"
4715
- },
4716
- "review_comments": {
4717
- "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments"
4718
- },
4719
- "review_comment": {
4720
- "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}"
4721
- },
4722
- "commits": {
4723
- "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits"
3547
+ "statuses": {
3548
+ "href": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e"
3549
+ }
4724
3550
  },
4725
- "statuses": {
4726
- "href": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e"
4727
- }
4728
- },
4729
- "author_association": "OWNER",
4730
- "draft": false,
4731
- "merged": false,
4732
- "mergeable": true,
4733
- "rebaseable": true,
4734
- "mergeable_state": "clean",
4735
- "merged_by": {
4736
- "login": "octocat",
4737
- "id": 1,
4738
- "node_id": "MDQ6VXNlcjE=",
4739
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
4740
- "gravatar_id": "",
4741
- "url": "https://api.github.com/users/octocat",
4742
- "html_url": "https://github.com/octocat",
4743
- "followers_url": "https://api.github.com/users/octocat/followers",
4744
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
4745
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
4746
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
4747
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
4748
- "organizations_url": "https://api.github.com/users/octocat/orgs",
4749
- "repos_url": "https://api.github.com/users/octocat/repos",
4750
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
4751
- "received_events_url": "https://api.github.com/users/octocat/received_events",
4752
- "type": "User",
4753
- "site_admin": false
4754
- },
4755
- "comments": 10,
4756
- "review_comments": 0,
4757
- "maintainer_can_modify": true,
4758
- "commits": 3,
4759
- "additions": 100,
4760
- "deletions": 3,
4761
- "changed_files": 5
4762
- }
3551
+ "author_association": "OWNER",
3552
+ "draft": false
3553
+ }
3554
+ ]
4763
3555
  },
4764
- "pull-request-review-request": {
3556
+ "pull-request": {
4765
3557
  "value": {
4766
3558
  "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347",
4767
3559
  "id": 1,
@@ -4917,46 +3709,6 @@
4917
3709
  }
4918
3710
  ],
4919
3711
  "requested_reviewers": [
4920
- {
4921
- "login": "octocat",
4922
- "id": 1,
4923
- "node_id": "MDQ6VXNlcjE=",
4924
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
4925
- "gravatar_id": "",
4926
- "url": "https://api.github.com/users/octocat",
4927
- "html_url": "https://github.com/octocat",
4928
- "followers_url": "https://api.github.com/users/octocat/followers",
4929
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
4930
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
4931
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
4932
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
4933
- "organizations_url": "https://api.github.com/users/octocat/orgs",
4934
- "repos_url": "https://api.github.com/users/octocat/repos",
4935
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
4936
- "received_events_url": "https://api.github.com/users/octocat/received_events",
4937
- "type": "User",
4938
- "site_admin": false
4939
- },
4940
- {
4941
- "login": "hubot",
4942
- "id": 1,
4943
- "node_id": "MDQ6VXNlcjE=",
4944
- "avatar_url": "https://github.com/images/error/hubot_happy.gif",
4945
- "gravatar_id": "",
4946
- "url": "https://api.github.com/users/hubot",
4947
- "html_url": "https://github.com/hubot",
4948
- "followers_url": "https://api.github.com/users/hubot/followers",
4949
- "following_url": "https://api.github.com/users/hubot/following{/other_user}",
4950
- "gists_url": "https://api.github.com/users/hubot/gists{/gist_id}",
4951
- "starred_url": "https://api.github.com/users/hubot/starred{/owner}{/repo}",
4952
- "subscriptions_url": "https://api.github.com/users/hubot/subscriptions",
4953
- "organizations_url": "https://api.github.com/users/hubot/orgs",
4954
- "repos_url": "https://api.github.com/users/hubot/repos",
4955
- "events_url": "https://api.github.com/users/hubot/events{/privacy}",
4956
- "received_events_url": "https://api.github.com/users/hubot/received_events",
4957
- "type": "User",
4958
- "site_admin": true
4959
- },
4960
3712
  {
4961
3713
  "login": "other_user",
4962
3714
  "id": 1,
@@ -4990,8 +3742,7 @@
4990
3742
  "privacy": "closed",
4991
3743
  "permission": "admin",
4992
3744
  "members_url": "https://api.github.com/teams/1/members{/member}",
4993
- "repositories_url": "https://api.github.com/teams/1/repos",
4994
- "parent": null
3745
+ "repositories_url": "https://api.github.com/teams/1/repos"
4995
3746
  }
4996
3747
  ],
4997
3748
  "head": {
@@ -5090,13 +3841,13 @@
5090
3841
  "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks",
5091
3842
  "svn_url": "https://svn.github.com/octocat/Hello-World",
5092
3843
  "homepage": "https://github.com",
3844
+ "language": null,
5093
3845
  "forks_count": 9,
5094
3846
  "stargazers_count": 80,
5095
3847
  "watchers_count": 80,
5096
3848
  "size": 108,
5097
3849
  "default_branch": "master",
5098
3850
  "open_issues_count": 0,
5099
- "is_template": true,
5100
3851
  "topics": ["octocat", "atom", "electron", "api"],
5101
3852
  "has_issues": true,
5102
3853
  "has_projects": true,
@@ -5105,7 +3856,6 @@
5105
3856
  "has_downloads": true,
5106
3857
  "archived": false,
5107
3858
  "disabled": false,
5108
- "visibility": "public",
5109
3859
  "pushed_at": "2011-01-26T19:06:43Z",
5110
3860
  "created_at": "2011-01-26T19:01:12Z",
5111
3861
  "updated_at": "2011-01-26T19:14:43Z",
@@ -5113,21 +3863,18 @@
5113
3863
  "allow_rebase_merge": true,
5114
3864
  "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
5115
3865
  "allow_squash_merge": true,
5116
- "delete_branch_on_merge": true,
5117
3866
  "allow_merge_commit": true,
5118
- "subscribers_count": 42,
5119
- "network_count": 0,
3867
+ "allow_forking": true,
3868
+ "forks": 123,
3869
+ "open_issues": 123,
5120
3870
  "license": {
5121
3871
  "key": "mit",
5122
3872
  "name": "MIT License",
5123
3873
  "url": "https://api.github.com/licenses/mit",
5124
3874
  "spdx_id": "MIT",
5125
- "node_id": "MDc6TGljZW5zZW1pdA==",
5126
- "html_url": "https://github.com/licenses/mit"
3875
+ "node_id": "MDc6TGljZW5zZW1pdA=="
5127
3876
  },
5128
- "forks": 1,
5129
- "open_issues": 1,
5130
- "watchers": 1
3877
+ "watchers": 123
5131
3878
  }
5132
3879
  },
5133
3880
  "base": {
@@ -5226,13 +3973,13 @@
5226
3973
  "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks",
5227
3974
  "svn_url": "https://svn.github.com/octocat/Hello-World",
5228
3975
  "homepage": "https://github.com",
3976
+ "language": null,
5229
3977
  "forks_count": 9,
5230
3978
  "stargazers_count": 80,
5231
3979
  "watchers_count": 80,
5232
3980
  "size": 108,
5233
3981
  "default_branch": "master",
5234
3982
  "open_issues_count": 0,
5235
- "is_template": true,
5236
3983
  "topics": ["octocat", "atom", "electron", "api"],
5237
3984
  "has_issues": true,
5238
3985
  "has_projects": true,
@@ -5241,7 +3988,6 @@
5241
3988
  "has_downloads": true,
5242
3989
  "archived": false,
5243
3990
  "disabled": false,
5244
- "visibility": "public",
5245
3991
  "pushed_at": "2011-01-26T19:06:43Z",
5246
3992
  "created_at": "2011-01-26T19:01:12Z",
5247
3993
  "updated_at": "2011-01-26T19:14:43Z",
@@ -5249,21 +3995,17 @@
5249
3995
  "allow_rebase_merge": true,
5250
3996
  "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
5251
3997
  "allow_squash_merge": true,
5252
- "delete_branch_on_merge": true,
5253
3998
  "allow_merge_commit": true,
5254
- "subscribers_count": 42,
5255
- "network_count": 0,
3999
+ "forks": 123,
4000
+ "open_issues": 123,
5256
4001
  "license": {
5257
4002
  "key": "mit",
5258
4003
  "name": "MIT License",
5259
4004
  "url": "https://api.github.com/licenses/mit",
5260
4005
  "spdx_id": "MIT",
5261
- "node_id": "MDc6TGljZW5zZW1pdA==",
5262
- "html_url": "https://api.github.com/licenses/mit"
4006
+ "node_id": "MDc6TGljZW5zZW1pdA=="
5263
4007
  },
5264
- "forks": 1,
5265
- "open_issues": 1,
5266
- "watchers": 1
4008
+ "watchers": 123
5267
4009
  }
5268
4010
  },
5269
4011
  "_links": {
@@ -5293,119 +4035,38 @@
5293
4035
  }
5294
4036
  },
5295
4037
  "author_association": "OWNER",
5296
- "draft": false
5297
- }
5298
- },
5299
- "private-user": {
5300
- "value": {
5301
- "login": "octocat",
5302
- "id": 1,
5303
- "node_id": "MDQ6VXNlcjE=",
5304
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
5305
- "gravatar_id": "",
5306
- "url": "https://api.github.com/users/octocat",
5307
- "html_url": "https://github.com/octocat",
5308
- "followers_url": "https://api.github.com/users/octocat/followers",
5309
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
5310
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
5311
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
5312
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
5313
- "organizations_url": "https://api.github.com/users/octocat/orgs",
5314
- "repos_url": "https://api.github.com/users/octocat/repos",
5315
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
5316
- "received_events_url": "https://api.github.com/users/octocat/received_events",
5317
- "type": "User",
5318
- "site_admin": false,
5319
- "name": "monalisa octocat",
5320
- "company": "GitHub",
5321
- "blog": "https://github.com/blog",
5322
- "location": "San Francisco",
5323
- "email": "octocat@github.com",
5324
- "hireable": false,
5325
- "bio": "There once was...",
5326
- "public_repos": 2,
5327
- "public_gists": 1,
5328
- "followers": 20,
5329
- "following": 0,
5330
- "created_at": "2008-01-14T04:33:35Z",
5331
- "updated_at": "2008-01-14T04:33:35Z",
5332
- "private_gists": 81,
5333
- "total_private_repos": 100,
5334
- "owned_private_repos": 100,
5335
- "disk_usage": 10000,
5336
- "collaborators": 8,
5337
- "two_factor_authentication": true,
5338
- "plan": {
5339
- "name": "Medium",
5340
- "space": 400,
5341
- "private_repos": 20,
5342
- "collaborators": 0
5343
- }
5344
- }
5345
- }
5346
- },
5347
- "responses": {
5348
- "not_modified": { "description": "Not modified" },
5349
- "forbidden": {
5350
- "description": "Forbidden",
5351
- "content": {
5352
- "application/json": {
5353
- "schema": { "$ref": "#/components/schemas/basic-error" }
5354
- }
5355
- }
5356
- },
5357
- "not_found": {
5358
- "description": "Resource not found",
5359
- "content": {
5360
- "application/json": {
5361
- "schema": { "$ref": "#/components/schemas/basic-error" }
5362
- }
5363
- }
5364
- },
5365
- "validation_failed": {
5366
- "description": "Validation failed",
5367
- "content": {
5368
- "application/json": {
5369
- "schema": { "$ref": "#/components/schemas/validation-error" }
5370
- }
5371
- }
5372
- },
5373
- "forbidden_gist": {
5374
- "description": "Forbidden Gist",
5375
- "content": {
5376
- "application/json": {
5377
- "schema": {
5378
- "type": "object",
5379
- "properties": {
5380
- "block": {
5381
- "type": "object",
5382
- "properties": {
5383
- "reason": { "type": "string" },
5384
- "created_at": { "type": "string" },
5385
- "html_url": { "type": "string", "nullable": true }
5386
- }
5387
- },
5388
- "message": { "type": "string" },
5389
- "documentation_url": { "type": "string" }
5390
- }
5391
- }
5392
- }
5393
- }
5394
- },
5395
- "internal_error": {
5396
- "description": "Internal Error",
5397
- "content": {
5398
- "application/json": {
5399
- "schema": { "$ref": "#/components/schemas/basic-error" }
5400
- }
5401
- }
5402
- },
5403
- "requires_authentication": {
5404
- "description": "Requires authentication",
5405
- "content": {
5406
- "application/json": {
5407
- "schema": { "$ref": "#/components/schemas/basic-error" }
5408
- }
4038
+ "draft": false,
4039
+ "merged": false,
4040
+ "mergeable": true,
4041
+ "rebaseable": true,
4042
+ "mergeable_state": "clean",
4043
+ "merged_by": {
4044
+ "login": "octocat",
4045
+ "id": 1,
4046
+ "node_id": "MDQ6VXNlcjE=",
4047
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
4048
+ "gravatar_id": "",
4049
+ "url": "https://api.github.com/users/octocat",
4050
+ "html_url": "https://github.com/octocat",
4051
+ "followers_url": "https://api.github.com/users/octocat/followers",
4052
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
4053
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
4054
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
4055
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
4056
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
4057
+ "repos_url": "https://api.github.com/users/octocat/repos",
4058
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
4059
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
4060
+ "type": "User",
4061
+ "site_admin": false
4062
+ },
4063
+ "comments": 10,
4064
+ "review_comments": 0,
4065
+ "maintainer_can_modify": true,
4066
+ "commits": 3,
4067
+ "additions": 100,
4068
+ "deletions": 3,
4069
+ "changed_files": 5
5409
4070
  }
5410
4071
  }
5411
4072
  },
@@ -5456,6 +4117,63 @@
5456
4117
  "schema": { "type": "integer" }
5457
4118
  }
5458
4119
  },
4120
+ "responses": {
4121
+ "not_modified": { "description": "Not modified" },
4122
+ "forbidden_gist": {
4123
+ "description": "Forbidden Gist",
4124
+ "content": {
4125
+ "application/json": {
4126
+ "schema": {
4127
+ "type": "object",
4128
+ "properties": {
4129
+ "block": {
4130
+ "type": "object",
4131
+ "properties": {
4132
+ "reason": { "type": "string" },
4133
+ "created_at": { "type": "string" },
4134
+ "html_url": { "type": "string", "nullable": true }
4135
+ }
4136
+ },
4137
+ "message": { "type": "string" },
4138
+ "documentation_url": { "type": "string" }
4139
+ }
4140
+ }
4141
+ }
4142
+ }
4143
+ },
4144
+ "not_found": {
4145
+ "description": "Resource not found",
4146
+ "content": {
4147
+ "application/json": {
4148
+ "schema": { "$ref": "#/components/schemas/basic-error" }
4149
+ }
4150
+ }
4151
+ },
4152
+ "forbidden": {
4153
+ "description": "Forbidden",
4154
+ "content": {
4155
+ "application/json": {
4156
+ "schema": { "$ref": "#/components/schemas/basic-error" }
4157
+ }
4158
+ }
4159
+ },
4160
+ "validation_failed": {
4161
+ "description": "Validation failed",
4162
+ "content": {
4163
+ "application/json": {
4164
+ "schema": { "$ref": "#/components/schemas/validation-error" }
4165
+ }
4166
+ }
4167
+ },
4168
+ "internal_error": {
4169
+ "description": "Internal Error",
4170
+ "content": {
4171
+ "application/json": {
4172
+ "schema": { "$ref": "#/components/schemas/basic-error" }
4173
+ }
4174
+ }
4175
+ }
4176
+ },
5459
4177
  "headers": {
5460
4178
  "link": {
5461
4179
  "example": "<https://api.github.com/resource?page=2>; rel=\"next\", <https://api.github.com/resource?page=5>; rel=\"last\"",