@octokit/openapi 7.4.0 → 7.7.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.
- package/generated/api.github.com.deref.json +2550 -227
- package/generated/api.github.com.json +1233 -110
- package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +31 -25
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +25 -14
- package/generated/ghes-3.2.deref.json +319 -242
- package/generated/ghes-3.2.json +558 -26
- package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +0 -16
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +187 -223
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +432 -10
- package/generated/ghes-3.3.deref.json +319 -244
- package/generated/ghes-3.3.json +558 -27
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +9 -1
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +9 -1
- package/generated/ghes-3.4.deref.json +322 -230
- package/generated/ghes-3.4.json +566 -29
- package/generated/ghes-3.5-anicca-diff-to-ghes-3.6.deref.json +784 -135
- package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +46103 -29773
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +7990 -3300
- package/generated/ghes-3.5.deref.json +406 -242
- package/generated/ghes-3.5.json +650 -41
- package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +504 -89
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +18076 -6602
- package/generated/ghes-3.6-diff-to-api.github.com.json +6698 -4308
- package/generated/ghes-3.6.deref.json +1275 -241
- package/generated/ghes-3.6.json +839 -41
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +332 -32
- package/generated/github.ae-diff-to-api.github.com.deref.json +24643 -16633
- package/generated/github.ae-diff-to-api.github.com.json +1184 -30
- package/generated/github.ae.deref.json +1298 -163
- package/generated/github.ae.json +878 -35
- package/package.json +1 -1
package/generated/ghes-3.2.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.7.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": {
|
|
@@ -20958,6 +20958,11 @@
|
|
|
20958
20958
|
"application/json": {
|
|
20959
20959
|
"schema": {
|
|
20960
20960
|
"$ref": "#/components/schemas/branch-with-protection"
|
|
20961
|
+
},
|
|
20962
|
+
"examples": {
|
|
20963
|
+
"default": {
|
|
20964
|
+
"$ref": "#/components/examples/branch-get"
|
|
20965
|
+
}
|
|
20961
20966
|
}
|
|
20962
20967
|
}
|
|
20963
20968
|
}
|
|
@@ -21287,6 +21292,11 @@
|
|
|
21287
21292
|
"application/json": {
|
|
21288
21293
|
"schema": {
|
|
21289
21294
|
"$ref": "#/components/schemas/protected-branch"
|
|
21295
|
+
},
|
|
21296
|
+
"examples": {
|
|
21297
|
+
"default": {
|
|
21298
|
+
"$ref": "#/components/examples/branch-protection-update"
|
|
21299
|
+
}
|
|
21290
21300
|
}
|
|
21291
21301
|
}
|
|
21292
21302
|
}
|
|
@@ -22156,7 +22166,7 @@
|
|
|
22156
22166
|
"properties": {
|
|
22157
22167
|
"contexts": {
|
|
22158
22168
|
"type": "array",
|
|
22159
|
-
"description": "
|
|
22169
|
+
"description": "The name of the status checks",
|
|
22160
22170
|
"items": {
|
|
22161
22171
|
"type": "string"
|
|
22162
22172
|
}
|
|
@@ -22172,6 +22182,17 @@
|
|
|
22172
22182
|
}
|
|
22173
22183
|
}
|
|
22174
22184
|
]
|
|
22185
|
+
},
|
|
22186
|
+
"examples": {
|
|
22187
|
+
"default": {
|
|
22188
|
+
"summary": "Example adding status checks to a branch protection rule",
|
|
22189
|
+
"value": {
|
|
22190
|
+
"contexts": [
|
|
22191
|
+
"continuous-integration/travis-ci",
|
|
22192
|
+
"continuous-integration/jenkins"
|
|
22193
|
+
]
|
|
22194
|
+
}
|
|
22195
|
+
}
|
|
22175
22196
|
}
|
|
22176
22197
|
}
|
|
22177
22198
|
}
|
|
@@ -22250,7 +22271,7 @@
|
|
|
22250
22271
|
"properties": {
|
|
22251
22272
|
"contexts": {
|
|
22252
22273
|
"type": "array",
|
|
22253
|
-
"description": "
|
|
22274
|
+
"description": "The name of the status checks",
|
|
22254
22275
|
"items": {
|
|
22255
22276
|
"type": "string"
|
|
22256
22277
|
}
|
|
@@ -22266,6 +22287,16 @@
|
|
|
22266
22287
|
}
|
|
22267
22288
|
}
|
|
22268
22289
|
]
|
|
22290
|
+
},
|
|
22291
|
+
"examples": {
|
|
22292
|
+
"default": {
|
|
22293
|
+
"summary": "Example updating status checks for a branch protection rule",
|
|
22294
|
+
"value": {
|
|
22295
|
+
"contexts": [
|
|
22296
|
+
"continuous-integration/travis-ci"
|
|
22297
|
+
]
|
|
22298
|
+
}
|
|
22299
|
+
}
|
|
22269
22300
|
}
|
|
22270
22301
|
}
|
|
22271
22302
|
}
|
|
@@ -22339,7 +22370,7 @@
|
|
|
22339
22370
|
"properties": {
|
|
22340
22371
|
"contexts": {
|
|
22341
22372
|
"type": "array",
|
|
22342
|
-
"description": "
|
|
22373
|
+
"description": "The name of the status checks",
|
|
22343
22374
|
"items": {
|
|
22344
22375
|
"type": "string"
|
|
22345
22376
|
}
|
|
@@ -22355,6 +22386,16 @@
|
|
|
22355
22386
|
}
|
|
22356
22387
|
}
|
|
22357
22388
|
]
|
|
22389
|
+
},
|
|
22390
|
+
"examples": {
|
|
22391
|
+
"default": {
|
|
22392
|
+
"summary": "Example removing status checks from a branch protection rule",
|
|
22393
|
+
"value": {
|
|
22394
|
+
"contexts": [
|
|
22395
|
+
"continuous-integration/travis-ci"
|
|
22396
|
+
]
|
|
22397
|
+
}
|
|
22398
|
+
}
|
|
22358
22399
|
}
|
|
22359
22400
|
}
|
|
22360
22401
|
}
|
|
@@ -22880,7 +22921,7 @@
|
|
|
22880
22921
|
"properties": {
|
|
22881
22922
|
"teams": {
|
|
22882
22923
|
"type": "array",
|
|
22883
|
-
"description": "teams
|
|
22924
|
+
"description": "The slug values for teams",
|
|
22884
22925
|
"items": {
|
|
22885
22926
|
"type": "string"
|
|
22886
22927
|
}
|
|
@@ -22896,6 +22937,16 @@
|
|
|
22896
22937
|
}
|
|
22897
22938
|
}
|
|
22898
22939
|
]
|
|
22940
|
+
},
|
|
22941
|
+
"examples": {
|
|
22942
|
+
"default": {
|
|
22943
|
+
"summary": "Example adding a team in a branch protection rule",
|
|
22944
|
+
"value": {
|
|
22945
|
+
"teams": [
|
|
22946
|
+
"justice-league"
|
|
22947
|
+
]
|
|
22948
|
+
}
|
|
22949
|
+
}
|
|
22899
22950
|
}
|
|
22900
22951
|
}
|
|
22901
22952
|
}
|
|
@@ -22965,7 +23016,7 @@
|
|
|
22965
23016
|
"properties": {
|
|
22966
23017
|
"teams": {
|
|
22967
23018
|
"type": "array",
|
|
22968
|
-
"description": "teams
|
|
23019
|
+
"description": "The slug values for teams",
|
|
22969
23020
|
"items": {
|
|
22970
23021
|
"type": "string"
|
|
22971
23022
|
}
|
|
@@ -22976,11 +23027,21 @@
|
|
|
22976
23027
|
],
|
|
22977
23028
|
"example": {
|
|
22978
23029
|
"teams": [
|
|
22979
|
-
"
|
|
23030
|
+
"justice-league"
|
|
22980
23031
|
]
|
|
22981
23032
|
}
|
|
22982
23033
|
}
|
|
22983
23034
|
]
|
|
23035
|
+
},
|
|
23036
|
+
"examples": {
|
|
23037
|
+
"default": {
|
|
23038
|
+
"summary": "Example replacing a team in a branch protection rule",
|
|
23039
|
+
"value": {
|
|
23040
|
+
"teams": [
|
|
23041
|
+
"justice-league"
|
|
23042
|
+
]
|
|
23043
|
+
}
|
|
23044
|
+
}
|
|
22984
23045
|
}
|
|
22985
23046
|
}
|
|
22986
23047
|
}
|
|
@@ -23049,7 +23110,7 @@
|
|
|
23049
23110
|
"properties": {
|
|
23050
23111
|
"teams": {
|
|
23051
23112
|
"type": "array",
|
|
23052
|
-
"description": "teams
|
|
23113
|
+
"description": "The slug values for teams",
|
|
23053
23114
|
"items": {
|
|
23054
23115
|
"type": "string"
|
|
23055
23116
|
}
|
|
@@ -23065,6 +23126,16 @@
|
|
|
23065
23126
|
}
|
|
23066
23127
|
}
|
|
23067
23128
|
]
|
|
23129
|
+
},
|
|
23130
|
+
"examples": {
|
|
23131
|
+
"default": {
|
|
23132
|
+
"summary": "Example removing a team in a branch protection rule",
|
|
23133
|
+
"value": {
|
|
23134
|
+
"teams": [
|
|
23135
|
+
"justice-league"
|
|
23136
|
+
]
|
|
23137
|
+
}
|
|
23138
|
+
}
|
|
23068
23139
|
}
|
|
23069
23140
|
}
|
|
23070
23141
|
}
|
|
@@ -23189,7 +23260,7 @@
|
|
|
23189
23260
|
"properties": {
|
|
23190
23261
|
"users": {
|
|
23191
23262
|
"type": "array",
|
|
23192
|
-
"description": "users
|
|
23263
|
+
"description": "The username for users",
|
|
23193
23264
|
"items": {
|
|
23194
23265
|
"type": "string"
|
|
23195
23266
|
}
|
|
@@ -23205,6 +23276,16 @@
|
|
|
23205
23276
|
}
|
|
23206
23277
|
}
|
|
23207
23278
|
]
|
|
23279
|
+
},
|
|
23280
|
+
"examples": {
|
|
23281
|
+
"default": {
|
|
23282
|
+
"summary": "Example adding a user in a branch protection rule",
|
|
23283
|
+
"value": {
|
|
23284
|
+
"users": [
|
|
23285
|
+
"octocat"
|
|
23286
|
+
]
|
|
23287
|
+
}
|
|
23288
|
+
}
|
|
23208
23289
|
}
|
|
23209
23290
|
}
|
|
23210
23291
|
}
|
|
@@ -23274,7 +23355,7 @@
|
|
|
23274
23355
|
"properties": {
|
|
23275
23356
|
"users": {
|
|
23276
23357
|
"type": "array",
|
|
23277
|
-
"description": "users
|
|
23358
|
+
"description": "The username for users",
|
|
23278
23359
|
"items": {
|
|
23279
23360
|
"type": "string"
|
|
23280
23361
|
}
|
|
@@ -23290,6 +23371,16 @@
|
|
|
23290
23371
|
}
|
|
23291
23372
|
}
|
|
23292
23373
|
]
|
|
23374
|
+
},
|
|
23375
|
+
"examples": {
|
|
23376
|
+
"default": {
|
|
23377
|
+
"summary": "Example replacing a user in a branch protection rule",
|
|
23378
|
+
"value": {
|
|
23379
|
+
"users": [
|
|
23380
|
+
"octocat"
|
|
23381
|
+
]
|
|
23382
|
+
}
|
|
23383
|
+
}
|
|
23293
23384
|
}
|
|
23294
23385
|
}
|
|
23295
23386
|
}
|
|
@@ -23358,7 +23449,7 @@
|
|
|
23358
23449
|
"properties": {
|
|
23359
23450
|
"users": {
|
|
23360
23451
|
"type": "array",
|
|
23361
|
-
"description": "users
|
|
23452
|
+
"description": "The username for users",
|
|
23362
23453
|
"items": {
|
|
23363
23454
|
"type": "string"
|
|
23364
23455
|
}
|
|
@@ -23374,6 +23465,16 @@
|
|
|
23374
23465
|
}
|
|
23375
23466
|
}
|
|
23376
23467
|
]
|
|
23468
|
+
},
|
|
23469
|
+
"examples": {
|
|
23470
|
+
"default": {
|
|
23471
|
+
"summary": "Example removing a user in a branch protection rule",
|
|
23472
|
+
"value": {
|
|
23473
|
+
"users": [
|
|
23474
|
+
"octocat"
|
|
23475
|
+
]
|
|
23476
|
+
}
|
|
23477
|
+
}
|
|
23377
23478
|
}
|
|
23378
23479
|
}
|
|
23379
23480
|
}
|
|
@@ -27209,7 +27310,7 @@
|
|
|
27209
27310
|
"/repos/{owner}/{repo}/contents/{path}": {
|
|
27210
27311
|
"get": {
|
|
27211
27312
|
"summary": "Get repository content",
|
|
27212
|
-
"description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@3.2/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@3.2/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**
|
|
27313
|
+
"description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@3.2/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@3.2/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Notes**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@3.2/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/enterprise-server@3.2/rest/reference/git#get-a-tree).\n * Download URLs expire and are meant to be used just once. To ensure the download URL does not expire, please use the contents API to obtain a fresh download URL for each download. \n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.",
|
|
27213
27314
|
"tags": [
|
|
27214
27315
|
"repos"
|
|
27215
27316
|
],
|
|
@@ -31328,6 +31429,14 @@
|
|
|
31328
31429
|
]
|
|
31329
31430
|
}
|
|
31330
31431
|
}
|
|
31432
|
+
},
|
|
31433
|
+
"examples": {
|
|
31434
|
+
"default": {
|
|
31435
|
+
"summary": "Example request body",
|
|
31436
|
+
"value": {
|
|
31437
|
+
"permissions": "write"
|
|
31438
|
+
}
|
|
31439
|
+
}
|
|
31331
31440
|
}
|
|
31332
31441
|
}
|
|
31333
31442
|
}
|
|
@@ -32527,6 +32636,12 @@
|
|
|
32527
32636
|
"closed"
|
|
32528
32637
|
]
|
|
32529
32638
|
},
|
|
32639
|
+
"state_reason": {
|
|
32640
|
+
"type": "string",
|
|
32641
|
+
"nullable": true,
|
|
32642
|
+
"description": "The reason for the current state",
|
|
32643
|
+
"example": "not_planned"
|
|
32644
|
+
},
|
|
32530
32645
|
"milestone": {
|
|
32531
32646
|
"oneOf": [
|
|
32532
32647
|
{
|
|
@@ -51440,14 +51555,6 @@
|
|
|
51440
51555
|
"write"
|
|
51441
51556
|
]
|
|
51442
51557
|
},
|
|
51443
|
-
"organization_custom_roles": {
|
|
51444
|
-
"type": "string",
|
|
51445
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
51446
|
-
"enum": [
|
|
51447
|
-
"read",
|
|
51448
|
-
"write"
|
|
51449
|
-
]
|
|
51450
|
-
},
|
|
51451
51558
|
"deployments": {
|
|
51452
51559
|
"type": "string",
|
|
51453
51560
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -58288,6 +58395,258 @@
|
|
|
58288
58395
|
"parent"
|
|
58289
58396
|
]
|
|
58290
58397
|
},
|
|
58398
|
+
"team-organization": {
|
|
58399
|
+
"title": "Team Organization",
|
|
58400
|
+
"description": "Team Organization",
|
|
58401
|
+
"type": "object",
|
|
58402
|
+
"properties": {
|
|
58403
|
+
"login": {
|
|
58404
|
+
"type": "string",
|
|
58405
|
+
"example": "github"
|
|
58406
|
+
},
|
|
58407
|
+
"id": {
|
|
58408
|
+
"type": "integer",
|
|
58409
|
+
"example": 1
|
|
58410
|
+
},
|
|
58411
|
+
"node_id": {
|
|
58412
|
+
"type": "string",
|
|
58413
|
+
"example": "MDEyOk9yZ2FuaXphdGlvbjE="
|
|
58414
|
+
},
|
|
58415
|
+
"url": {
|
|
58416
|
+
"type": "string",
|
|
58417
|
+
"format": "uri",
|
|
58418
|
+
"example": "https://api.github.com/orgs/github"
|
|
58419
|
+
},
|
|
58420
|
+
"repos_url": {
|
|
58421
|
+
"type": "string",
|
|
58422
|
+
"format": "uri",
|
|
58423
|
+
"example": "https://api.github.com/orgs/github/repos"
|
|
58424
|
+
},
|
|
58425
|
+
"events_url": {
|
|
58426
|
+
"type": "string",
|
|
58427
|
+
"format": "uri",
|
|
58428
|
+
"example": "https://api.github.com/orgs/github/events"
|
|
58429
|
+
},
|
|
58430
|
+
"hooks_url": {
|
|
58431
|
+
"type": "string",
|
|
58432
|
+
"example": "https://api.github.com/orgs/github/hooks"
|
|
58433
|
+
},
|
|
58434
|
+
"issues_url": {
|
|
58435
|
+
"type": "string",
|
|
58436
|
+
"example": "https://api.github.com/orgs/github/issues"
|
|
58437
|
+
},
|
|
58438
|
+
"members_url": {
|
|
58439
|
+
"type": "string",
|
|
58440
|
+
"example": "https://api.github.com/orgs/github/members{/member}"
|
|
58441
|
+
},
|
|
58442
|
+
"public_members_url": {
|
|
58443
|
+
"type": "string",
|
|
58444
|
+
"example": "https://api.github.com/orgs/github/public_members{/member}"
|
|
58445
|
+
},
|
|
58446
|
+
"avatar_url": {
|
|
58447
|
+
"type": "string",
|
|
58448
|
+
"example": "https://github.com/images/error/octocat_happy.gif"
|
|
58449
|
+
},
|
|
58450
|
+
"description": {
|
|
58451
|
+
"type": "string",
|
|
58452
|
+
"example": "A great organization",
|
|
58453
|
+
"nullable": true
|
|
58454
|
+
},
|
|
58455
|
+
"name": {
|
|
58456
|
+
"type": "string",
|
|
58457
|
+
"example": "github"
|
|
58458
|
+
},
|
|
58459
|
+
"company": {
|
|
58460
|
+
"type": "string",
|
|
58461
|
+
"example": "GitHub"
|
|
58462
|
+
},
|
|
58463
|
+
"blog": {
|
|
58464
|
+
"type": "string",
|
|
58465
|
+
"format": "uri",
|
|
58466
|
+
"example": "https://github.com/blog"
|
|
58467
|
+
},
|
|
58468
|
+
"location": {
|
|
58469
|
+
"type": "string",
|
|
58470
|
+
"example": "San Francisco"
|
|
58471
|
+
},
|
|
58472
|
+
"email": {
|
|
58473
|
+
"type": "string",
|
|
58474
|
+
"format": "email",
|
|
58475
|
+
"example": "octocat@github.com"
|
|
58476
|
+
},
|
|
58477
|
+
"twitter_username": {
|
|
58478
|
+
"type": "string",
|
|
58479
|
+
"example": "github",
|
|
58480
|
+
"nullable": true
|
|
58481
|
+
},
|
|
58482
|
+
"is_verified": {
|
|
58483
|
+
"type": "boolean",
|
|
58484
|
+
"example": true
|
|
58485
|
+
},
|
|
58486
|
+
"has_organization_projects": {
|
|
58487
|
+
"type": "boolean",
|
|
58488
|
+
"example": true
|
|
58489
|
+
},
|
|
58490
|
+
"has_repository_projects": {
|
|
58491
|
+
"type": "boolean",
|
|
58492
|
+
"example": true
|
|
58493
|
+
},
|
|
58494
|
+
"public_repos": {
|
|
58495
|
+
"type": "integer",
|
|
58496
|
+
"example": 2
|
|
58497
|
+
},
|
|
58498
|
+
"public_gists": {
|
|
58499
|
+
"type": "integer",
|
|
58500
|
+
"example": 1
|
|
58501
|
+
},
|
|
58502
|
+
"followers": {
|
|
58503
|
+
"type": "integer",
|
|
58504
|
+
"example": 20
|
|
58505
|
+
},
|
|
58506
|
+
"following": {
|
|
58507
|
+
"type": "integer",
|
|
58508
|
+
"example": 0
|
|
58509
|
+
},
|
|
58510
|
+
"html_url": {
|
|
58511
|
+
"type": "string",
|
|
58512
|
+
"format": "uri",
|
|
58513
|
+
"example": "https://github.com/octocat"
|
|
58514
|
+
},
|
|
58515
|
+
"created_at": {
|
|
58516
|
+
"type": "string",
|
|
58517
|
+
"format": "date-time",
|
|
58518
|
+
"example": "2008-01-14T04:33:35Z"
|
|
58519
|
+
},
|
|
58520
|
+
"type": {
|
|
58521
|
+
"type": "string",
|
|
58522
|
+
"example": "Organization"
|
|
58523
|
+
},
|
|
58524
|
+
"total_private_repos": {
|
|
58525
|
+
"type": "integer",
|
|
58526
|
+
"example": 100
|
|
58527
|
+
},
|
|
58528
|
+
"owned_private_repos": {
|
|
58529
|
+
"type": "integer",
|
|
58530
|
+
"example": 100
|
|
58531
|
+
},
|
|
58532
|
+
"private_gists": {
|
|
58533
|
+
"type": "integer",
|
|
58534
|
+
"example": 81,
|
|
58535
|
+
"nullable": true
|
|
58536
|
+
},
|
|
58537
|
+
"disk_usage": {
|
|
58538
|
+
"type": "integer",
|
|
58539
|
+
"example": 10000,
|
|
58540
|
+
"nullable": true
|
|
58541
|
+
},
|
|
58542
|
+
"collaborators": {
|
|
58543
|
+
"type": "integer",
|
|
58544
|
+
"example": 8,
|
|
58545
|
+
"nullable": true
|
|
58546
|
+
},
|
|
58547
|
+
"billing_email": {
|
|
58548
|
+
"type": "string",
|
|
58549
|
+
"format": "email",
|
|
58550
|
+
"example": "org@example.com",
|
|
58551
|
+
"nullable": true
|
|
58552
|
+
},
|
|
58553
|
+
"plan": {
|
|
58554
|
+
"type": "object",
|
|
58555
|
+
"properties": {
|
|
58556
|
+
"name": {
|
|
58557
|
+
"type": "string"
|
|
58558
|
+
},
|
|
58559
|
+
"space": {
|
|
58560
|
+
"type": "integer"
|
|
58561
|
+
},
|
|
58562
|
+
"private_repos": {
|
|
58563
|
+
"type": "integer"
|
|
58564
|
+
},
|
|
58565
|
+
"filled_seats": {
|
|
58566
|
+
"type": "integer"
|
|
58567
|
+
},
|
|
58568
|
+
"seats": {
|
|
58569
|
+
"type": "integer"
|
|
58570
|
+
}
|
|
58571
|
+
},
|
|
58572
|
+
"required": [
|
|
58573
|
+
"name",
|
|
58574
|
+
"space",
|
|
58575
|
+
"private_repos"
|
|
58576
|
+
]
|
|
58577
|
+
},
|
|
58578
|
+
"default_repository_permission": {
|
|
58579
|
+
"type": "string",
|
|
58580
|
+
"nullable": true
|
|
58581
|
+
},
|
|
58582
|
+
"members_can_create_repositories": {
|
|
58583
|
+
"type": "boolean",
|
|
58584
|
+
"example": true,
|
|
58585
|
+
"nullable": true
|
|
58586
|
+
},
|
|
58587
|
+
"two_factor_requirement_enabled": {
|
|
58588
|
+
"type": "boolean",
|
|
58589
|
+
"example": true,
|
|
58590
|
+
"nullable": true
|
|
58591
|
+
},
|
|
58592
|
+
"members_allowed_repository_creation_type": {
|
|
58593
|
+
"type": "string",
|
|
58594
|
+
"example": "all"
|
|
58595
|
+
},
|
|
58596
|
+
"members_can_create_public_repositories": {
|
|
58597
|
+
"type": "boolean",
|
|
58598
|
+
"example": true
|
|
58599
|
+
},
|
|
58600
|
+
"members_can_create_private_repositories": {
|
|
58601
|
+
"type": "boolean",
|
|
58602
|
+
"example": true
|
|
58603
|
+
},
|
|
58604
|
+
"members_can_create_internal_repositories": {
|
|
58605
|
+
"type": "boolean",
|
|
58606
|
+
"example": true
|
|
58607
|
+
},
|
|
58608
|
+
"members_can_create_pages": {
|
|
58609
|
+
"type": "boolean",
|
|
58610
|
+
"example": true
|
|
58611
|
+
},
|
|
58612
|
+
"members_can_create_public_pages": {
|
|
58613
|
+
"type": "boolean",
|
|
58614
|
+
"example": true
|
|
58615
|
+
},
|
|
58616
|
+
"members_can_create_private_pages": {
|
|
58617
|
+
"type": "boolean",
|
|
58618
|
+
"example": true
|
|
58619
|
+
},
|
|
58620
|
+
"updated_at": {
|
|
58621
|
+
"type": "string",
|
|
58622
|
+
"format": "date-time"
|
|
58623
|
+
}
|
|
58624
|
+
},
|
|
58625
|
+
"required": [
|
|
58626
|
+
"login",
|
|
58627
|
+
"url",
|
|
58628
|
+
"id",
|
|
58629
|
+
"node_id",
|
|
58630
|
+
"repos_url",
|
|
58631
|
+
"events_url",
|
|
58632
|
+
"hooks_url",
|
|
58633
|
+
"issues_url",
|
|
58634
|
+
"members_url",
|
|
58635
|
+
"public_members_url",
|
|
58636
|
+
"avatar_url",
|
|
58637
|
+
"description",
|
|
58638
|
+
"html_url",
|
|
58639
|
+
"has_organization_projects",
|
|
58640
|
+
"has_repository_projects",
|
|
58641
|
+
"public_repos",
|
|
58642
|
+
"public_gists",
|
|
58643
|
+
"followers",
|
|
58644
|
+
"following",
|
|
58645
|
+
"type",
|
|
58646
|
+
"created_at",
|
|
58647
|
+
"updated_at"
|
|
58648
|
+
]
|
|
58649
|
+
},
|
|
58291
58650
|
"team-full": {
|
|
58292
58651
|
"title": "Full Team",
|
|
58293
58652
|
"description": "Groups of organization members that gives permissions on specified repositories.",
|
|
@@ -58372,7 +58731,7 @@
|
|
|
58372
58731
|
"example": "2017-08-17T12:37:15Z"
|
|
58373
58732
|
},
|
|
58374
58733
|
"organization": {
|
|
58375
|
-
"$ref": "#/components/schemas/organization
|
|
58734
|
+
"$ref": "#/components/schemas/team-organization"
|
|
58376
58735
|
},
|
|
58377
58736
|
"ldap_dn": {
|
|
58378
58737
|
"description": "Distinguished Name (DN) that team maps to within LDAP environment",
|
|
@@ -82554,6 +82913,109 @@
|
|
|
82554
82913
|
}
|
|
82555
82914
|
]
|
|
82556
82915
|
},
|
|
82916
|
+
"branch-get": {
|
|
82917
|
+
"value": {
|
|
82918
|
+
"name": "main",
|
|
82919
|
+
"commit": {
|
|
82920
|
+
"sha": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
82921
|
+
"node_id": "MDY6Q29tbWl0MTI5NjI2OTo3ZmQxYTYwYjAxZjkxYjMxNGY1OTk1NWE0ZTRkNGU4MGQ4ZWRmMTFk",
|
|
82922
|
+
"commit": {
|
|
82923
|
+
"author": {
|
|
82924
|
+
"name": "The Octocat",
|
|
82925
|
+
"email": "octocat@nowhere.com",
|
|
82926
|
+
"date": "2012-03-06T23:06:50Z"
|
|
82927
|
+
},
|
|
82928
|
+
"committer": {
|
|
82929
|
+
"name": "The Octocat",
|
|
82930
|
+
"email": "octocat@nowhere.com",
|
|
82931
|
+
"date": "2012-03-06T23:06:50Z"
|
|
82932
|
+
},
|
|
82933
|
+
"message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.",
|
|
82934
|
+
"tree": {
|
|
82935
|
+
"sha": "b4eecafa9be2f2006ce1b709d6857b07069b4608",
|
|
82936
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/git/trees/b4eecafa9be2f2006ce1b709d6857b07069b4608"
|
|
82937
|
+
},
|
|
82938
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
82939
|
+
"comment_count": 77,
|
|
82940
|
+
"verification": {
|
|
82941
|
+
"verified": false,
|
|
82942
|
+
"reason": "unsigned",
|
|
82943
|
+
"signature": null,
|
|
82944
|
+
"payload": null
|
|
82945
|
+
}
|
|
82946
|
+
},
|
|
82947
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
82948
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
82949
|
+
"comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d/comments",
|
|
82950
|
+
"author": {
|
|
82951
|
+
"login": "octocat",
|
|
82952
|
+
"id": 583231,
|
|
82953
|
+
"node_id": "MDQ6VXNlcjU4MzIzMQ==",
|
|
82954
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
|
|
82955
|
+
"gravatar_id": "",
|
|
82956
|
+
"url": "https://api.github.com/users/octocat",
|
|
82957
|
+
"html_url": "https://github.com/octocat",
|
|
82958
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
82959
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
82960
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
82961
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
82962
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
82963
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
82964
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
82965
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
82966
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
82967
|
+
"type": "User",
|
|
82968
|
+
"site_admin": false
|
|
82969
|
+
},
|
|
82970
|
+
"committer": {
|
|
82971
|
+
"login": "octocat",
|
|
82972
|
+
"id": 583231,
|
|
82973
|
+
"node_id": "MDQ6VXNlcjU4MzIzMQ==",
|
|
82974
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
|
|
82975
|
+
"gravatar_id": "",
|
|
82976
|
+
"url": "https://api.github.com/users/octocat",
|
|
82977
|
+
"html_url": "https://github.com/octocat",
|
|
82978
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
82979
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
82980
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
82981
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
82982
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
82983
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
82984
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
82985
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
82986
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
82987
|
+
"type": "User",
|
|
82988
|
+
"site_admin": false
|
|
82989
|
+
},
|
|
82990
|
+
"parents": [
|
|
82991
|
+
{
|
|
82992
|
+
"sha": "553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
|
|
82993
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
|
|
82994
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e"
|
|
82995
|
+
},
|
|
82996
|
+
{
|
|
82997
|
+
"sha": "762941318ee16e59dabbacb1b4049eec22f0d303",
|
|
82998
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/762941318ee16e59dabbacb1b4049eec22f0d303",
|
|
82999
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/762941318ee16e59dabbacb1b4049eec22f0d303"
|
|
83000
|
+
}
|
|
83001
|
+
]
|
|
83002
|
+
},
|
|
83003
|
+
"_links": {
|
|
83004
|
+
"self": "https://api.github.com/repos/octocat/Hello-World/branches/main",
|
|
83005
|
+
"html": "https://github.com/octocat/Hello-World/tree/main"
|
|
83006
|
+
},
|
|
83007
|
+
"protected": false,
|
|
83008
|
+
"protection": {
|
|
83009
|
+
"enabled": false,
|
|
83010
|
+
"required_status_checks": {
|
|
83011
|
+
"enforcement_level": "off",
|
|
83012
|
+
"contexts": [],
|
|
83013
|
+
"checks": []
|
|
83014
|
+
}
|
|
83015
|
+
},
|
|
83016
|
+
"protection_url": "https://api.github.com/repos/octocat/Hello-World/branches/main/protection"
|
|
83017
|
+
}
|
|
83018
|
+
},
|
|
82557
83019
|
"branch-protection": {
|
|
82558
83020
|
"value": {
|
|
82559
83021
|
"url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection",
|
|
@@ -82750,6 +83212,71 @@
|
|
|
82750
83212
|
}
|
|
82751
83213
|
}
|
|
82752
83214
|
},
|
|
83215
|
+
"branch-protection-update": {
|
|
83216
|
+
"value": {
|
|
83217
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection",
|
|
83218
|
+
"required_status_checks": {
|
|
83219
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks",
|
|
83220
|
+
"strict": true,
|
|
83221
|
+
"contexts": [
|
|
83222
|
+
"continuous-integration/travis-ci"
|
|
83223
|
+
],
|
|
83224
|
+
"contexts_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks/contexts",
|
|
83225
|
+
"checks": [
|
|
83226
|
+
{
|
|
83227
|
+
"context": "continuous-integration/travis-ci",
|
|
83228
|
+
"app_id": null
|
|
83229
|
+
}
|
|
83230
|
+
]
|
|
83231
|
+
},
|
|
83232
|
+
"restrictions": {
|
|
83233
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions",
|
|
83234
|
+
"users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/users",
|
|
83235
|
+
"teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/teams",
|
|
83236
|
+
"apps_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/apps",
|
|
83237
|
+
"users": [],
|
|
83238
|
+
"teams": [],
|
|
83239
|
+
"apps": []
|
|
83240
|
+
},
|
|
83241
|
+
"required_pull_request_reviews": {
|
|
83242
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_pull_request_reviews",
|
|
83243
|
+
"dismiss_stale_reviews": true,
|
|
83244
|
+
"require_code_owner_reviews": true,
|
|
83245
|
+
"required_approving_review_count": 2,
|
|
83246
|
+
"dismissal_restrictions": {
|
|
83247
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions",
|
|
83248
|
+
"users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/users",
|
|
83249
|
+
"teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/teams",
|
|
83250
|
+
"users": [],
|
|
83251
|
+
"teams": [],
|
|
83252
|
+
"apps": []
|
|
83253
|
+
}
|
|
83254
|
+
},
|
|
83255
|
+
"required_signatures": {
|
|
83256
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_signatures",
|
|
83257
|
+
"enabled": false
|
|
83258
|
+
},
|
|
83259
|
+
"enforce_admins": {
|
|
83260
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/enforce_admins",
|
|
83261
|
+
"enabled": true
|
|
83262
|
+
},
|
|
83263
|
+
"required_linear_history": {
|
|
83264
|
+
"enabled": true
|
|
83265
|
+
},
|
|
83266
|
+
"allow_force_pushes": {
|
|
83267
|
+
"enabled": true
|
|
83268
|
+
},
|
|
83269
|
+
"allow_deletions": {
|
|
83270
|
+
"enabled": true
|
|
83271
|
+
},
|
|
83272
|
+
"block_creations": {
|
|
83273
|
+
"enabled": true
|
|
83274
|
+
},
|
|
83275
|
+
"required_conversation_resolution": {
|
|
83276
|
+
"enabled": true
|
|
83277
|
+
}
|
|
83278
|
+
}
|
|
83279
|
+
},
|
|
82753
83280
|
"protected-branch-admin-enforced-2": {
|
|
82754
83281
|
"value": {
|
|
82755
83282
|
"url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins",
|
|
@@ -87514,7 +88041,8 @@
|
|
|
87514
88041
|
"type": "User",
|
|
87515
88042
|
"site_admin": false
|
|
87516
88043
|
},
|
|
87517
|
-
"author_association": "COLLABORATOR"
|
|
88044
|
+
"author_association": "COLLABORATOR",
|
|
88045
|
+
"state_reason": "completed"
|
|
87518
88046
|
}
|
|
87519
88047
|
]
|
|
87520
88048
|
},
|
|
@@ -87674,7 +88202,8 @@
|
|
|
87674
88202
|
"type": "User",
|
|
87675
88203
|
"site_admin": false
|
|
87676
88204
|
},
|
|
87677
|
-
"author_association": "COLLABORATOR"
|
|
88205
|
+
"author_association": "COLLABORATOR",
|
|
88206
|
+
"state_reason": "completed"
|
|
87678
88207
|
}
|
|
87679
88208
|
},
|
|
87680
88209
|
"issue-comment-items": {
|
|
@@ -87910,7 +88439,8 @@
|
|
|
87910
88439
|
"closed_at": null,
|
|
87911
88440
|
"created_at": "2011-04-22T13:33:48Z",
|
|
87912
88441
|
"updated_at": "2011-04-22T13:33:48Z",
|
|
87913
|
-
"author_association": "COLLABORATOR"
|
|
88442
|
+
"author_association": "COLLABORATOR",
|
|
88443
|
+
"state_reason": "completed"
|
|
87914
88444
|
}
|
|
87915
88445
|
}
|
|
87916
88446
|
]
|
|
@@ -88119,7 +88649,8 @@
|
|
|
88119
88649
|
"closed_at": null,
|
|
88120
88650
|
"created_at": "2011-04-22T13:33:48Z",
|
|
88121
88651
|
"updated_at": "2011-04-22T13:33:48Z",
|
|
88122
|
-
"author_association": "COLLABORATOR"
|
|
88652
|
+
"author_association": "COLLABORATOR",
|
|
88653
|
+
"state_reason": "completed"
|
|
88123
88654
|
}
|
|
88124
88655
|
}
|
|
88125
88656
|
},
|
|
@@ -92280,7 +92811,8 @@
|
|
|
92280
92811
|
"body": "...",
|
|
92281
92812
|
"score": 1,
|
|
92282
92813
|
"locked": true,
|
|
92283
|
-
"author_association": "COLLABORATOR"
|
|
92814
|
+
"author_association": "COLLABORATOR",
|
|
92815
|
+
"state_reason": "completed"
|
|
92284
92816
|
}
|
|
92285
92817
|
]
|
|
92286
92818
|
}
|