@octokit/openapi 5.6.5 → 5.8.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.
Files changed (27) hide show
  1. package/generated/api.github.com.deref.json +4412 -986
  2. package/generated/api.github.com.json +647 -294
  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 +145 -0
  8. package/generated/ghes-3.0-diff-to-ghes-3.1.deref.json +14577 -3831
  9. package/generated/ghes-3.0-diff-to-ghes-3.1.json +1540 -248
  10. package/generated/ghes-3.0.deref.json +329 -161
  11. package/generated/ghes-3.0.json +280 -102
  12. package/generated/ghes-3.1-anicca-diff-to-ghes-3.2.deref.json +1292 -111
  13. package/generated/ghes-3.1-diff-to-ghes-3.2.deref.json +104093 -56376
  14. package/generated/ghes-3.1-diff-to-ghes-3.2.json +8280 -3015
  15. package/generated/ghes-3.1.deref.json +369 -193
  16. package/generated/ghes-3.1.json +320 -134
  17. package/generated/ghes-3.2-anicca-diff-to-api.github.com.deref.json +305 -1
  18. package/generated/ghes-3.2-diff-to-api.github.com.deref.json +4813 -906
  19. package/generated/ghes-3.2-diff-to-api.github.com.json +2141 -175
  20. package/generated/ghes-3.2.deref.json +390 -204
  21. package/generated/ghes-3.2.json +363 -145
  22. package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +59 -0
  23. package/generated/github.ae-diff-to-api.github.com.deref.json +4951 -1
  24. package/generated/github.ae-diff-to-api.github.com.json +2776 -110
  25. package/generated/github.ae.deref.json +3875 -639
  26. package/generated/github.ae.json +425 -235
  27. package/package.json +4 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "5.6.5",
4
+ "version": "5.8.0",
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,6 +153,102 @@
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
+ },
156
252
  "/gists/{gist_id}": {
157
253
  "get": {
158
254
  "summary": "Get a gist",
@@ -188,6 +284,92 @@
188
284
  "subcategory": null
189
285
  },
190
286
  "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" } } }
191
373
  }
192
374
  },
193
375
  "/gists/{gist_id}/forks": {
@@ -424,6 +606,94 @@
424
606
  "subcategory": null
425
607
  },
426
608
  "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" } } }
427
697
  }
428
698
  },
429
699
  "/repos/{owner}/{repo}/pulls/{pull_number}": {
@@ -465,92 +735,333 @@
465
735
  "subcategory": null
466
736
  },
467
737
  "x-octokit": { "diff": { "ghes-3.1.json": { "type": "changed" } } }
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"
520
- },
521
- "current_user_actor": {
522
- "$ref": "#/components/schemas/link-with-type"
523
- },
524
- "current_user_organization": {
525
- "$ref": "#/components/schemas/link-with-type"
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
+ }
526
781
  },
527
- "current_user_organizations": {
528
- "type": "array",
529
- "items": { "$ref": "#/components/schemas/link-with-type" }
782
+ "example": {
783
+ "title": "new title",
784
+ "body": "updated body",
785
+ "state": "open",
786
+ "base": "master"
530
787
  }
531
- },
532
- "required": ["timeline", "user"]
788
+ }
533
789
  }
534
790
  },
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" }
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" }
554
1065
  }
555
1066
  }
556
1067
  },
@@ -1144,6 +1655,10 @@
1144
1655
  "master_branch": { "type": "string" },
1145
1656
  "archived": { "type": "boolean" },
1146
1657
  "disabled": { "type": "boolean" },
1658
+ "visibility": {
1659
+ "description": "The repository visibility: public, private, or internal.",
1660
+ "type": "string"
1661
+ },
1147
1662
  "mirror_url": {
1148
1663
  "type": "string",
1149
1664
  "format": "uri",
@@ -1192,7 +1707,8 @@
1192
1707
  "watchers_count": { "type": "integer" },
1193
1708
  "created_at": { "type": "string", "format": "date-time" },
1194
1709
  "updated_at": { "type": "string", "format": "date-time" },
1195
- "allow_forking": { "type": "boolean" }
1710
+ "allow_forking": { "type": "boolean" },
1711
+ "is_template": { "type": "boolean" }
1196
1712
  },
1197
1713
  "required": [
1198
1714
  "archive_url",
@@ -1348,6 +1864,7 @@
1348
1864
  "hooks_url": { "type": "string", "format": "uri" },
1349
1865
  "html_url": { "type": "string", "format": "uri" },
1350
1866
  "id": { "type": "integer" },
1867
+ "is_template": { "type": "boolean" },
1351
1868
  "node_id": { "type": "string" },
1352
1869
  "issue_comment_url": { "type": "string" },
1353
1870
  "issue_events_url": { "type": "string" },
@@ -1441,6 +1958,10 @@
1441
1958
  "master_branch": { "type": "string" },
1442
1959
  "archived": { "type": "boolean" },
1443
1960
  "disabled": { "type": "boolean" },
1961
+ "visibility": {
1962
+ "description": "The repository visibility: public, private, or internal.",
1963
+ "type": "string"
1964
+ },
1444
1965
  "mirror_url": {
1445
1966
  "type": "string",
1446
1967
  "format": "uri",
@@ -1697,66 +2218,247 @@
1697
2218
  "review_comments"
1698
2219
  ]
1699
2220
  },
1700
- "link-with-type": {
1701
- "title": "Link With Type",
1702
- "description": "Hypermedia Link with Type",
1703
- "type": "object",
1704
- "properties": {
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",
2221
+ "private-user": {
2222
+ "title": "Private User",
2223
+ "description": "Private User",
1713
2224
  "type": "object",
1714
2225
  "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"]
1755
- },
1756
- "suspended_at": {
1757
- "type": "string",
1758
- "format": "date-time",
1759
- "nullable": true
2226
+ "login": { "type": "string", "example": "octocat" },
2227
+ "id": { "type": "integer", "example": 1 },
2228
+ "node_id": { "type": "string", "example": "MDQ6VXNlcjE=" },
2229
+ "avatar_url": {
2230
+ "type": "string",
2231
+ "format": "uri",
2232
+ "example": "https://github.com/images/error/octocat_happy.gif"
2233
+ },
2234
+ "gravatar_id": {
2235
+ "type": "string",
2236
+ "example": "41d064eb2195891e12d0413f63227ea7",
2237
+ "nullable": true
2238
+ },
2239
+ "url": {
2240
+ "type": "string",
2241
+ "format": "uri",
2242
+ "example": "https://api.github.com/users/octocat"
2243
+ },
2244
+ "html_url": {
2245
+ "type": "string",
2246
+ "format": "uri",
2247
+ "example": "https://github.com/octocat"
2248
+ },
2249
+ "followers_url": {
2250
+ "type": "string",
2251
+ "format": "uri",
2252
+ "example": "https://api.github.com/users/octocat/followers"
2253
+ },
2254
+ "following_url": {
2255
+ "type": "string",
2256
+ "example": "https://api.github.com/users/octocat/following{/other_user}"
2257
+ },
2258
+ "gists_url": {
2259
+ "type": "string",
2260
+ "example": "https://api.github.com/users/octocat/gists{/gist_id}"
2261
+ },
2262
+ "starred_url": {
2263
+ "type": "string",
2264
+ "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
2265
+ },
2266
+ "subscriptions_url": {
2267
+ "type": "string",
2268
+ "format": "uri",
2269
+ "example": "https://api.github.com/users/octocat/subscriptions"
2270
+ },
2271
+ "organizations_url": {
2272
+ "type": "string",
2273
+ "format": "uri",
2274
+ "example": "https://api.github.com/users/octocat/orgs"
2275
+ },
2276
+ "repos_url": {
2277
+ "type": "string",
2278
+ "format": "uri",
2279
+ "example": "https://api.github.com/users/octocat/repos"
2280
+ },
2281
+ "events_url": {
2282
+ "type": "string",
2283
+ "example": "https://api.github.com/users/octocat/events{/privacy}"
2284
+ },
2285
+ "received_events_url": {
2286
+ "type": "string",
2287
+ "format": "uri",
2288
+ "example": "https://api.github.com/users/octocat/received_events"
2289
+ },
2290
+ "type": { "type": "string", "example": "User" },
2291
+ "site_admin": { "type": "boolean" },
2292
+ "name": {
2293
+ "type": "string",
2294
+ "example": "monalisa octocat",
2295
+ "nullable": true
2296
+ },
2297
+ "company": {
2298
+ "type": "string",
2299
+ "example": "GitHub",
2300
+ "nullable": true
2301
+ },
2302
+ "blog": {
2303
+ "type": "string",
2304
+ "example": "https://github.com/blog",
2305
+ "nullable": true
2306
+ },
2307
+ "location": {
2308
+ "type": "string",
2309
+ "example": "San Francisco",
2310
+ "nullable": true
2311
+ },
2312
+ "email": {
2313
+ "type": "string",
2314
+ "format": "email",
2315
+ "example": "octocat@github.com",
2316
+ "nullable": true
2317
+ },
2318
+ "hireable": { "type": "boolean", "nullable": true },
2319
+ "bio": {
2320
+ "type": "string",
2321
+ "example": "There once was...",
2322
+ "nullable": true
2323
+ },
2324
+ "public_repos": { "type": "integer", "example": 2 },
2325
+ "public_gists": { "type": "integer", "example": 1 },
2326
+ "followers": { "type": "integer", "example": 20 },
2327
+ "following": { "type": "integer", "example": 0 },
2328
+ "created_at": {
2329
+ "type": "string",
2330
+ "format": "date-time",
2331
+ "example": "2008-01-14T04:33:35Z"
2332
+ },
2333
+ "updated_at": {
2334
+ "type": "string",
2335
+ "format": "date-time",
2336
+ "example": "2008-01-14T04:33:35Z"
2337
+ },
2338
+ "private_gists": { "type": "integer", "example": 81 },
2339
+ "total_private_repos": { "type": "integer", "example": 100 },
2340
+ "owned_private_repos": { "type": "integer", "example": 100 },
2341
+ "disk_usage": { "type": "integer", "example": 10000 },
2342
+ "collaborators": { "type": "integer", "example": 8 },
2343
+ "two_factor_authentication": { "type": "boolean", "example": true },
2344
+ "plan": {
2345
+ "type": "object",
2346
+ "properties": {
2347
+ "collaborators": { "type": "integer" },
2348
+ "name": { "type": "string" },
2349
+ "space": { "type": "integer" },
2350
+ "private_repos": { "type": "integer" }
2351
+ },
2352
+ "required": ["collaborators", "name", "space", "private_repos"]
2353
+ },
2354
+ "suspended_at": {
2355
+ "type": "string",
2356
+ "format": "date-time",
2357
+ "nullable": true
2358
+ },
2359
+ "business_plus": { "type": "boolean" },
2360
+ "ldap_dn": { "type": "string" }
2361
+ },
2362
+ "required": [
2363
+ "avatar_url",
2364
+ "events_url",
2365
+ "followers_url",
2366
+ "following_url",
2367
+ "gists_url",
2368
+ "gravatar_id",
2369
+ "html_url",
2370
+ "id",
2371
+ "node_id",
2372
+ "login",
2373
+ "organizations_url",
2374
+ "received_events_url",
2375
+ "repos_url",
2376
+ "site_admin",
2377
+ "starred_url",
2378
+ "subscriptions_url",
2379
+ "type",
2380
+ "url",
2381
+ "bio",
2382
+ "blog",
2383
+ "company",
2384
+ "email",
2385
+ "followers",
2386
+ "following",
2387
+ "hireable",
2388
+ "location",
2389
+ "name",
2390
+ "public_gists",
2391
+ "public_repos",
2392
+ "created_at",
2393
+ "updated_at",
2394
+ "collaborators",
2395
+ "disk_usage",
2396
+ "owned_private_repos",
2397
+ "private_gists",
2398
+ "total_private_repos",
2399
+ "two_factor_authentication"
2400
+ ]
2401
+ },
2402
+ "link-with-type": {
2403
+ "title": "Link With Type",
2404
+ "description": "Hypermedia Link with Type",
2405
+ "type": "object",
2406
+ "properties": {
2407
+ "href": { "type": "string" },
2408
+ "type": { "type": "string" }
2409
+ },
2410
+ "required": ["href", "type"]
2411
+ },
2412
+ "public-user": {
2413
+ "title": "Public User",
2414
+ "description": "Public User",
2415
+ "type": "object",
2416
+ "properties": {
2417
+ "login": { "type": "string" },
2418
+ "id": { "type": "integer" },
2419
+ "node_id": { "type": "string" },
2420
+ "avatar_url": { "type": "string", "format": "uri" },
2421
+ "gravatar_id": { "type": "string", "nullable": true },
2422
+ "url": { "type": "string", "format": "uri" },
2423
+ "html_url": { "type": "string", "format": "uri" },
2424
+ "followers_url": { "type": "string", "format": "uri" },
2425
+ "following_url": { "type": "string" },
2426
+ "gists_url": { "type": "string" },
2427
+ "starred_url": { "type": "string" },
2428
+ "subscriptions_url": { "type": "string", "format": "uri" },
2429
+ "organizations_url": { "type": "string", "format": "uri" },
2430
+ "repos_url": { "type": "string", "format": "uri" },
2431
+ "events_url": { "type": "string" },
2432
+ "received_events_url": { "type": "string", "format": "uri" },
2433
+ "type": { "type": "string" },
2434
+ "site_admin": { "type": "boolean" },
2435
+ "name": { "type": "string", "nullable": true },
2436
+ "company": { "type": "string", "nullable": true },
2437
+ "blog": { "type": "string", "nullable": true },
2438
+ "location": { "type": "string", "nullable": true },
2439
+ "email": { "type": "string", "format": "email", "nullable": true },
2440
+ "hireable": { "type": "boolean", "nullable": true },
2441
+ "bio": { "type": "string", "nullable": true },
2442
+ "public_repos": { "type": "integer" },
2443
+ "public_gists": { "type": "integer" },
2444
+ "followers": { "type": "integer" },
2445
+ "following": { "type": "integer" },
2446
+ "created_at": { "type": "string", "format": "date-time" },
2447
+ "updated_at": { "type": "string", "format": "date-time" },
2448
+ "plan": {
2449
+ "type": "object",
2450
+ "properties": {
2451
+ "collaborators": { "type": "integer" },
2452
+ "name": { "type": "string" },
2453
+ "space": { "type": "integer" },
2454
+ "private_repos": { "type": "integer" }
2455
+ },
2456
+ "required": ["collaborators", "name", "space", "private_repos"]
2457
+ },
2458
+ "suspended_at": {
2459
+ "type": "string",
2460
+ "format": "date-time",
2461
+ "nullable": true
1760
2462
  },
1761
2463
  "private_gists": { "type": "integer", "example": 1 },
1762
2464
  "total_private_repos": { "type": "integer", "example": 2 },
@@ -3548,12 +4250,528 @@
3548
4250
  "href": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e"
3549
4251
  }
3550
4252
  },
3551
- "author_association": "OWNER",
3552
- "draft": false
3553
- }
3554
- ]
4253
+ "author_association": "OWNER",
4254
+ "draft": false
4255
+ }
4256
+ ]
4257
+ },
4258
+ "pull-request": {
4259
+ "value": {
4260
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347",
4261
+ "id": 1,
4262
+ "node_id": "MDExOlB1bGxSZXF1ZXN0MQ==",
4263
+ "html_url": "https://github.com/octocat/Hello-World/pull/1347",
4264
+ "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff",
4265
+ "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch",
4266
+ "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347",
4267
+ "commits_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits",
4268
+ "review_comments_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments",
4269
+ "review_comment_url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}",
4270
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments",
4271
+ "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e",
4272
+ "number": 1347,
4273
+ "state": "open",
4274
+ "locked": true,
4275
+ "title": "Amazing new feature",
4276
+ "user": {
4277
+ "login": "octocat",
4278
+ "id": 1,
4279
+ "node_id": "MDQ6VXNlcjE=",
4280
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
4281
+ "gravatar_id": "",
4282
+ "url": "https://api.github.com/users/octocat",
4283
+ "html_url": "https://github.com/octocat",
4284
+ "followers_url": "https://api.github.com/users/octocat/followers",
4285
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
4286
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
4287
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
4288
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
4289
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
4290
+ "repos_url": "https://api.github.com/users/octocat/repos",
4291
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
4292
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
4293
+ "type": "User",
4294
+ "site_admin": false
4295
+ },
4296
+ "body": "Please pull these awesome changes in!",
4297
+ "labels": [
4298
+ {
4299
+ "id": 208045946,
4300
+ "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=",
4301
+ "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug",
4302
+ "name": "bug",
4303
+ "description": "Something isn't working",
4304
+ "color": "f29513",
4305
+ "default": true
4306
+ }
4307
+ ],
4308
+ "milestone": {
4309
+ "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1",
4310
+ "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0",
4311
+ "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels",
4312
+ "id": 1002604,
4313
+ "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==",
4314
+ "number": 1,
4315
+ "state": "open",
4316
+ "title": "v1.0",
4317
+ "description": "Tracking milestone for version 1.0",
4318
+ "creator": {
4319
+ "login": "octocat",
4320
+ "id": 1,
4321
+ "node_id": "MDQ6VXNlcjE=",
4322
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
4323
+ "gravatar_id": "",
4324
+ "url": "https://api.github.com/users/octocat",
4325
+ "html_url": "https://github.com/octocat",
4326
+ "followers_url": "https://api.github.com/users/octocat/followers",
4327
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
4328
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
4329
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
4330
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
4331
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
4332
+ "repos_url": "https://api.github.com/users/octocat/repos",
4333
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
4334
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
4335
+ "type": "User",
4336
+ "site_admin": false
4337
+ },
4338
+ "open_issues": 4,
4339
+ "closed_issues": 8,
4340
+ "created_at": "2011-04-10T20:09:31Z",
4341
+ "updated_at": "2014-03-03T18:58:10Z",
4342
+ "closed_at": "2013-02-12T13:22:01Z",
4343
+ "due_on": "2012-10-09T23:39:01Z"
4344
+ },
4345
+ "active_lock_reason": "too heated",
4346
+ "created_at": "2011-01-26T19:01:12Z",
4347
+ "updated_at": "2011-01-26T19:01:12Z",
4348
+ "closed_at": "2011-01-26T19:01:12Z",
4349
+ "merged_at": "2011-01-26T19:01:12Z",
4350
+ "merge_commit_sha": "e5bd3914e2e596debea16f433f57875b5b90bcd6",
4351
+ "assignee": {
4352
+ "login": "octocat",
4353
+ "id": 1,
4354
+ "node_id": "MDQ6VXNlcjE=",
4355
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
4356
+ "gravatar_id": "",
4357
+ "url": "https://api.github.com/users/octocat",
4358
+ "html_url": "https://github.com/octocat",
4359
+ "followers_url": "https://api.github.com/users/octocat/followers",
4360
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
4361
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
4362
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
4363
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
4364
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
4365
+ "repos_url": "https://api.github.com/users/octocat/repos",
4366
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
4367
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
4368
+ "type": "User",
4369
+ "site_admin": false
4370
+ },
4371
+ "assignees": [
4372
+ {
4373
+ "login": "octocat",
4374
+ "id": 1,
4375
+ "node_id": "MDQ6VXNlcjE=",
4376
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
4377
+ "gravatar_id": "",
4378
+ "url": "https://api.github.com/users/octocat",
4379
+ "html_url": "https://github.com/octocat",
4380
+ "followers_url": "https://api.github.com/users/octocat/followers",
4381
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
4382
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
4383
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
4384
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
4385
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
4386
+ "repos_url": "https://api.github.com/users/octocat/repos",
4387
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
4388
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
4389
+ "type": "User",
4390
+ "site_admin": false
4391
+ },
4392
+ {
4393
+ "login": "hubot",
4394
+ "id": 1,
4395
+ "node_id": "MDQ6VXNlcjE=",
4396
+ "avatar_url": "https://github.com/images/error/hubot_happy.gif",
4397
+ "gravatar_id": "",
4398
+ "url": "https://api.github.com/users/hubot",
4399
+ "html_url": "https://github.com/hubot",
4400
+ "followers_url": "https://api.github.com/users/hubot/followers",
4401
+ "following_url": "https://api.github.com/users/hubot/following{/other_user}",
4402
+ "gists_url": "https://api.github.com/users/hubot/gists{/gist_id}",
4403
+ "starred_url": "https://api.github.com/users/hubot/starred{/owner}{/repo}",
4404
+ "subscriptions_url": "https://api.github.com/users/hubot/subscriptions",
4405
+ "organizations_url": "https://api.github.com/users/hubot/orgs",
4406
+ "repos_url": "https://api.github.com/users/hubot/repos",
4407
+ "events_url": "https://api.github.com/users/hubot/events{/privacy}",
4408
+ "received_events_url": "https://api.github.com/users/hubot/received_events",
4409
+ "type": "User",
4410
+ "site_admin": true
4411
+ }
4412
+ ],
4413
+ "requested_reviewers": [
4414
+ {
4415
+ "login": "other_user",
4416
+ "id": 1,
4417
+ "node_id": "MDQ6VXNlcjE=",
4418
+ "avatar_url": "https://github.com/images/error/other_user_happy.gif",
4419
+ "gravatar_id": "",
4420
+ "url": "https://api.github.com/users/other_user",
4421
+ "html_url": "https://github.com/other_user",
4422
+ "followers_url": "https://api.github.com/users/other_user/followers",
4423
+ "following_url": "https://api.github.com/users/other_user/following{/other_user}",
4424
+ "gists_url": "https://api.github.com/users/other_user/gists{/gist_id}",
4425
+ "starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}",
4426
+ "subscriptions_url": "https://api.github.com/users/other_user/subscriptions",
4427
+ "organizations_url": "https://api.github.com/users/other_user/orgs",
4428
+ "repos_url": "https://api.github.com/users/other_user/repos",
4429
+ "events_url": "https://api.github.com/users/other_user/events{/privacy}",
4430
+ "received_events_url": "https://api.github.com/users/other_user/received_events",
4431
+ "type": "User",
4432
+ "site_admin": false
4433
+ }
4434
+ ],
4435
+ "requested_teams": [
4436
+ {
4437
+ "id": 1,
4438
+ "node_id": "MDQ6VGVhbTE=",
4439
+ "url": "https://api.github.com/teams/1",
4440
+ "html_url": "https://github.com/orgs/github/teams/justice-league",
4441
+ "name": "Justice League",
4442
+ "slug": "justice-league",
4443
+ "description": "A great team.",
4444
+ "privacy": "closed",
4445
+ "permission": "admin",
4446
+ "members_url": "https://api.github.com/teams/1/members{/member}",
4447
+ "repositories_url": "https://api.github.com/teams/1/repos"
4448
+ }
4449
+ ],
4450
+ "head": {
4451
+ "label": "octocat:new-topic",
4452
+ "ref": "new-topic",
4453
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
4454
+ "user": {
4455
+ "login": "octocat",
4456
+ "id": 1,
4457
+ "node_id": "MDQ6VXNlcjE=",
4458
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
4459
+ "gravatar_id": "",
4460
+ "url": "https://api.github.com/users/octocat",
4461
+ "html_url": "https://github.com/octocat",
4462
+ "followers_url": "https://api.github.com/users/octocat/followers",
4463
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
4464
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
4465
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
4466
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
4467
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
4468
+ "repos_url": "https://api.github.com/users/octocat/repos",
4469
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
4470
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
4471
+ "type": "User",
4472
+ "site_admin": false
4473
+ },
4474
+ "repo": {
4475
+ "id": 1296269,
4476
+ "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
4477
+ "name": "Hello-World",
4478
+ "full_name": "octocat/Hello-World",
4479
+ "owner": {
4480
+ "login": "octocat",
4481
+ "id": 1,
4482
+ "node_id": "MDQ6VXNlcjE=",
4483
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
4484
+ "gravatar_id": "",
4485
+ "url": "https://api.github.com/users/octocat",
4486
+ "html_url": "https://github.com/octocat",
4487
+ "followers_url": "https://api.github.com/users/octocat/followers",
4488
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
4489
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
4490
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
4491
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
4492
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
4493
+ "repos_url": "https://api.github.com/users/octocat/repos",
4494
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
4495
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
4496
+ "type": "User",
4497
+ "site_admin": false
4498
+ },
4499
+ "private": false,
4500
+ "html_url": "https://github.com/octocat/Hello-World",
4501
+ "description": "This your first repo!",
4502
+ "fork": false,
4503
+ "url": "https://api.github.com/repos/octocat/Hello-World",
4504
+ "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
4505
+ "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}",
4506
+ "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
4507
+ "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}",
4508
+ "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
4509
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}",
4510
+ "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}",
4511
+ "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
4512
+ "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}",
4513
+ "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors",
4514
+ "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments",
4515
+ "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads",
4516
+ "events_url": "https://api.github.com/repos/octocat/Hello-World/events",
4517
+ "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks",
4518
+ "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
4519
+ "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
4520
+ "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
4521
+ "git_url": "git:github.com/octocat/Hello-World.git",
4522
+ "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
4523
+ "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
4524
+ "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}",
4525
+ "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
4526
+ "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}",
4527
+ "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages",
4528
+ "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges",
4529
+ "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}",
4530
+ "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
4531
+ "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}",
4532
+ "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}",
4533
+ "ssh_url": "git@github.com:octocat/Hello-World.git",
4534
+ "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers",
4535
+ "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
4536
+ "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers",
4537
+ "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription",
4538
+ "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags",
4539
+ "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams",
4540
+ "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}",
4541
+ "clone_url": "https://github.com/octocat/Hello-World.git",
4542
+ "mirror_url": "git:git.example.com/octocat/Hello-World",
4543
+ "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks",
4544
+ "svn_url": "https://svn.github.com/octocat/Hello-World",
4545
+ "homepage": "https://github.com",
4546
+ "language": null,
4547
+ "forks_count": 9,
4548
+ "stargazers_count": 80,
4549
+ "watchers_count": 80,
4550
+ "size": 108,
4551
+ "default_branch": "master",
4552
+ "open_issues_count": 0,
4553
+ "topics": ["octocat", "atom", "electron", "api"],
4554
+ "has_issues": true,
4555
+ "has_projects": true,
4556
+ "has_wiki": true,
4557
+ "has_pages": false,
4558
+ "has_downloads": true,
4559
+ "archived": false,
4560
+ "disabled": false,
4561
+ "pushed_at": "2011-01-26T19:06:43Z",
4562
+ "created_at": "2011-01-26T19:01:12Z",
4563
+ "updated_at": "2011-01-26T19:14:43Z",
4564
+ "permissions": { "admin": false, "push": false, "pull": true },
4565
+ "allow_rebase_merge": true,
4566
+ "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
4567
+ "allow_squash_merge": true,
4568
+ "allow_merge_commit": true,
4569
+ "allow_forking": true,
4570
+ "forks": 123,
4571
+ "open_issues": 123,
4572
+ "license": {
4573
+ "key": "mit",
4574
+ "name": "MIT License",
4575
+ "url": "https://api.github.com/licenses/mit",
4576
+ "spdx_id": "MIT",
4577
+ "node_id": "MDc6TGljZW5zZW1pdA=="
4578
+ },
4579
+ "watchers": 123
4580
+ }
4581
+ },
4582
+ "base": {
4583
+ "label": "octocat:master",
4584
+ "ref": "master",
4585
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
4586
+ "user": {
4587
+ "login": "octocat",
4588
+ "id": 1,
4589
+ "node_id": "MDQ6VXNlcjE=",
4590
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
4591
+ "gravatar_id": "",
4592
+ "url": "https://api.github.com/users/octocat",
4593
+ "html_url": "https://github.com/octocat",
4594
+ "followers_url": "https://api.github.com/users/octocat/followers",
4595
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
4596
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
4597
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
4598
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
4599
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
4600
+ "repos_url": "https://api.github.com/users/octocat/repos",
4601
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
4602
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
4603
+ "type": "User",
4604
+ "site_admin": false
4605
+ },
4606
+ "repo": {
4607
+ "id": 1296269,
4608
+ "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
4609
+ "name": "Hello-World",
4610
+ "full_name": "octocat/Hello-World",
4611
+ "owner": {
4612
+ "login": "octocat",
4613
+ "id": 1,
4614
+ "node_id": "MDQ6VXNlcjE=",
4615
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
4616
+ "gravatar_id": "",
4617
+ "url": "https://api.github.com/users/octocat",
4618
+ "html_url": "https://github.com/octocat",
4619
+ "followers_url": "https://api.github.com/users/octocat/followers",
4620
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
4621
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
4622
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
4623
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
4624
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
4625
+ "repos_url": "https://api.github.com/users/octocat/repos",
4626
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
4627
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
4628
+ "type": "User",
4629
+ "site_admin": false
4630
+ },
4631
+ "private": false,
4632
+ "html_url": "https://github.com/octocat/Hello-World",
4633
+ "description": "This your first repo!",
4634
+ "fork": false,
4635
+ "url": "https://api.github.com/repos/octocat/Hello-World",
4636
+ "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
4637
+ "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}",
4638
+ "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
4639
+ "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}",
4640
+ "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
4641
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}",
4642
+ "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}",
4643
+ "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
4644
+ "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}",
4645
+ "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors",
4646
+ "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments",
4647
+ "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads",
4648
+ "events_url": "https://api.github.com/repos/octocat/Hello-World/events",
4649
+ "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks",
4650
+ "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
4651
+ "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
4652
+ "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
4653
+ "git_url": "git:github.com/octocat/Hello-World.git",
4654
+ "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
4655
+ "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
4656
+ "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}",
4657
+ "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
4658
+ "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}",
4659
+ "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages",
4660
+ "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges",
4661
+ "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}",
4662
+ "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
4663
+ "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}",
4664
+ "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}",
4665
+ "ssh_url": "git@github.com:octocat/Hello-World.git",
4666
+ "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers",
4667
+ "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
4668
+ "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers",
4669
+ "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription",
4670
+ "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags",
4671
+ "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams",
4672
+ "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}",
4673
+ "clone_url": "https://github.com/octocat/Hello-World.git",
4674
+ "mirror_url": "git:git.example.com/octocat/Hello-World",
4675
+ "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks",
4676
+ "svn_url": "https://svn.github.com/octocat/Hello-World",
4677
+ "homepage": "https://github.com",
4678
+ "language": null,
4679
+ "forks_count": 9,
4680
+ "stargazers_count": 80,
4681
+ "watchers_count": 80,
4682
+ "size": 108,
4683
+ "default_branch": "master",
4684
+ "open_issues_count": 0,
4685
+ "topics": ["octocat", "atom", "electron", "api"],
4686
+ "has_issues": true,
4687
+ "has_projects": true,
4688
+ "has_wiki": true,
4689
+ "has_pages": false,
4690
+ "has_downloads": true,
4691
+ "archived": false,
4692
+ "disabled": false,
4693
+ "pushed_at": "2011-01-26T19:06:43Z",
4694
+ "created_at": "2011-01-26T19:01:12Z",
4695
+ "updated_at": "2011-01-26T19:14:43Z",
4696
+ "permissions": { "admin": false, "push": false, "pull": true },
4697
+ "allow_rebase_merge": true,
4698
+ "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
4699
+ "allow_squash_merge": true,
4700
+ "allow_merge_commit": true,
4701
+ "forks": 123,
4702
+ "open_issues": 123,
4703
+ "license": {
4704
+ "key": "mit",
4705
+ "name": "MIT License",
4706
+ "url": "https://api.github.com/licenses/mit",
4707
+ "spdx_id": "MIT",
4708
+ "node_id": "MDc6TGljZW5zZW1pdA=="
4709
+ },
4710
+ "watchers": 123
4711
+ }
4712
+ },
4713
+ "_links": {
4714
+ "self": {
4715
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347"
4716
+ },
4717
+ "html": {
4718
+ "href": "https://github.com/octocat/Hello-World/pull/1347"
4719
+ },
4720
+ "issue": {
4721
+ "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347"
4722
+ },
4723
+ "comments": {
4724
+ "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments"
4725
+ },
4726
+ "review_comments": {
4727
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments"
4728
+ },
4729
+ "review_comment": {
4730
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}"
4731
+ },
4732
+ "commits": {
4733
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits"
4734
+ },
4735
+ "statuses": {
4736
+ "href": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e"
4737
+ }
4738
+ },
4739
+ "author_association": "OWNER",
4740
+ "draft": false,
4741
+ "merged": false,
4742
+ "mergeable": true,
4743
+ "rebaseable": true,
4744
+ "mergeable_state": "clean",
4745
+ "merged_by": {
4746
+ "login": "octocat",
4747
+ "id": 1,
4748
+ "node_id": "MDQ6VXNlcjE=",
4749
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
4750
+ "gravatar_id": "",
4751
+ "url": "https://api.github.com/users/octocat",
4752
+ "html_url": "https://github.com/octocat",
4753
+ "followers_url": "https://api.github.com/users/octocat/followers",
4754
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
4755
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
4756
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
4757
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
4758
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
4759
+ "repos_url": "https://api.github.com/users/octocat/repos",
4760
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
4761
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
4762
+ "type": "User",
4763
+ "site_admin": false
4764
+ },
4765
+ "comments": 10,
4766
+ "review_comments": 0,
4767
+ "maintainer_can_modify": true,
4768
+ "commits": 3,
4769
+ "additions": 100,
4770
+ "deletions": 3,
4771
+ "changed_files": 5
4772
+ }
3555
4773
  },
3556
- "pull-request": {
4774
+ "pull-request-review-request": {
3557
4775
  "value": {
3558
4776
  "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347",
3559
4777
  "id": 1,
@@ -3709,6 +4927,46 @@
3709
4927
  }
3710
4928
  ],
3711
4929
  "requested_reviewers": [
4930
+ {
4931
+ "login": "octocat",
4932
+ "id": 1,
4933
+ "node_id": "MDQ6VXNlcjE=",
4934
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
4935
+ "gravatar_id": "",
4936
+ "url": "https://api.github.com/users/octocat",
4937
+ "html_url": "https://github.com/octocat",
4938
+ "followers_url": "https://api.github.com/users/octocat/followers",
4939
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
4940
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
4941
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
4942
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
4943
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
4944
+ "repos_url": "https://api.github.com/users/octocat/repos",
4945
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
4946
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
4947
+ "type": "User",
4948
+ "site_admin": false
4949
+ },
4950
+ {
4951
+ "login": "hubot",
4952
+ "id": 1,
4953
+ "node_id": "MDQ6VXNlcjE=",
4954
+ "avatar_url": "https://github.com/images/error/hubot_happy.gif",
4955
+ "gravatar_id": "",
4956
+ "url": "https://api.github.com/users/hubot",
4957
+ "html_url": "https://github.com/hubot",
4958
+ "followers_url": "https://api.github.com/users/hubot/followers",
4959
+ "following_url": "https://api.github.com/users/hubot/following{/other_user}",
4960
+ "gists_url": "https://api.github.com/users/hubot/gists{/gist_id}",
4961
+ "starred_url": "https://api.github.com/users/hubot/starred{/owner}{/repo}",
4962
+ "subscriptions_url": "https://api.github.com/users/hubot/subscriptions",
4963
+ "organizations_url": "https://api.github.com/users/hubot/orgs",
4964
+ "repos_url": "https://api.github.com/users/hubot/repos",
4965
+ "events_url": "https://api.github.com/users/hubot/events{/privacy}",
4966
+ "received_events_url": "https://api.github.com/users/hubot/received_events",
4967
+ "type": "User",
4968
+ "site_admin": true
4969
+ },
3712
4970
  {
3713
4971
  "login": "other_user",
3714
4972
  "id": 1,
@@ -3742,7 +5000,8 @@
3742
5000
  "privacy": "closed",
3743
5001
  "permission": "admin",
3744
5002
  "members_url": "https://api.github.com/teams/1/members{/member}",
3745
- "repositories_url": "https://api.github.com/teams/1/repos"
5003
+ "repositories_url": "https://api.github.com/teams/1/repos",
5004
+ "parent": null
3746
5005
  }
3747
5006
  ],
3748
5007
  "head": {
@@ -3841,13 +5100,13 @@
3841
5100
  "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks",
3842
5101
  "svn_url": "https://svn.github.com/octocat/Hello-World",
3843
5102
  "homepage": "https://github.com",
3844
- "language": null,
3845
5103
  "forks_count": 9,
3846
5104
  "stargazers_count": 80,
3847
5105
  "watchers_count": 80,
3848
5106
  "size": 108,
3849
5107
  "default_branch": "master",
3850
5108
  "open_issues_count": 0,
5109
+ "is_template": true,
3851
5110
  "topics": ["octocat", "atom", "electron", "api"],
3852
5111
  "has_issues": true,
3853
5112
  "has_projects": true,
@@ -3856,6 +5115,7 @@
3856
5115
  "has_downloads": true,
3857
5116
  "archived": false,
3858
5117
  "disabled": false,
5118
+ "visibility": "public",
3859
5119
  "pushed_at": "2011-01-26T19:06:43Z",
3860
5120
  "created_at": "2011-01-26T19:01:12Z",
3861
5121
  "updated_at": "2011-01-26T19:14:43Z",
@@ -3863,18 +5123,21 @@
3863
5123
  "allow_rebase_merge": true,
3864
5124
  "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
3865
5125
  "allow_squash_merge": true,
5126
+ "delete_branch_on_merge": true,
3866
5127
  "allow_merge_commit": true,
3867
- "allow_forking": true,
3868
- "forks": 123,
3869
- "open_issues": 123,
5128
+ "subscribers_count": 42,
5129
+ "network_count": 0,
3870
5130
  "license": {
3871
5131
  "key": "mit",
3872
5132
  "name": "MIT License",
3873
5133
  "url": "https://api.github.com/licenses/mit",
3874
5134
  "spdx_id": "MIT",
3875
- "node_id": "MDc6TGljZW5zZW1pdA=="
5135
+ "node_id": "MDc6TGljZW5zZW1pdA==",
5136
+ "html_url": "https://github.com/licenses/mit"
3876
5137
  },
3877
- "watchers": 123
5138
+ "forks": 1,
5139
+ "open_issues": 1,
5140
+ "watchers": 1
3878
5141
  }
3879
5142
  },
3880
5143
  "base": {
@@ -3973,13 +5236,13 @@
3973
5236
  "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks",
3974
5237
  "svn_url": "https://svn.github.com/octocat/Hello-World",
3975
5238
  "homepage": "https://github.com",
3976
- "language": null,
3977
5239
  "forks_count": 9,
3978
5240
  "stargazers_count": 80,
3979
5241
  "watchers_count": 80,
3980
5242
  "size": 108,
3981
5243
  "default_branch": "master",
3982
5244
  "open_issues_count": 0,
5245
+ "is_template": true,
3983
5246
  "topics": ["octocat", "atom", "electron", "api"],
3984
5247
  "has_issues": true,
3985
5248
  "has_projects": true,
@@ -3988,6 +5251,7 @@
3988
5251
  "has_downloads": true,
3989
5252
  "archived": false,
3990
5253
  "disabled": false,
5254
+ "visibility": "public",
3991
5255
  "pushed_at": "2011-01-26T19:06:43Z",
3992
5256
  "created_at": "2011-01-26T19:01:12Z",
3993
5257
  "updated_at": "2011-01-26T19:14:43Z",
@@ -3995,17 +5259,21 @@
3995
5259
  "allow_rebase_merge": true,
3996
5260
  "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
3997
5261
  "allow_squash_merge": true,
5262
+ "delete_branch_on_merge": true,
3998
5263
  "allow_merge_commit": true,
3999
- "forks": 123,
4000
- "open_issues": 123,
5264
+ "subscribers_count": 42,
5265
+ "network_count": 0,
4001
5266
  "license": {
4002
5267
  "key": "mit",
4003
5268
  "name": "MIT License",
4004
5269
  "url": "https://api.github.com/licenses/mit",
4005
5270
  "spdx_id": "MIT",
4006
- "node_id": "MDc6TGljZW5zZW1pdA=="
5271
+ "node_id": "MDc6TGljZW5zZW1pdA==",
5272
+ "html_url": "https://api.github.com/licenses/mit"
4007
5273
  },
4008
- "watchers": 123
5274
+ "forks": 1,
5275
+ "open_issues": 1,
5276
+ "watchers": 1
4009
5277
  }
4010
5278
  },
4011
5279
  "_links": {
@@ -4035,38 +5303,119 @@
4035
5303
  }
4036
5304
  },
4037
5305
  "author_association": "OWNER",
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
5306
+ "draft": false
5307
+ }
5308
+ },
5309
+ "private-user": {
5310
+ "value": {
5311
+ "login": "octocat",
5312
+ "id": 1,
5313
+ "node_id": "MDQ6VXNlcjE=",
5314
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
5315
+ "gravatar_id": "",
5316
+ "url": "https://api.github.com/users/octocat",
5317
+ "html_url": "https://github.com/octocat",
5318
+ "followers_url": "https://api.github.com/users/octocat/followers",
5319
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
5320
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
5321
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
5322
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
5323
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
5324
+ "repos_url": "https://api.github.com/users/octocat/repos",
5325
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
5326
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
5327
+ "type": "User",
5328
+ "site_admin": false,
5329
+ "name": "monalisa octocat",
5330
+ "company": "GitHub",
5331
+ "blog": "https://github.com/blog",
5332
+ "location": "San Francisco",
5333
+ "email": "octocat@github.com",
5334
+ "hireable": false,
5335
+ "bio": "There once was...",
5336
+ "public_repos": 2,
5337
+ "public_gists": 1,
5338
+ "followers": 20,
5339
+ "following": 0,
5340
+ "created_at": "2008-01-14T04:33:35Z",
5341
+ "updated_at": "2008-01-14T04:33:35Z",
5342
+ "private_gists": 81,
5343
+ "total_private_repos": 100,
5344
+ "owned_private_repos": 100,
5345
+ "disk_usage": 10000,
5346
+ "collaborators": 8,
5347
+ "two_factor_authentication": true,
5348
+ "plan": {
5349
+ "name": "Medium",
5350
+ "space": 400,
5351
+ "private_repos": 20,
5352
+ "collaborators": 0
5353
+ }
5354
+ }
5355
+ }
5356
+ },
5357
+ "responses": {
5358
+ "not_modified": { "description": "Not modified" },
5359
+ "forbidden": {
5360
+ "description": "Forbidden",
5361
+ "content": {
5362
+ "application/json": {
5363
+ "schema": { "$ref": "#/components/schemas/basic-error" }
5364
+ }
5365
+ }
5366
+ },
5367
+ "not_found": {
5368
+ "description": "Resource not found",
5369
+ "content": {
5370
+ "application/json": {
5371
+ "schema": { "$ref": "#/components/schemas/basic-error" }
5372
+ }
5373
+ }
5374
+ },
5375
+ "validation_failed": {
5376
+ "description": "Validation failed",
5377
+ "content": {
5378
+ "application/json": {
5379
+ "schema": { "$ref": "#/components/schemas/validation-error" }
5380
+ }
5381
+ }
5382
+ },
5383
+ "forbidden_gist": {
5384
+ "description": "Forbidden Gist",
5385
+ "content": {
5386
+ "application/json": {
5387
+ "schema": {
5388
+ "type": "object",
5389
+ "properties": {
5390
+ "block": {
5391
+ "type": "object",
5392
+ "properties": {
5393
+ "reason": { "type": "string" },
5394
+ "created_at": { "type": "string" },
5395
+ "html_url": { "type": "string", "nullable": true }
5396
+ }
5397
+ },
5398
+ "message": { "type": "string" },
5399
+ "documentation_url": { "type": "string" }
5400
+ }
5401
+ }
5402
+ }
5403
+ }
5404
+ },
5405
+ "internal_error": {
5406
+ "description": "Internal Error",
5407
+ "content": {
5408
+ "application/json": {
5409
+ "schema": { "$ref": "#/components/schemas/basic-error" }
5410
+ }
5411
+ }
5412
+ },
5413
+ "requires_authentication": {
5414
+ "description": "Requires authentication",
5415
+ "content": {
5416
+ "application/json": {
5417
+ "schema": { "$ref": "#/components/schemas/basic-error" }
5418
+ }
4070
5419
  }
4071
5420
  }
4072
5421
  },
@@ -4117,63 +5466,6 @@
4117
5466
  "schema": { "type": "integer" }
4118
5467
  }
4119
5468
  },
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
- },
4177
5469
  "headers": {
4178
5470
  "link": {
4179
5471
  "example": "<https://api.github.com/resource?page=2>; rel=\"next\", <https://api.github.com/resource?page=5>; rel=\"last\"",