Skip to content

Commit 55327b2

Browse files
authored
Merge pull request #652 from github/openapi-update-74346e89ad3f6296f41c8fe58721c0a1b4edfc3ccfbd11ddc59b0394df5662f6
Update OpenAPI Descriptions
2 parents e9ce809 + a3866e4 commit 55327b2

20 files changed

+5274
-9544
lines changed

descriptions/api.github.com/api.github.com.json

Lines changed: 97 additions & 236 deletions
Large diffs are not rendered by default.

descriptions/api.github.com/api.github.com.yaml

Lines changed: 78 additions & 204 deletions
Original file line numberDiff line numberDiff line change
@@ -2068,6 +2068,10 @@ paths:
20682068
items:
20692069
type: integer
20702070
description: Unique identifier of the runner.
2071+
allows_public_repositories:
2072+
description: Whether the runner group can be used by `public` repositories.
2073+
type: boolean
2074+
default: false
20712075
required:
20722076
- name
20732077
example:
@@ -2158,6 +2162,10 @@ paths:
21582162
- selected
21592163
- all
21602164
default: all
2165+
allows_public_repositories:
2166+
description: Whether the runner group can be used by `public` repositories.
2167+
type: boolean
2168+
default: false
21612169
example:
21622170
name: Expensive hardware runners
21632171
visibility: selected
@@ -5363,6 +5371,10 @@ paths:
53635371
items:
53645372
type: integer
53655373
description: Unique identifier of the runner.
5374+
allows_public_repositories:
5375+
description: Whether the runner group can be used by `public` repositories.
5376+
type: boolean
5377+
default: false
53665378
required:
53675379
- name
53685380
example:
@@ -5458,6 +5470,10 @@ paths:
54585470
- selected
54595471
- all
54605472
- private
5473+
allows_public_repositories:
5474+
description: Whether the runner group can be used by `public` repositories.
5475+
type: boolean
5476+
default: false
54615477
required:
54625478
- name
54635479
example:
@@ -46607,6 +46623,65 @@ components:
4660746623
- reason
4660846624
- payload
4660946625
- signature
46626+
diff-entry:
46627+
title: Diff Entry
46628+
description: Diff Entry
46629+
type: object
46630+
properties:
46631+
sha:
46632+
type: string
46633+
example: bbcd538c8e72b8c175046e27cc8f907076331401
46634+
filename:
46635+
type: string
46636+
example: file1.txt
46637+
status:
46638+
type: string
46639+
enum:
46640+
- added
46641+
- removed
46642+
- modified
46643+
- renamed
46644+
- copied
46645+
- changed
46646+
- unchanged
46647+
example: added
46648+
additions:
46649+
type: integer
46650+
example: 103
46651+
deletions:
46652+
type: integer
46653+
example: 21
46654+
changes:
46655+
type: integer
46656+
example: 124
46657+
blob_url:
46658+
type: string
46659+
format: uri
46660+
example: https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt
46661+
raw_url:
46662+
type: string
46663+
format: uri
46664+
example: https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt
46665+
contents_url:
46666+
type: string
46667+
format: uri
46668+
example: https://api.github.com/repos/octocat/Hello-World/contents/file1.txt?ref=6dcb09b5b57875f334f61aebed695e2e4193db5e
46669+
patch:
46670+
type: string
46671+
example: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test"
46672+
previous_filename:
46673+
type: string
46674+
example: file.txt
46675+
required:
46676+
- additions
46677+
- blob_url
46678+
- changes
46679+
- contents_url
46680+
- deletions
46681+
- filename
46682+
- raw_url
46683+
- sha
46684+
- status
4661046685
commit:
4661146686
title: Commit
4661246687
description: Commit
@@ -46704,33 +46779,7 @@ components:
4670446779
files:
4670546780
type: array
4670646781
items:
46707-
type: object
46708-
properties:
46709-
filename:
46710-
type: string
46711-
additions:
46712-
type: integer
46713-
deletions:
46714-
type: integer
46715-
changes:
46716-
type: integer
46717-
status:
46718-
type: string
46719-
raw_url:
46720-
type: string
46721-
blob_url:
46722-
type: string
46723-
patch:
46724-
type: string
46725-
sha:
46726-
type: string
46727-
example: '"1e8e60ce9733d5283f7836fa602b6365a66b2567"'
46728-
contents_url:
46729-
type: string
46730-
example: '"https://api.github.com/repos/owner-3d68404b07d25daeb2d4a6bf/AAA_Public_Repo/contents/geometry.js?ref=c3956841a7cb7e8ba4a6fd923568d86958f01573"'
46731-
previous_filename:
46732-
type: string
46733-
example: '"subdir/before_name.txt"'
46782+
"$ref": "#/components/schemas/diff-entry"
4673446783
required:
4673546784
- url
4673646785
- sha
@@ -48790,65 +48839,6 @@ components:
4879048839
- documentation
4879148840
- files
4879248841
- updated_at
48793-
diff-entry:
48794-
title: Diff Entry
48795-
description: Diff Entry
48796-
type: object
48797-
properties:
48798-
sha:
48799-
type: string
48800-
example: bbcd538c8e72b8c175046e27cc8f907076331401
48801-
filename:
48802-
type: string
48803-
example: file1.txt
48804-
status:
48805-
type: string
48806-
enum:
48807-
- added
48808-
- removed
48809-
- modified
48810-
- renamed
48811-
- copied
48812-
- changed
48813-
- unchanged
48814-
example: added
48815-
additions:
48816-
type: integer
48817-
example: 103
48818-
deletions:
48819-
type: integer
48820-
example: 21
48821-
changes:
48822-
type: integer
48823-
example: 124
48824-
blob_url:
48825-
type: string
48826-
format: uri
48827-
example: https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt
48828-
raw_url:
48829-
type: string
48830-
format: uri
48831-
example: https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt
48832-
contents_url:
48833-
type: string
48834-
format: uri
48835-
example: https://api.github.com/repos/octocat/Hello-World/contents/file1.txt?ref=6dcb09b5b57875f334f61aebed695e2e4193db5e
48836-
patch:
48837-
type: string
48838-
example: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test"
48839-
previous_filename:
48840-
type: string
48841-
example: file.txt
48842-
required:
48843-
- additions
48844-
- blob_url
48845-
- changes
48846-
- contents_url
48847-
- deletions
48848-
- filename
48849-
- raw_url
48850-
- sha
48851-
- status
4885248842
commit-comparison:
4885348843
title: Commit Comparison
4885448844
description: Commit Comparison
@@ -52266,7 +52256,7 @@ components:
5226652256
nullable: true
5226752257
protected_domain_state:
5226852258
type: string
52269-
description: The state if the domain is protected
52259+
description: The state if the domain is verified
5227052260
example: pending
5227152261
nullable: true
5227252262
enum:
@@ -59692,123 +59682,7 @@ components:
5969259682
admin: false
5969359683
push: false
5969459684
pull: true
59695-
template_repository:
59696-
id: 1296269
59697-
node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5
59698-
name: Hello-World-Template
59699-
full_name: octocat/Hello-World-Template
59700-
owner:
59701-
login: octocat
59702-
id: 1
59703-
node_id: MDQ6VXNlcjE=
59704-
avatar_url: https://github.com/images/error/octocat_happy.gif
59705-
gravatar_id: ''
59706-
url: https://api.github.com/users/octocat
59707-
html_url: https://github.com/octocat
59708-
followers_url: https://api.github.com/users/octocat/followers
59709-
following_url: https://api.github.com/users/octocat/following{/other_user}
59710-
gists_url: https://api.github.com/users/octocat/gists{/gist_id}
59711-
starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo}
59712-
subscriptions_url: https://api.github.com/users/octocat/subscriptions
59713-
organizations_url: https://api.github.com/users/octocat/orgs
59714-
repos_url: https://api.github.com/users/octocat/repos
59715-
events_url: https://api.github.com/users/octocat/events{/privacy}
59716-
received_events_url: https://api.github.com/users/octocat/received_events
59717-
type: User
59718-
site_admin: false
59719-
private: false
59720-
html_url: https://github.com/octocat/Hello-World-Template
59721-
description: This your first repo!
59722-
fork: false
59723-
url: https://api.github.com/repos/octocat/Hello-World-Template
59724-
archive_url: https://api.github.com/repos/octocat/Hello-World-Template/{archive_format}{/ref}
59725-
assignees_url: https://api.github.com/repos/octocat/Hello-World-Template/assignees{/user}
59726-
blobs_url: https://api.github.com/repos/octocat/Hello-World-Template/git/blobs{/sha}
59727-
branches_url: https://api.github.com/repos/octocat/Hello-World-Template/branches{/branch}
59728-
collaborators_url: https://api.github.com/repos/octocat/Hello-World-Template/collaborators{/collaborator}
59729-
comments_url: https://api.github.com/repos/octocat/Hello-World-Template/comments{/number}
59730-
commits_url: https://api.github.com/repos/octocat/Hello-World-Template/commits{/sha}
59731-
compare_url: https://api.github.com/repos/octocat/Hello-World-Template/compare/{base}...{head}
59732-
contents_url: https://api.github.com/repos/octocat/Hello-World-Template/contents/{+path}
59733-
contributors_url: https://api.github.com/repos/octocat/Hello-World-Template/contributors
59734-
deployments_url: https://api.github.com/repos/octocat/Hello-World-Template/deployments
59735-
downloads_url: https://api.github.com/repos/octocat/Hello-World-Template/downloads
59736-
events_url: https://api.github.com/repos/octocat/Hello-World-Template/events
59737-
forks_url: https://api.github.com/repos/octocat/Hello-World-Template/forks
59738-
git_commits_url: https://api.github.com/repos/octocat/Hello-World-Template/git/commits{/sha}
59739-
git_refs_url: https://api.github.com/repos/octocat/Hello-World-Template/git/refs{/sha}
59740-
git_tags_url: https://api.github.com/repos/octocat/Hello-World-Template/git/tags{/sha}
59741-
git_url: git:github.com/octocat/Hello-World-Template.git
59742-
issue_comment_url: https://api.github.com/repos/octocat/Hello-World-Template/issues/comments{/number}
59743-
issue_events_url: https://api.github.com/repos/octocat/Hello-World-Template/issues/events{/number}
59744-
issues_url: https://api.github.com/repos/octocat/Hello-World-Template/issues{/number}
59745-
keys_url: https://api.github.com/repos/octocat/Hello-World-Template/keys{/key_id}
59746-
labels_url: https://api.github.com/repos/octocat/Hello-World-Template/labels{/name}
59747-
languages_url: https://api.github.com/repos/octocat/Hello-World-Template/languages
59748-
merges_url: https://api.github.com/repos/octocat/Hello-World-Template/merges
59749-
milestones_url: https://api.github.com/repos/octocat/Hello-World-Template/milestones{/number}
59750-
notifications_url: https://api.github.com/repos/octocat/Hello-World-Template/notifications{?since,all,participating}
59751-
pulls_url: https://api.github.com/repos/octocat/Hello-World-Template/pulls{/number}
59752-
releases_url: https://api.github.com/repos/octocat/Hello-World-Template/releases{/id}
59753-
ssh_url: [email protected]:octocat/Hello-World-Template.git
59754-
stargazers_url: https://api.github.com/repos/octocat/Hello-World-Template/stargazers
59755-
statuses_url: https://api.github.com/repos/octocat/Hello-World-Template/statuses/{sha}
59756-
subscribers_url: https://api.github.com/repos/octocat/Hello-World-Template/subscribers
59757-
subscription_url: https://api.github.com/repos/octocat/Hello-World-Template/subscription
59758-
tags_url: https://api.github.com/repos/octocat/Hello-World-Template/tags
59759-
teams_url: https://api.github.com/repos/octocat/Hello-World-Template/teams
59760-
trees_url: https://api.github.com/repos/octocat/Hello-World-Template/git/trees{/sha}
59761-
clone_url: https://github.com/octocat/Hello-World-Template.git
59762-
mirror_url: git:git.example.com/octocat/Hello-World-Template
59763-
hooks_url: https://api.github.com/repos/octocat/Hello-World-Template/hooks
59764-
svn_url: https://svn.github.com/octocat/Hello-World-Template
59765-
homepage: https://github.com
59766-
language:
59767-
forks: 9
59768-
forks_count: 9
59769-
stargazers_count: 80
59770-
watchers_count: 80
59771-
watchers: 80
59772-
size: 108
59773-
default_branch: master
59774-
open_issues: 0
59775-
open_issues_count: 0
59776-
is_template: true
59777-
license:
59778-
key: mit
59779-
name: MIT License
59780-
url: https://api.github.com/licenses/mit
59781-
spdx_id: MIT
59782-
node_id: MDc6TGljZW5zZW1pdA==
59783-
html_url: https://api.github.com/licenses/mit
59784-
topics:
59785-
- octocat
59786-
- atom
59787-
- electron
59788-
- api
59789-
has_issues: true
59790-
has_projects: true
59791-
has_wiki: true
59792-
has_pages: false
59793-
has_downloads: true
59794-
archived: false
59795-
disabled: false
59796-
visibility: public
59797-
pushed_at: '2011-01-26T19:06:43Z'
59798-
created_at: '2011-01-26T19:01:12Z'
59799-
updated_at: '2011-01-26T19:14:43Z'
59800-
permissions:
59801-
admin: false
59802-
push: false
59803-
pull: true
59804-
allow_rebase_merge: true
59805-
temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O
59806-
allow_squash_merge: true
59807-
allow_auto_merge: false
59808-
delete_branch_on_merge: true
59809-
allow_merge_commit: true
59810-
subscribers_count: 42
59811-
network_count: 0
59685+
template_repository:
5981259686
packages-for-org:
5981359687
value:
5981459688
- id: 197

0 commit comments

Comments
 (0)