Skip to content

Commit e5d132e

Browse files
authored
Merge pull request #1475 from github/openapi-update-cd3763f5d082c74a5fffc7d66bd9c61c6cf5e18c640681077de79e8d815e07a2
Update OpenAPI 3.0 Descriptions
2 parents a5a5e94 + 293de2b commit e5d132e

28 files changed

Lines changed: 4715 additions & 119 deletions

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

Lines changed: 262 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68189,6 +68189,267 @@
6818968189
}
6819068190
}
6819168191
},
68192+
"team-organization": {
68193+
"title": "Team Organization",
68194+
"description": "Team Organization",
68195+
"type": "object",
68196+
"properties": {
68197+
"login": {
68198+
"type": "string",
68199+
"example": "github"
68200+
},
68201+
"id": {
68202+
"type": "integer",
68203+
"example": 1
68204+
},
68205+
"node_id": {
68206+
"type": "string",
68207+
"example": "MDEyOk9yZ2FuaXphdGlvbjE="
68208+
},
68209+
"url": {
68210+
"type": "string",
68211+
"format": "uri",
68212+
"example": "https://api.github.com/orgs/github"
68213+
},
68214+
"repos_url": {
68215+
"type": "string",
68216+
"format": "uri",
68217+
"example": "https://api.github.com/orgs/github/repos"
68218+
},
68219+
"events_url": {
68220+
"type": "string",
68221+
"format": "uri",
68222+
"example": "https://api.github.com/orgs/github/events"
68223+
},
68224+
"hooks_url": {
68225+
"type": "string",
68226+
"example": "https://api.github.com/orgs/github/hooks"
68227+
},
68228+
"issues_url": {
68229+
"type": "string",
68230+
"example": "https://api.github.com/orgs/github/issues"
68231+
},
68232+
"members_url": {
68233+
"type": "string",
68234+
"example": "https://api.github.com/orgs/github/members{/member}"
68235+
},
68236+
"public_members_url": {
68237+
"type": "string",
68238+
"example": "https://api.github.com/orgs/github/public_members{/member}"
68239+
},
68240+
"avatar_url": {
68241+
"type": "string",
68242+
"example": "https://github.com/images/error/octocat_happy.gif"
68243+
},
68244+
"description": {
68245+
"type": "string",
68246+
"example": "A great organization",
68247+
"nullable": true
68248+
},
68249+
"name": {
68250+
"type": "string",
68251+
"example": "github"
68252+
},
68253+
"company": {
68254+
"type": "string",
68255+
"example": "GitHub"
68256+
},
68257+
"blog": {
68258+
"type": "string",
68259+
"format": "uri",
68260+
"example": "https://github.com/blog"
68261+
},
68262+
"location": {
68263+
"type": "string",
68264+
"example": "San Francisco"
68265+
},
68266+
"email": {
68267+
"type": "string",
68268+
"format": "email",
68269+
"example": "octocat@github.com"
68270+
},
68271+
"twitter_username": {
68272+
"type": "string",
68273+
"example": "github",
68274+
"nullable": true
68275+
},
68276+
"is_verified": {
68277+
"type": "boolean",
68278+
"example": true
68279+
},
68280+
"has_organization_projects": {
68281+
"type": "boolean",
68282+
"example": true
68283+
},
68284+
"has_repository_projects": {
68285+
"type": "boolean",
68286+
"example": true
68287+
},
68288+
"public_repos": {
68289+
"type": "integer",
68290+
"example": 2
68291+
},
68292+
"public_gists": {
68293+
"type": "integer",
68294+
"example": 1
68295+
},
68296+
"followers": {
68297+
"type": "integer",
68298+
"example": 20
68299+
},
68300+
"following": {
68301+
"type": "integer",
68302+
"example": 0
68303+
},
68304+
"html_url": {
68305+
"type": "string",
68306+
"format": "uri",
68307+
"example": "https://github.com/octocat"
68308+
},
68309+
"created_at": {
68310+
"type": "string",
68311+
"format": "date-time",
68312+
"example": "2008-01-14T04:33:35Z"
68313+
},
68314+
"type": {
68315+
"type": "string",
68316+
"example": "Organization"
68317+
},
68318+
"total_private_repos": {
68319+
"type": "integer",
68320+
"example": 100
68321+
},
68322+
"owned_private_repos": {
68323+
"type": "integer",
68324+
"example": 100
68325+
},
68326+
"private_gists": {
68327+
"type": "integer",
68328+
"example": 81,
68329+
"nullable": true
68330+
},
68331+
"disk_usage": {
68332+
"type": "integer",
68333+
"example": 10000,
68334+
"nullable": true
68335+
},
68336+
"collaborators": {
68337+
"type": "integer",
68338+
"example": 8,
68339+
"nullable": true
68340+
},
68341+
"billing_email": {
68342+
"type": "string",
68343+
"format": "email",
68344+
"example": "org@example.com",
68345+
"nullable": true
68346+
},
68347+
"plan": {
68348+
"type": "object",
68349+
"properties": {
68350+
"name": {
68351+
"type": "string"
68352+
},
68353+
"space": {
68354+
"type": "integer"
68355+
},
68356+
"private_repos": {
68357+
"type": "integer"
68358+
},
68359+
"filled_seats": {
68360+
"type": "integer"
68361+
},
68362+
"seats": {
68363+
"type": "integer"
68364+
}
68365+
},
68366+
"required": [
68367+
"name",
68368+
"space",
68369+
"private_repos"
68370+
]
68371+
},
68372+
"default_repository_permission": {
68373+
"type": "string",
68374+
"nullable": true
68375+
},
68376+
"members_can_create_repositories": {
68377+
"type": "boolean",
68378+
"example": true,
68379+
"nullable": true
68380+
},
68381+
"two_factor_requirement_enabled": {
68382+
"type": "boolean",
68383+
"example": true,
68384+
"nullable": true
68385+
},
68386+
"members_allowed_repository_creation_type": {
68387+
"type": "string",
68388+
"example": "all"
68389+
},
68390+
"members_can_create_public_repositories": {
68391+
"type": "boolean",
68392+
"example": true
68393+
},
68394+
"members_can_create_private_repositories": {
68395+
"type": "boolean",
68396+
"example": true
68397+
},
68398+
"members_can_create_internal_repositories": {
68399+
"type": "boolean",
68400+
"example": true
68401+
},
68402+
"members_can_create_pages": {
68403+
"type": "boolean",
68404+
"example": true
68405+
},
68406+
"members_can_create_public_pages": {
68407+
"type": "boolean",
68408+
"example": true
68409+
},
68410+
"members_can_create_private_pages": {
68411+
"type": "boolean",
68412+
"example": true
68413+
},
68414+
"members_can_fork_private_repositories": {
68415+
"type": "boolean",
68416+
"example": false,
68417+
"nullable": true
68418+
},
68419+
"web_commit_signoff_required": {
68420+
"type": "boolean",
68421+
"example": false
68422+
},
68423+
"updated_at": {
68424+
"type": "string",
68425+
"format": "date-time"
68426+
}
68427+
},
68428+
"required": [
68429+
"login",
68430+
"url",
68431+
"id",
68432+
"node_id",
68433+
"repos_url",
68434+
"events_url",
68435+
"hooks_url",
68436+
"issues_url",
68437+
"members_url",
68438+
"public_members_url",
68439+
"avatar_url",
68440+
"description",
68441+
"html_url",
68442+
"has_organization_projects",
68443+
"has_repository_projects",
68444+
"public_repos",
68445+
"public_gists",
68446+
"followers",
68447+
"following",
68448+
"type",
68449+
"created_at",
68450+
"updated_at"
68451+
]
68452+
},
6819268453
"team-full": {
6819368454
"title": "Full Team",
6819468455
"description": "Groups of organization members that gives permissions on specified repositories.",
@@ -68273,7 +68534,7 @@
6827368534
"example": "2017-08-17T12:37:15Z"
6827468535
},
6827568536
"organization": {
68276-
"$ref": "#/components/schemas/organization-full"
68537+
"$ref": "#/components/schemas/team-organization"
6827768538
},
6827868539
"ldap_dn": {
6827968540
"description": "Distinguished Name (DN) that team maps to within LDAP environment",

0 commit comments

Comments
 (0)