Skip to content

Commit d8ada54

Browse files
authored
Merge pull request #1476 from github/openapi-update-f7e5e565c3762d511574535634b11c50388e364cba2cc01e8af59d9308ce47e5
Update OpenAPI 3.1 Descriptions
2 parents e5d132e + 9cc2ff5 commit d8ada54

28 files changed

Lines changed: 6223 additions & 119 deletions

descriptions-next/api.github.com/api.github.com.json

Lines changed: 372 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68460,6 +68460,377 @@
6846068460
}
6846168461
}
6846268462
},
68463+
"team-organization": {
68464+
"title": "Team Organization",
68465+
"description": "Team Organization",
68466+
"type": "object",
68467+
"properties": {
68468+
"login": {
68469+
"type": "string",
68470+
"examples": [
68471+
"github"
68472+
]
68473+
},
68474+
"id": {
68475+
"type": "integer",
68476+
"examples": [
68477+
1
68478+
]
68479+
},
68480+
"node_id": {
68481+
"type": "string",
68482+
"examples": [
68483+
"MDEyOk9yZ2FuaXphdGlvbjE="
68484+
]
68485+
},
68486+
"url": {
68487+
"type": "string",
68488+
"format": "uri",
68489+
"examples": [
68490+
"https://api.github.com/orgs/github"
68491+
]
68492+
},
68493+
"repos_url": {
68494+
"type": "string",
68495+
"format": "uri",
68496+
"examples": [
68497+
"https://api.github.com/orgs/github/repos"
68498+
]
68499+
},
68500+
"events_url": {
68501+
"type": "string",
68502+
"format": "uri",
68503+
"examples": [
68504+
"https://api.github.com/orgs/github/events"
68505+
]
68506+
},
68507+
"hooks_url": {
68508+
"type": "string",
68509+
"examples": [
68510+
"https://api.github.com/orgs/github/hooks"
68511+
]
68512+
},
68513+
"issues_url": {
68514+
"type": "string",
68515+
"examples": [
68516+
"https://api.github.com/orgs/github/issues"
68517+
]
68518+
},
68519+
"members_url": {
68520+
"type": "string",
68521+
"examples": [
68522+
"https://api.github.com/orgs/github/members{/member}"
68523+
]
68524+
},
68525+
"public_members_url": {
68526+
"type": "string",
68527+
"examples": [
68528+
"https://api.github.com/orgs/github/public_members{/member}"
68529+
]
68530+
},
68531+
"avatar_url": {
68532+
"type": "string",
68533+
"examples": [
68534+
"https://github.com/images/error/octocat_happy.gif"
68535+
]
68536+
},
68537+
"description": {
68538+
"type": [
68539+
"string",
68540+
"null"
68541+
],
68542+
"examples": [
68543+
"A great organization"
68544+
]
68545+
},
68546+
"name": {
68547+
"type": "string",
68548+
"examples": [
68549+
"github"
68550+
]
68551+
},
68552+
"company": {
68553+
"type": "string",
68554+
"examples": [
68555+
"GitHub"
68556+
]
68557+
},
68558+
"blog": {
68559+
"type": "string",
68560+
"format": "uri",
68561+
"examples": [
68562+
"https://github.com/blog"
68563+
]
68564+
},
68565+
"location": {
68566+
"type": "string",
68567+
"examples": [
68568+
"San Francisco"
68569+
]
68570+
},
68571+
"email": {
68572+
"type": "string",
68573+
"format": "email",
68574+
"examples": [
68575+
"octocat@github.com"
68576+
]
68577+
},
68578+
"twitter_username": {
68579+
"type": [
68580+
"string",
68581+
"null"
68582+
],
68583+
"examples": [
68584+
"github"
68585+
]
68586+
},
68587+
"is_verified": {
68588+
"type": "boolean",
68589+
"examples": [
68590+
true
68591+
]
68592+
},
68593+
"has_organization_projects": {
68594+
"type": "boolean",
68595+
"examples": [
68596+
true
68597+
]
68598+
},
68599+
"has_repository_projects": {
68600+
"type": "boolean",
68601+
"examples": [
68602+
true
68603+
]
68604+
},
68605+
"public_repos": {
68606+
"type": "integer",
68607+
"examples": [
68608+
2
68609+
]
68610+
},
68611+
"public_gists": {
68612+
"type": "integer",
68613+
"examples": [
68614+
1
68615+
]
68616+
},
68617+
"followers": {
68618+
"type": "integer",
68619+
"examples": [
68620+
20
68621+
]
68622+
},
68623+
"following": {
68624+
"type": "integer",
68625+
"examples": [
68626+
0
68627+
]
68628+
},
68629+
"html_url": {
68630+
"type": "string",
68631+
"format": "uri",
68632+
"examples": [
68633+
"https://github.com/octocat"
68634+
]
68635+
},
68636+
"created_at": {
68637+
"type": "string",
68638+
"format": "date-time",
68639+
"examples": [
68640+
"2008-01-14T04:33:35Z"
68641+
]
68642+
},
68643+
"type": {
68644+
"type": "string",
68645+
"examples": [
68646+
"Organization"
68647+
]
68648+
},
68649+
"total_private_repos": {
68650+
"type": "integer",
68651+
"examples": [
68652+
100
68653+
]
68654+
},
68655+
"owned_private_repos": {
68656+
"type": "integer",
68657+
"examples": [
68658+
100
68659+
]
68660+
},
68661+
"private_gists": {
68662+
"type": [
68663+
"integer",
68664+
"null"
68665+
],
68666+
"examples": [
68667+
81
68668+
]
68669+
},
68670+
"disk_usage": {
68671+
"type": [
68672+
"integer",
68673+
"null"
68674+
],
68675+
"examples": [
68676+
10000
68677+
]
68678+
},
68679+
"collaborators": {
68680+
"type": [
68681+
"integer",
68682+
"null"
68683+
],
68684+
"examples": [
68685+
8
68686+
]
68687+
},
68688+
"billing_email": {
68689+
"type": [
68690+
"string",
68691+
"null"
68692+
],
68693+
"format": "email",
68694+
"examples": [
68695+
"org@example.com"
68696+
]
68697+
},
68698+
"plan": {
68699+
"type": "object",
68700+
"properties": {
68701+
"name": {
68702+
"type": "string"
68703+
},
68704+
"space": {
68705+
"type": "integer"
68706+
},
68707+
"private_repos": {
68708+
"type": "integer"
68709+
},
68710+
"filled_seats": {
68711+
"type": "integer"
68712+
},
68713+
"seats": {
68714+
"type": "integer"
68715+
}
68716+
},
68717+
"required": [
68718+
"name",
68719+
"space",
68720+
"private_repos"
68721+
]
68722+
},
68723+
"default_repository_permission": {
68724+
"type": [
68725+
"string",
68726+
"null"
68727+
]
68728+
},
68729+
"members_can_create_repositories": {
68730+
"type": [
68731+
"boolean",
68732+
"null"
68733+
],
68734+
"examples": [
68735+
true
68736+
]
68737+
},
68738+
"two_factor_requirement_enabled": {
68739+
"type": [
68740+
"boolean",
68741+
"null"
68742+
],
68743+
"examples": [
68744+
true
68745+
]
68746+
},
68747+
"members_allowed_repository_creation_type": {
68748+
"type": "string",
68749+
"examples": [
68750+
"all"
68751+
]
68752+
},
68753+
"members_can_create_public_repositories": {
68754+
"type": "boolean",
68755+
"examples": [
68756+
true
68757+
]
68758+
},
68759+
"members_can_create_private_repositories": {
68760+
"type": "boolean",
68761+
"examples": [
68762+
true
68763+
]
68764+
},
68765+
"members_can_create_internal_repositories": {
68766+
"type": "boolean",
68767+
"examples": [
68768+
true
68769+
]
68770+
},
68771+
"members_can_create_pages": {
68772+
"type": "boolean",
68773+
"examples": [
68774+
true
68775+
]
68776+
},
68777+
"members_can_create_public_pages": {
68778+
"type": "boolean",
68779+
"examples": [
68780+
true
68781+
]
68782+
},
68783+
"members_can_create_private_pages": {
68784+
"type": "boolean",
68785+
"examples": [
68786+
true
68787+
]
68788+
},
68789+
"members_can_fork_private_repositories": {
68790+
"type": [
68791+
"boolean",
68792+
"null"
68793+
],
68794+
"examples": [
68795+
false
68796+
]
68797+
},
68798+
"web_commit_signoff_required": {
68799+
"type": "boolean",
68800+
"examples": [
68801+
false
68802+
]
68803+
},
68804+
"updated_at": {
68805+
"type": "string",
68806+
"format": "date-time"
68807+
}
68808+
},
68809+
"required": [
68810+
"login",
68811+
"url",
68812+
"id",
68813+
"node_id",
68814+
"repos_url",
68815+
"events_url",
68816+
"hooks_url",
68817+
"issues_url",
68818+
"members_url",
68819+
"public_members_url",
68820+
"avatar_url",
68821+
"description",
68822+
"html_url",
68823+
"has_organization_projects",
68824+
"has_repository_projects",
68825+
"public_repos",
68826+
"public_gists",
68827+
"followers",
68828+
"following",
68829+
"type",
68830+
"created_at",
68831+
"updated_at"
68832+
]
68833+
},
6846368834
"team-full": {
6846468835
"title": "Full Team",
6846568836
"description": "Groups of organization members that gives permissions on specified repositories.",
@@ -68583,7 +68954,7 @@
6858368954
]
6858468955
},
6858568956
"organization": {
68586-
"$ref": "#/components/schemas/organization-full"
68957+
"$ref": "#/components/schemas/team-organization"
6858768958
},
6858868959
"ldap_dn": {
6858968960
"description": "Distinguished Name (DN) that team maps to within LDAP environment",

0 commit comments

Comments
 (0)