This repository was archived by the owner on Dec 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgithub.yaml
1158 lines (1153 loc) · 34.6 KB
/
github.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
openapi: 3.0.3
info:
version: 1.1.4
title: GitHub v3 REST API
description: GitHub's v3 REST API.
license:
name: MIT
url: https://spdx.org/licenses/MIT
termsOfService: https://docs.github.com/articles/github-terms-of-service
contact:
name: Support
url: https://support.github.com/contact?tags=dotcom-rest-api
x-github-plan: api.github.com
tags:
- name: repos
description: Interact with GitHub Repos.
- name: search
description: Look for stuff on GitHub.
servers:
- url: https://api.github.com
externalDocs:
description: GitHub v3 REST API
url: https://docs.github.com/rest/
paths:
"/repos/{owner}/{repo}/releases/latest":
get:
summary: Get the latest release
description: |-
View the latest published full release for the repository.
The latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.
tags:
- repos
operationId: repos/get-latest-release
externalDocs:
description: API method documentation
url: https://docs.github.com/rest/releases/releases#get-the-latest-release
parameters:
- "$ref": "#/components/parameters/owner"
- "$ref": "#/components/parameters/repo"
responses:
'200':
description: Response
content:
application/json:
schema:
"$ref": "#/components/schemas/release"
examples:
default:
"$ref": "#/components/examples/release"
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
category: releases
subcategory: releases
"/search/repositories":
get:
summary: Search repositories
description: |-
Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).
When searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/search/search#text-match-metadata).
For example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:
`q=tetris+language:assembly&sort=stars&order=desc`
This query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.
tags:
- search
operationId: search/repos
externalDocs:
description: API method documentation
url: https://docs.github.com/rest/search/search#search-repositories
parameters:
- name: q
description: The query contains one or more search keywords and qualifiers.
Qualifiers allow you to limit your search to specific areas of GitHub. The
REST API supports the same qualifiers as the web interface for GitHub. To
learn more about the format of the query, see [Constructing a search query](https://docs.github.com/rest/search/search#constructing-a-search-query).
See "[Searching for repositories](https://docs.github.com/articles/searching-for-repositories/)"
for a detailed list of qualifiers.
in: query
required: true
schema:
type: string
- name: sort
description: 'Sorts the results of your query by number of `stars`, `forks`,
or `help-wanted-issues` or how recently the items were `updated`. Default:
[best match](https://docs.github.com/rest/search/search#ranking-search-results)'
in: query
required: false
schema:
type: string
enum:
- stars
- forks
- help-wanted-issues
- updated
- "$ref": "#/components/parameters/order"
- "$ref": "#/components/parameters/per-page"
- "$ref": "#/components/parameters/page"
responses:
'200':
description: Response
content:
application/json:
schema:
type: object
required:
- total_count
- incomplete_results
- items
properties:
total_count:
type: integer
incomplete_results:
type: boolean
items:
type: array
items:
"$ref": "#/components/schemas/repo-search-result-item"
examples:
default:
"$ref": "#/components/examples/repo-search-result-item-paginated"
'503':
"$ref": "#/components/responses/service_unavailable"
'422':
"$ref": "#/components/responses/validation_failed"
'304':
"$ref": "#/components/responses/not_modified"
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
category: search
subcategory: search
components:
examples:
release:
value:
url: https://api.github.com/repos/octocat/Hello-World/releases/1
html_url: https://github.com/octocat/Hello-World/releases/v1.0.0
assets_url: https://api.github.com/repos/octocat/Hello-World/releases/1/assets
upload_url: https://uploads.github.com/repos/octocat/Hello-World/releases/1/assets{?name,label}
tarball_url: https://api.github.com/repos/octocat/Hello-World/tarball/v1.0.0
zipball_url: https://api.github.com/repos/octocat/Hello-World/zipball/v1.0.0
discussion_url: https://github.com/octocat/Hello-World/discussions/90
id: 1
node_id: MDc6UmVsZWFzZTE=
tag_name: v1.0.0
target_commitish: master
name: v1.0.0
body: Description of the release
draft: false
prerelease: false
created_at: '2013-02-27T19:35:32Z'
published_at: '2013-02-27T19:35:32Z'
author:
login: octocat
id: 1
node_id: MDQ6VXNlcjE=
avatar_url: https://github.com/images/error/octocat_happy.gif
gravatar_id: ''
url: https://api.github.com/users/octocat
html_url: https://github.com/octocat
followers_url: https://api.github.com/users/octocat/followers
following_url: https://api.github.com/users/octocat/following{/other_user}
gists_url: https://api.github.com/users/octocat/gists{/gist_id}
starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo}
subscriptions_url: https://api.github.com/users/octocat/subscriptions
organizations_url: https://api.github.com/users/octocat/orgs
repos_url: https://api.github.com/users/octocat/repos
events_url: https://api.github.com/users/octocat/events{/privacy}
received_events_url: https://api.github.com/users/octocat/received_events
type: User
site_admin: false
assets:
- url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1
browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip
id: 1
node_id: MDEyOlJlbGVhc2VBc3NldDE=
name: example.zip
label: short description
state: uploaded
content_type: application/zip
size: 1024
download_count: 42
created_at: '2013-02-27T19:35:32Z'
updated_at: '2013-02-27T19:35:32Z'
uploader:
login: octocat
id: 1
node_id: MDQ6VXNlcjE=
avatar_url: https://github.com/images/error/octocat_happy.gif
gravatar_id: ''
url: https://api.github.com/users/octocat
html_url: https://github.com/octocat
followers_url: https://api.github.com/users/octocat/followers
following_url: https://api.github.com/users/octocat/following{/other_user}
gists_url: https://api.github.com/users/octocat/gists{/gist_id}
starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo}
subscriptions_url: https://api.github.com/users/octocat/subscriptions
organizations_url: https://api.github.com/users/octocat/orgs
repos_url: https://api.github.com/users/octocat/repos
events_url: https://api.github.com/users/octocat/events{/privacy}
received_events_url: https://api.github.com/users/octocat/received_events
type: User
site_admin: false
repo-search-result-item-paginated:
value:
total_count: 40
incomplete_results: false
items:
- id: 3081286
node_id: MDEwOlJlcG9zaXRvcnkzMDgxMjg2
name: Tetris
full_name: dtrupenn/Tetris
owner:
login: dtrupenn
id: 872147
node_id: MDQ6VXNlcjg3MjE0Nw==
avatar_url: https://secure.gravatar.com/avatar/e7956084e75f239de85d3a31bc172ace?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png
gravatar_id: ''
url: https://api.github.com/users/dtrupenn
received_events_url: https://api.github.com/users/dtrupenn/received_events
type: User
html_url: https://github.com/octocat
followers_url: https://api.github.com/users/octocat/followers
following_url: https://api.github.com/users/octocat/following{/other_user}
gists_url: https://api.github.com/users/octocat/gists{/gist_id}
starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo}
subscriptions_url: https://api.github.com/users/octocat/subscriptions
organizations_url: https://api.github.com/users/octocat/orgs
repos_url: https://api.github.com/users/octocat/repos
events_url: https://api.github.com/users/octocat/events{/privacy}
site_admin: true
private: false
html_url: https://github.com/dtrupenn/Tetris
description: A C implementation of Tetris using Pennsim through LC4
fork: false
url: https://api.github.com/repos/dtrupenn/Tetris
created_at: '2012-01-01T00:31:50Z'
updated_at: '2013-01-05T17:58:47Z'
pushed_at: '2012-01-01T00:37:02Z'
homepage: https://github.com
size: 524
stargazers_count: 1
watchers_count: 1
language: Assembly
forks_count: 0
open_issues_count: 0
master_branch: master
default_branch: master
score: 1
archive_url: https://api.github.com/repos/dtrupenn/Tetris/{archive_format}{/ref}
assignees_url: https://api.github.com/repos/dtrupenn/Tetris/assignees{/user}
blobs_url: https://api.github.com/repos/dtrupenn/Tetris/git/blobs{/sha}
branches_url: https://api.github.com/repos/dtrupenn/Tetris/branches{/branch}
collaborators_url: https://api.github.com/repos/dtrupenn/Tetris/collaborators{/collaborator}
comments_url: https://api.github.com/repos/dtrupenn/Tetris/comments{/number}
commits_url: https://api.github.com/repos/dtrupenn/Tetris/commits{/sha}
compare_url: https://api.github.com/repos/dtrupenn/Tetris/compare/{base}...{head}
contents_url: https://api.github.com/repos/dtrupenn/Tetris/contents/{+path}
contributors_url: https://api.github.com/repos/dtrupenn/Tetris/contributors
deployments_url: https://api.github.com/repos/dtrupenn/Tetris/deployments
downloads_url: https://api.github.com/repos/dtrupenn/Tetris/downloads
events_url: https://api.github.com/repos/dtrupenn/Tetris/events
forks_url: https://api.github.com/repos/dtrupenn/Tetris/forks
git_commits_url: https://api.github.com/repos/dtrupenn/Tetris/git/commits{/sha}
git_refs_url: https://api.github.com/repos/dtrupenn/Tetris/git/refs{/sha}
git_tags_url: https://api.github.com/repos/dtrupenn/Tetris/git/tags{/sha}
git_url: git:github.com/dtrupenn/Tetris.git
issue_comment_url: https://api.github.com/repos/dtrupenn/Tetris/issues/comments{/number}
issue_events_url: https://api.github.com/repos/dtrupenn/Tetris/issues/events{/number}
issues_url: https://api.github.com/repos/dtrupenn/Tetris/issues{/number}
keys_url: https://api.github.com/repos/dtrupenn/Tetris/keys{/key_id}
labels_url: https://api.github.com/repos/dtrupenn/Tetris/labels{/name}
languages_url: https://api.github.com/repos/dtrupenn/Tetris/languages
merges_url: https://api.github.com/repos/dtrupenn/Tetris/merges
milestones_url: https://api.github.com/repos/dtrupenn/Tetris/milestones{/number}
notifications_url: https://api.github.com/repos/dtrupenn/Tetris/notifications{?since,all,participating}
pulls_url: https://api.github.com/repos/dtrupenn/Tetris/pulls{/number}
releases_url: https://api.github.com/repos/dtrupenn/Tetris/releases{/id}
ssh_url: [email protected]:dtrupenn/Tetris.git
stargazers_url: https://api.github.com/repos/dtrupenn/Tetris/stargazers
statuses_url: https://api.github.com/repos/dtrupenn/Tetris/statuses/{sha}
subscribers_url: https://api.github.com/repos/dtrupenn/Tetris/subscribers
subscription_url: https://api.github.com/repos/dtrupenn/Tetris/subscription
tags_url: https://api.github.com/repos/dtrupenn/Tetris/tags
teams_url: https://api.github.com/repos/dtrupenn/Tetris/teams
trees_url: https://api.github.com/repos/dtrupenn/Tetris/git/trees{/sha}
clone_url: https://github.com/dtrupenn/Tetris.git
mirror_url: git:git.example.com/dtrupenn/Tetris
hooks_url: https://api.github.com/repos/dtrupenn/Tetris/hooks
svn_url: https://svn.github.com/dtrupenn/Tetris
forks: 1
open_issues: 1
watchers: 1
has_issues: true
has_projects: true
has_pages: true
has_wiki: true
has_downloads: true
archived: true
disabled: true
visibility: private
license:
key: mit
name: MIT License
url: https://api.github.com/licenses/mit
spdx_id: MIT
node_id: MDc6TGljZW5zZW1pdA==
html_url: https://api.github.com/licenses/mit
parameters:
order:
name: order
description: Determines whether the first search result returned is the highest
number of matches (`desc`) or lowest number of matches (`asc`). This parameter
is ignored unless you provide `sort`.
in: query
required: false
schema:
type: string
enum:
- desc
- asc
default: desc
owner:
name: owner
description: The account owner of the repository. The name is not case sensitive.
in: path
required: true
schema:
type: string
page:
name: page
description: Page number of the results to fetch.
in: query
schema:
type: integer
default: 1
per-page:
name: per_page
description: The number of results per page (max 100).
in: query
schema:
type: integer
default: 30
repo:
name: repo
description: The name of the repository without the `.git` extension. The name
is not case sensitive.
in: path
required: true
schema:
type: string
responses:
not_modified:
description: Not modified
service_unavailable:
description: Service unavailable
content:
application/json:
schema:
type: object
properties:
code:
type: string
message:
type: string
documentation_url:
type: string
validation_failed:
description: Validation failed, or the endpoint has been spammed.
content:
application/json:
schema:
"$ref": "#/components/schemas/validation-error"
schemas:
nullable-license-simple:
title: License Simple
description: License Simple
type: object
properties:
key:
type: string
example: mit
name:
type: string
example: MIT License
url:
type: string
nullable: true
format: uri
example: https://api.github.com/licenses/mit
spdx_id:
type: string
nullable: true
example: MIT
node_id:
type: string
example: MDc6TGljZW5zZW1pdA==
html_url:
type: string
format: uri
required:
- key
- name
- url
- spdx_id
- node_id
nullable: true
nullable-simple-user:
title: Simple User
description: A GitHub user.
type: object
properties:
name:
nullable: true
type: string
email:
nullable: true
type: string
login:
type: string
example: octocat
id:
type: integer
example: 1
node_id:
type: string
example: MDQ6VXNlcjE=
avatar_url:
type: string
format: uri
example: https://github.com/images/error/octocat_happy.gif
gravatar_id:
type: string
example: 41d064eb2195891e12d0413f63227ea7
nullable: true
url:
type: string
format: uri
example: https://api.github.com/users/octocat
html_url:
type: string
format: uri
example: https://github.com/octocat
followers_url:
type: string
format: uri
example: https://api.github.com/users/octocat/followers
following_url:
type: string
example: https://api.github.com/users/octocat/following{/other_user}
gists_url:
type: string
example: https://api.github.com/users/octocat/gists{/gist_id}
starred_url:
type: string
example: https://api.github.com/users/octocat/starred{/owner}{/repo}
subscriptions_url:
type: string
format: uri
example: https://api.github.com/users/octocat/subscriptions
organizations_url:
type: string
format: uri
example: https://api.github.com/users/octocat/orgs
repos_url:
type: string
format: uri
example: https://api.github.com/users/octocat/repos
events_url:
type: string
example: https://api.github.com/users/octocat/events{/privacy}
received_events_url:
type: string
format: uri
example: https://api.github.com/users/octocat/received_events
type:
type: string
example: User
site_admin:
type: boolean
starred_at:
type: string
example: '"2020-07-09T00:17:55Z"'
required:
- avatar_url
- events_url
- followers_url
- following_url
- gists_url
- gravatar_id
- html_url
- id
- node_id
- login
- organizations_url
- received_events_url
- repos_url
- site_admin
- starred_url
- subscriptions_url
- type
- url
nullable: true
reaction-rollup:
title: Reaction Rollup
type: object
properties:
url:
type: string
format: uri
total_count:
type: integer
"+1":
type: integer
"-1":
type: integer
laugh:
type: integer
confused:
type: integer
heart:
type: integer
hooray:
type: integer
eyes:
type: integer
rocket:
type: integer
required:
- url
- total_count
- "+1"
- "-1"
- laugh
- confused
- heart
- hooray
- eyes
- rocket
release:
title: Release
description: A release.
type: object
properties:
url:
type: string
format: uri
html_url:
type: string
format: uri
assets_url:
type: string
format: uri
upload_url:
type: string
tarball_url:
type: string
format: uri
nullable: true
zipball_url:
type: string
format: uri
nullable: true
id:
type: integer
node_id:
type: string
tag_name:
description: The name of the tag.
example: v1.0.0
type: string
target_commitish:
description: Specifies the commitish value that determines where the Git
tag is created from.
example: master
type: string
name:
type: string
nullable: true
body:
type: string
nullable: true
draft:
description: true to create a draft (unpublished) release, false to create
a published one.
example: false
type: boolean
prerelease:
description: Whether to identify the release as a prerelease or a full release.
example: false
type: boolean
created_at:
type: string
format: date-time
published_at:
type: string
format: date-time
nullable: true
author:
"$ref": "#/components/schemas/simple-user"
assets:
type: array
items:
"$ref": "#/components/schemas/release-asset"
body_html:
type: string
body_text:
type: string
mentions_count:
type: integer
discussion_url:
description: The URL of the release discussion.
type: string
format: uri
reactions:
"$ref": "#/components/schemas/reaction-rollup"
required:
- assets_url
- upload_url
- tarball_url
- zipball_url
- created_at
- published_at
- draft
- id
- node_id
- author
- html_url
- name
- prerelease
- tag_name
- target_commitish
- assets
- url
release-asset:
title: Release Asset
description: Data related to a release.
type: object
properties:
url:
type: string
format: uri
browser_download_url:
type: string
format: uri
id:
type: integer
node_id:
type: string
name:
description: The file name of the asset.
type: string
example: Team Environment
label:
type: string
nullable: true
state:
description: State of the release asset.
type: string
enum:
- uploaded
- open
content_type:
type: string
size:
type: integer
download_count:
type: integer
created_at:
type: string
format: date-time
updated_at:
type: string
format: date-time
uploader:
"$ref": "#/components/schemas/nullable-simple-user"
required:
- id
- name
- content_type
- size
- state
- url
- node_id
- download_count
- label
- uploader
- browser_download_url
- created_at
- updated_at
repo-search-result-item:
title: Repo Search Result Item
description: Repo Search Result Item
type: object
properties:
id:
type: integer
node_id:
type: string
name:
type: string
full_name:
type: string
owner:
"$ref": "#/components/schemas/nullable-simple-user"
private:
type: boolean
html_url:
type: string
format: uri
description:
type: string
nullable: true
fork:
type: boolean
url:
type: string
format: uri
created_at:
type: string
format: date-time
updated_at:
type: string
format: date-time
pushed_at:
type: string
format: date-time
homepage:
type: string
format: uri
nullable: true
size:
type: integer
stargazers_count:
type: integer
watchers_count:
type: integer
language:
type: string
nullable: true
forks_count:
type: integer
open_issues_count:
type: integer
master_branch:
type: string
default_branch:
type: string
score:
type: number
forks_url:
type: string
format: uri
keys_url:
type: string
collaborators_url:
type: string
teams_url:
type: string
format: uri
hooks_url:
type: string
format: uri
issue_events_url:
type: string
events_url:
type: string
format: uri
assignees_url:
type: string
branches_url:
type: string
tags_url:
type: string
format: uri
blobs_url:
type: string
git_tags_url:
type: string
git_refs_url:
type: string
trees_url:
type: string
statuses_url:
type: string
languages_url:
type: string
format: uri
stargazers_url:
type: string
format: uri
contributors_url:
type: string
format: uri
subscribers_url:
type: string
format: uri
subscription_url:
type: string
format: uri
commits_url:
type: string
git_commits_url:
type: string
comments_url:
type: string
issue_comment_url:
type: string
contents_url:
type: string
compare_url:
type: string
merges_url:
type: string
format: uri
archive_url:
type: string
downloads_url:
type: string
format: uri
issues_url:
type: string
pulls_url:
type: string
milestones_url:
type: string
notifications_url:
type: string
labels_url:
type: string
releases_url:
type: string
deployments_url:
type: string
format: uri
git_url:
type: string
ssh_url:
type: string
clone_url:
type: string
svn_url:
type: string
format: uri
forks:
type: integer
open_issues:
type: integer
watchers:
type: integer
topics:
type: array
items:
type: string
mirror_url:
type: string
format: uri
nullable: true
has_issues:
type: boolean
has_projects:
type: boolean
has_pages:
type: boolean
has_wiki:
type: boolean
has_downloads:
type: boolean
has_discussions:
type: boolean
archived:
type: boolean
disabled:
type: boolean
description: Returns whether or not this repository disabled.
visibility:
description: 'The repository visibility: public, private, or internal.'
type: string
license:
"$ref": "#/components/schemas/nullable-license-simple"
permissions:
type: object
properties:
admin:
type: boolean
maintain:
type: boolean
push:
type: boolean
triage:
type: boolean
pull:
type: boolean
required:
- admin
- pull
- push
text_matches:
"$ref": "#/components/schemas/search-result-text-matches"
temp_clone_token:
type: string
allow_merge_commit:
type: boolean
allow_squash_merge:
type: boolean
allow_rebase_merge:
type: boolean
allow_auto_merge:
type: boolean
delete_branch_on_merge:
type: boolean
allow_forking:
type: boolean
is_template:
type: boolean
web_commit_signoff_required:
type: boolean
example: false
required:
- archive_url
- assignees_url
- blobs_url
- branches_url
- collaborators_url
- comments_url
- commits_url
- compare_url
- contents_url
- contributors_url
- deployments_url
- description
- downloads_url
- events_url
- fork
- forks_url
- full_name
- git_commits_url
- git_refs_url
- git_tags_url
- hooks_url
- html_url
- id
- node_id
- issue_comment_url
- issue_events_url
- issues_url
- keys_url
- labels_url
- languages_url
- merges_url
- milestones_url
- name
- notifications_url
- owner
- private
- pulls_url
- releases_url
- stargazers_url
- statuses_url
- subscribers_url
- subscription_url
- tags_url
- teams_url
- trees_url
- url
- clone_url
- default_branch
- forks
- forks_count
- git_url
- has_downloads
- has_issues
- has_projects
- has_wiki
- has_pages
- homepage
- language
- archived
- disabled
- mirror_url
- open_issues
- open_issues_count
- license
- pushed_at
- size
- ssh_url
- stargazers_count
- svn_url
- watchers
- watchers_count
- created_at
- updated_at
- score
search-result-text-matches:
title: Search Result Text Matches