@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.
Files changed (35) hide show
  1. package/generated/api.github.com.deref.json +2550 -227
  2. package/generated/api.github.com.json +1233 -110
  3. package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
  4. package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
  5. package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +31 -25
  6. package/generated/ghes-3.2-diff-to-ghes-3.3.json +25 -14
  7. package/generated/ghes-3.2.deref.json +319 -242
  8. package/generated/ghes-3.2.json +558 -26
  9. package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +0 -16
  10. package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +187 -223
  11. package/generated/ghes-3.3-diff-to-ghes-3.4.json +432 -10
  12. package/generated/ghes-3.3.deref.json +319 -244
  13. package/generated/ghes-3.3.json +558 -27
  14. package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +9 -1
  15. package/generated/ghes-3.4-diff-to-ghes-3.5.json +9 -1
  16. package/generated/ghes-3.4.deref.json +322 -230
  17. package/generated/ghes-3.4.json +566 -29
  18. package/generated/ghes-3.5-anicca-diff-to-ghes-3.6.deref.json +784 -135
  19. package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
  20. package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
  21. package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +46103 -29773
  22. package/generated/ghes-3.5-diff-to-ghes-3.6.json +7990 -3300
  23. package/generated/ghes-3.5.deref.json +406 -242
  24. package/generated/ghes-3.5.json +650 -41
  25. package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +504 -89
  26. package/generated/ghes-3.6-diff-to-api.github.com.deref.json +18076 -6602
  27. package/generated/ghes-3.6-diff-to-api.github.com.json +6698 -4308
  28. package/generated/ghes-3.6.deref.json +1275 -241
  29. package/generated/ghes-3.6.json +839 -41
  30. package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +332 -32
  31. package/generated/github.ae-diff-to-api.github.com.deref.json +24643 -16633
  32. package/generated/github.ae-diff-to-api.github.com.json +1184 -30
  33. package/generated/github.ae.deref.json +1298 -163
  34. package/generated/github.ae.json +878 -35
  35. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.4.0",
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": {
@@ -20849,6 +20849,11 @@
20849
20849
  "application/json": {
20850
20850
  "schema": {
20851
20851
  "$ref": "#/components/schemas/branch-with-protection"
20852
+ },
20853
+ "examples": {
20854
+ "default": {
20855
+ "$ref": "#/components/examples/branch-get"
20856
+ }
20852
20857
  }
20853
20858
  }
20854
20859
  }
@@ -21183,6 +21188,11 @@
21183
21188
  "application/json": {
21184
21189
  "schema": {
21185
21190
  "$ref": "#/components/schemas/protected-branch"
21191
+ },
21192
+ "examples": {
21193
+ "default": {
21194
+ "$ref": "#/components/examples/branch-protection-update"
21195
+ }
21186
21196
  }
21187
21197
  }
21188
21198
  }
@@ -22039,7 +22049,7 @@
22039
22049
  "properties": {
22040
22050
  "contexts": {
22041
22051
  "type": "array",
22042
- "description": "contexts parameter",
22052
+ "description": "The name of the status checks",
22043
22053
  "items": {
22044
22054
  "type": "string"
22045
22055
  }
@@ -22055,6 +22065,17 @@
22055
22065
  }
22056
22066
  }
22057
22067
  ]
22068
+ },
22069
+ "examples": {
22070
+ "default": {
22071
+ "summary": "Example adding status checks to a branch protection rule",
22072
+ "value": {
22073
+ "contexts": [
22074
+ "continuous-integration/travis-ci",
22075
+ "continuous-integration/jenkins"
22076
+ ]
22077
+ }
22078
+ }
22058
22079
  }
22059
22080
  }
22060
22081
  }
@@ -22133,7 +22154,7 @@
22133
22154
  "properties": {
22134
22155
  "contexts": {
22135
22156
  "type": "array",
22136
- "description": "contexts parameter",
22157
+ "description": "The name of the status checks",
22137
22158
  "items": {
22138
22159
  "type": "string"
22139
22160
  }
@@ -22149,6 +22170,16 @@
22149
22170
  }
22150
22171
  }
22151
22172
  ]
22173
+ },
22174
+ "examples": {
22175
+ "default": {
22176
+ "summary": "Example updating status checks for a branch protection rule",
22177
+ "value": {
22178
+ "contexts": [
22179
+ "continuous-integration/travis-ci"
22180
+ ]
22181
+ }
22182
+ }
22152
22183
  }
22153
22184
  }
22154
22185
  }
@@ -22222,7 +22253,7 @@
22222
22253
  "properties": {
22223
22254
  "contexts": {
22224
22255
  "type": "array",
22225
- "description": "contexts parameter",
22256
+ "description": "The name of the status checks",
22226
22257
  "items": {
22227
22258
  "type": "string"
22228
22259
  }
@@ -22238,6 +22269,16 @@
22238
22269
  }
22239
22270
  }
22240
22271
  ]
22272
+ },
22273
+ "examples": {
22274
+ "default": {
22275
+ "summary": "Example removing status checks from a branch protection rule",
22276
+ "value": {
22277
+ "contexts": [
22278
+ "continuous-integration/travis-ci"
22279
+ ]
22280
+ }
22281
+ }
22241
22282
  }
22242
22283
  }
22243
22284
  }
@@ -22763,7 +22804,7 @@
22763
22804
  "properties": {
22764
22805
  "teams": {
22765
22806
  "type": "array",
22766
- "description": "teams parameter",
22807
+ "description": "The slug values for teams",
22767
22808
  "items": {
22768
22809
  "type": "string"
22769
22810
  }
@@ -22779,6 +22820,16 @@
22779
22820
  }
22780
22821
  }
22781
22822
  ]
22823
+ },
22824
+ "examples": {
22825
+ "default": {
22826
+ "summary": "Example adding a team in a branch protection rule",
22827
+ "value": {
22828
+ "teams": [
22829
+ "justice-league"
22830
+ ]
22831
+ }
22832
+ }
22782
22833
  }
22783
22834
  }
22784
22835
  }
@@ -22848,7 +22899,7 @@
22848
22899
  "properties": {
22849
22900
  "teams": {
22850
22901
  "type": "array",
22851
- "description": "teams parameter",
22902
+ "description": "The slug values for teams",
22852
22903
  "items": {
22853
22904
  "type": "string"
22854
22905
  }
@@ -22859,11 +22910,21 @@
22859
22910
  ],
22860
22911
  "example": {
22861
22912
  "teams": [
22862
- "my-team"
22913
+ "justice-league"
22863
22914
  ]
22864
22915
  }
22865
22916
  }
22866
22917
  ]
22918
+ },
22919
+ "examples": {
22920
+ "default": {
22921
+ "summary": "Example replacing a team in a branch protection rule",
22922
+ "value": {
22923
+ "teams": [
22924
+ "justice-league"
22925
+ ]
22926
+ }
22927
+ }
22867
22928
  }
22868
22929
  }
22869
22930
  }
@@ -22932,7 +22993,7 @@
22932
22993
  "properties": {
22933
22994
  "teams": {
22934
22995
  "type": "array",
22935
- "description": "teams parameter",
22996
+ "description": "The slug values for teams",
22936
22997
  "items": {
22937
22998
  "type": "string"
22938
22999
  }
@@ -22948,6 +23009,16 @@
22948
23009
  }
22949
23010
  }
22950
23011
  ]
23012
+ },
23013
+ "examples": {
23014
+ "default": {
23015
+ "summary": "Example removing a team in a branch protection rule",
23016
+ "value": {
23017
+ "teams": [
23018
+ "justice-league"
23019
+ ]
23020
+ }
23021
+ }
22951
23022
  }
22952
23023
  }
22953
23024
  }
@@ -23072,7 +23143,7 @@
23072
23143
  "properties": {
23073
23144
  "users": {
23074
23145
  "type": "array",
23075
- "description": "users parameter",
23146
+ "description": "The username for users",
23076
23147
  "items": {
23077
23148
  "type": "string"
23078
23149
  }
@@ -23088,6 +23159,16 @@
23088
23159
  }
23089
23160
  }
23090
23161
  ]
23162
+ },
23163
+ "examples": {
23164
+ "default": {
23165
+ "summary": "Example adding a user in a branch protection rule",
23166
+ "value": {
23167
+ "users": [
23168
+ "octocat"
23169
+ ]
23170
+ }
23171
+ }
23091
23172
  }
23092
23173
  }
23093
23174
  }
@@ -23157,7 +23238,7 @@
23157
23238
  "properties": {
23158
23239
  "users": {
23159
23240
  "type": "array",
23160
- "description": "users parameter",
23241
+ "description": "The username for users",
23161
23242
  "items": {
23162
23243
  "type": "string"
23163
23244
  }
@@ -23173,6 +23254,16 @@
23173
23254
  }
23174
23255
  }
23175
23256
  ]
23257
+ },
23258
+ "examples": {
23259
+ "default": {
23260
+ "summary": "Example replacing a user in a branch protection rule",
23261
+ "value": {
23262
+ "users": [
23263
+ "octocat"
23264
+ ]
23265
+ }
23266
+ }
23176
23267
  }
23177
23268
  }
23178
23269
  }
@@ -23241,7 +23332,7 @@
23241
23332
  "properties": {
23242
23333
  "users": {
23243
23334
  "type": "array",
23244
- "description": "users parameter",
23335
+ "description": "The username for users",
23245
23336
  "items": {
23246
23337
  "type": "string"
23247
23338
  }
@@ -23257,6 +23348,16 @@
23257
23348
  }
23258
23349
  }
23259
23350
  ]
23351
+ },
23352
+ "examples": {
23353
+ "default": {
23354
+ "summary": "Example removing a user in a branch protection rule",
23355
+ "value": {
23356
+ "users": [
23357
+ "octocat"
23358
+ ]
23359
+ }
23360
+ }
23260
23361
  }
23261
23362
  }
23262
23363
  }
@@ -27076,7 +27177,7 @@
27076
27177
  "/repos/{owner}/{repo}/contents/{path}": {
27077
27178
  "get": {
27078
27179
  "summary": "Get repository content",
27079
- "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.3/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.3/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@3.3/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.3/rest/reference/git#get-a-tree).\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.",
27180
+ "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.3/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.3/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.3/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.3/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.",
27080
27181
  "tags": [
27081
27182
  "repos"
27082
27183
  ],
@@ -31115,6 +31216,14 @@
31115
31216
  ]
31116
31217
  }
31117
31218
  }
31219
+ },
31220
+ "examples": {
31221
+ "default": {
31222
+ "summary": "Example request body",
31223
+ "value": {
31224
+ "permissions": "write"
31225
+ }
31226
+ }
31118
31227
  }
31119
31228
  }
31120
31229
  }
@@ -32210,6 +32319,12 @@
32210
32319
  "closed"
32211
32320
  ]
32212
32321
  },
32322
+ "state_reason": {
32323
+ "type": "string",
32324
+ "nullable": true,
32325
+ "description": "The reason for the current state",
32326
+ "example": "not_planned"
32327
+ },
32213
32328
  "milestone": {
32214
32329
  "oneOf": [
32215
32330
  {
@@ -51505,14 +51620,6 @@
51505
51620
  "write"
51506
51621
  ]
51507
51622
  },
51508
- "organization_custom_roles": {
51509
- "type": "string",
51510
- "description": "The level of permission to grant the access token for custom roles management.",
51511
- "enum": [
51512
- "read",
51513
- "write"
51514
- ]
51515
- },
51516
51623
  "deployments": {
51517
51624
  "type": "string",
51518
51625
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -58925,6 +59032,258 @@
58925
59032
  "parent"
58926
59033
  ]
58927
59034
  },
59035
+ "team-organization": {
59036
+ "title": "Team Organization",
59037
+ "description": "Team Organization",
59038
+ "type": "object",
59039
+ "properties": {
59040
+ "login": {
59041
+ "type": "string",
59042
+ "example": "github"
59043
+ },
59044
+ "id": {
59045
+ "type": "integer",
59046
+ "example": 1
59047
+ },
59048
+ "node_id": {
59049
+ "type": "string",
59050
+ "example": "MDEyOk9yZ2FuaXphdGlvbjE="
59051
+ },
59052
+ "url": {
59053
+ "type": "string",
59054
+ "format": "uri",
59055
+ "example": "https://api.github.com/orgs/github"
59056
+ },
59057
+ "repos_url": {
59058
+ "type": "string",
59059
+ "format": "uri",
59060
+ "example": "https://api.github.com/orgs/github/repos"
59061
+ },
59062
+ "events_url": {
59063
+ "type": "string",
59064
+ "format": "uri",
59065
+ "example": "https://api.github.com/orgs/github/events"
59066
+ },
59067
+ "hooks_url": {
59068
+ "type": "string",
59069
+ "example": "https://api.github.com/orgs/github/hooks"
59070
+ },
59071
+ "issues_url": {
59072
+ "type": "string",
59073
+ "example": "https://api.github.com/orgs/github/issues"
59074
+ },
59075
+ "members_url": {
59076
+ "type": "string",
59077
+ "example": "https://api.github.com/orgs/github/members{/member}"
59078
+ },
59079
+ "public_members_url": {
59080
+ "type": "string",
59081
+ "example": "https://api.github.com/orgs/github/public_members{/member}"
59082
+ },
59083
+ "avatar_url": {
59084
+ "type": "string",
59085
+ "example": "https://github.com/images/error/octocat_happy.gif"
59086
+ },
59087
+ "description": {
59088
+ "type": "string",
59089
+ "example": "A great organization",
59090
+ "nullable": true
59091
+ },
59092
+ "name": {
59093
+ "type": "string",
59094
+ "example": "github"
59095
+ },
59096
+ "company": {
59097
+ "type": "string",
59098
+ "example": "GitHub"
59099
+ },
59100
+ "blog": {
59101
+ "type": "string",
59102
+ "format": "uri",
59103
+ "example": "https://github.com/blog"
59104
+ },
59105
+ "location": {
59106
+ "type": "string",
59107
+ "example": "San Francisco"
59108
+ },
59109
+ "email": {
59110
+ "type": "string",
59111
+ "format": "email",
59112
+ "example": "octocat@github.com"
59113
+ },
59114
+ "twitter_username": {
59115
+ "type": "string",
59116
+ "example": "github",
59117
+ "nullable": true
59118
+ },
59119
+ "is_verified": {
59120
+ "type": "boolean",
59121
+ "example": true
59122
+ },
59123
+ "has_organization_projects": {
59124
+ "type": "boolean",
59125
+ "example": true
59126
+ },
59127
+ "has_repository_projects": {
59128
+ "type": "boolean",
59129
+ "example": true
59130
+ },
59131
+ "public_repos": {
59132
+ "type": "integer",
59133
+ "example": 2
59134
+ },
59135
+ "public_gists": {
59136
+ "type": "integer",
59137
+ "example": 1
59138
+ },
59139
+ "followers": {
59140
+ "type": "integer",
59141
+ "example": 20
59142
+ },
59143
+ "following": {
59144
+ "type": "integer",
59145
+ "example": 0
59146
+ },
59147
+ "html_url": {
59148
+ "type": "string",
59149
+ "format": "uri",
59150
+ "example": "https://github.com/octocat"
59151
+ },
59152
+ "created_at": {
59153
+ "type": "string",
59154
+ "format": "date-time",
59155
+ "example": "2008-01-14T04:33:35Z"
59156
+ },
59157
+ "type": {
59158
+ "type": "string",
59159
+ "example": "Organization"
59160
+ },
59161
+ "total_private_repos": {
59162
+ "type": "integer",
59163
+ "example": 100
59164
+ },
59165
+ "owned_private_repos": {
59166
+ "type": "integer",
59167
+ "example": 100
59168
+ },
59169
+ "private_gists": {
59170
+ "type": "integer",
59171
+ "example": 81,
59172
+ "nullable": true
59173
+ },
59174
+ "disk_usage": {
59175
+ "type": "integer",
59176
+ "example": 10000,
59177
+ "nullable": true
59178
+ },
59179
+ "collaborators": {
59180
+ "type": "integer",
59181
+ "example": 8,
59182
+ "nullable": true
59183
+ },
59184
+ "billing_email": {
59185
+ "type": "string",
59186
+ "format": "email",
59187
+ "example": "org@example.com",
59188
+ "nullable": true
59189
+ },
59190
+ "plan": {
59191
+ "type": "object",
59192
+ "properties": {
59193
+ "name": {
59194
+ "type": "string"
59195
+ },
59196
+ "space": {
59197
+ "type": "integer"
59198
+ },
59199
+ "private_repos": {
59200
+ "type": "integer"
59201
+ },
59202
+ "filled_seats": {
59203
+ "type": "integer"
59204
+ },
59205
+ "seats": {
59206
+ "type": "integer"
59207
+ }
59208
+ },
59209
+ "required": [
59210
+ "name",
59211
+ "space",
59212
+ "private_repos"
59213
+ ]
59214
+ },
59215
+ "default_repository_permission": {
59216
+ "type": "string",
59217
+ "nullable": true
59218
+ },
59219
+ "members_can_create_repositories": {
59220
+ "type": "boolean",
59221
+ "example": true,
59222
+ "nullable": true
59223
+ },
59224
+ "two_factor_requirement_enabled": {
59225
+ "type": "boolean",
59226
+ "example": true,
59227
+ "nullable": true
59228
+ },
59229
+ "members_allowed_repository_creation_type": {
59230
+ "type": "string",
59231
+ "example": "all"
59232
+ },
59233
+ "members_can_create_public_repositories": {
59234
+ "type": "boolean",
59235
+ "example": true
59236
+ },
59237
+ "members_can_create_private_repositories": {
59238
+ "type": "boolean",
59239
+ "example": true
59240
+ },
59241
+ "members_can_create_internal_repositories": {
59242
+ "type": "boolean",
59243
+ "example": true
59244
+ },
59245
+ "members_can_create_pages": {
59246
+ "type": "boolean",
59247
+ "example": true
59248
+ },
59249
+ "members_can_create_public_pages": {
59250
+ "type": "boolean",
59251
+ "example": true
59252
+ },
59253
+ "members_can_create_private_pages": {
59254
+ "type": "boolean",
59255
+ "example": true
59256
+ },
59257
+ "updated_at": {
59258
+ "type": "string",
59259
+ "format": "date-time"
59260
+ }
59261
+ },
59262
+ "required": [
59263
+ "login",
59264
+ "url",
59265
+ "id",
59266
+ "node_id",
59267
+ "repos_url",
59268
+ "events_url",
59269
+ "hooks_url",
59270
+ "issues_url",
59271
+ "members_url",
59272
+ "public_members_url",
59273
+ "avatar_url",
59274
+ "description",
59275
+ "html_url",
59276
+ "has_organization_projects",
59277
+ "has_repository_projects",
59278
+ "public_repos",
59279
+ "public_gists",
59280
+ "followers",
59281
+ "following",
59282
+ "type",
59283
+ "created_at",
59284
+ "updated_at"
59285
+ ]
59286
+ },
58928
59287
  "team-full": {
58929
59288
  "title": "Full Team",
58930
59289
  "description": "Groups of organization members that gives permissions on specified repositories.",
@@ -59009,7 +59368,7 @@
59009
59368
  "example": "2017-08-17T12:37:15Z"
59010
59369
  },
59011
59370
  "organization": {
59012
- "$ref": "#/components/schemas/organization-full"
59371
+ "$ref": "#/components/schemas/team-organization"
59013
59372
  },
59014
59373
  "ldap_dn": {
59015
59374
  "description": "Distinguished Name (DN) that team maps to within LDAP environment",
@@ -81888,7 +82247,6 @@
81888
82247
  "node_id": "MDc6TGljZW5zZW1pdA==",
81889
82248
  "html_url": "https://github.com/licenses/mit"
81890
82249
  },
81891
- "language": null,
81892
82250
  "forks_count": 9,
81893
82251
  "forks": 9,
81894
82252
  "stargazers_count": 80,
@@ -83198,6 +83556,109 @@
83198
83556
  }
83199
83557
  ]
83200
83558
  },
83559
+ "branch-get": {
83560
+ "value": {
83561
+ "name": "main",
83562
+ "commit": {
83563
+ "sha": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
83564
+ "node_id": "MDY6Q29tbWl0MTI5NjI2OTo3ZmQxYTYwYjAxZjkxYjMxNGY1OTk1NWE0ZTRkNGU4MGQ4ZWRmMTFk",
83565
+ "commit": {
83566
+ "author": {
83567
+ "name": "The Octocat",
83568
+ "email": "octocat@nowhere.com",
83569
+ "date": "2012-03-06T23:06:50Z"
83570
+ },
83571
+ "committer": {
83572
+ "name": "The Octocat",
83573
+ "email": "octocat@nowhere.com",
83574
+ "date": "2012-03-06T23:06:50Z"
83575
+ },
83576
+ "message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.",
83577
+ "tree": {
83578
+ "sha": "b4eecafa9be2f2006ce1b709d6857b07069b4608",
83579
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/b4eecafa9be2f2006ce1b709d6857b07069b4608"
83580
+ },
83581
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
83582
+ "comment_count": 77,
83583
+ "verification": {
83584
+ "verified": false,
83585
+ "reason": "unsigned",
83586
+ "signature": null,
83587
+ "payload": null
83588
+ }
83589
+ },
83590
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
83591
+ "html_url": "https://github.com/octocat/Hello-World/commit/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
83592
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d/comments",
83593
+ "author": {
83594
+ "login": "octocat",
83595
+ "id": 583231,
83596
+ "node_id": "MDQ6VXNlcjU4MzIzMQ==",
83597
+ "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
83598
+ "gravatar_id": "",
83599
+ "url": "https://api.github.com/users/octocat",
83600
+ "html_url": "https://github.com/octocat",
83601
+ "followers_url": "https://api.github.com/users/octocat/followers",
83602
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
83603
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
83604
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
83605
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
83606
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
83607
+ "repos_url": "https://api.github.com/users/octocat/repos",
83608
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
83609
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
83610
+ "type": "User",
83611
+ "site_admin": false
83612
+ },
83613
+ "committer": {
83614
+ "login": "octocat",
83615
+ "id": 583231,
83616
+ "node_id": "MDQ6VXNlcjU4MzIzMQ==",
83617
+ "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
83618
+ "gravatar_id": "",
83619
+ "url": "https://api.github.com/users/octocat",
83620
+ "html_url": "https://github.com/octocat",
83621
+ "followers_url": "https://api.github.com/users/octocat/followers",
83622
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
83623
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
83624
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
83625
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
83626
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
83627
+ "repos_url": "https://api.github.com/users/octocat/repos",
83628
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
83629
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
83630
+ "type": "User",
83631
+ "site_admin": false
83632
+ },
83633
+ "parents": [
83634
+ {
83635
+ "sha": "553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
83636
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
83637
+ "html_url": "https://github.com/octocat/Hello-World/commit/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e"
83638
+ },
83639
+ {
83640
+ "sha": "762941318ee16e59dabbacb1b4049eec22f0d303",
83641
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/762941318ee16e59dabbacb1b4049eec22f0d303",
83642
+ "html_url": "https://github.com/octocat/Hello-World/commit/762941318ee16e59dabbacb1b4049eec22f0d303"
83643
+ }
83644
+ ]
83645
+ },
83646
+ "_links": {
83647
+ "self": "https://api.github.com/repos/octocat/Hello-World/branches/main",
83648
+ "html": "https://github.com/octocat/Hello-World/tree/main"
83649
+ },
83650
+ "protected": false,
83651
+ "protection": {
83652
+ "enabled": false,
83653
+ "required_status_checks": {
83654
+ "enforcement_level": "off",
83655
+ "contexts": [],
83656
+ "checks": []
83657
+ }
83658
+ },
83659
+ "protection_url": "https://api.github.com/repos/octocat/Hello-World/branches/main/protection"
83660
+ }
83661
+ },
83201
83662
  "branch-protection": {
83202
83663
  "value": {
83203
83664
  "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection",
@@ -83394,6 +83855,71 @@
83394
83855
  }
83395
83856
  }
83396
83857
  },
83858
+ "branch-protection-update": {
83859
+ "value": {
83860
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection",
83861
+ "required_status_checks": {
83862
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks",
83863
+ "strict": true,
83864
+ "contexts": [
83865
+ "continuous-integration/travis-ci"
83866
+ ],
83867
+ "contexts_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks/contexts",
83868
+ "checks": [
83869
+ {
83870
+ "context": "continuous-integration/travis-ci",
83871
+ "app_id": null
83872
+ }
83873
+ ]
83874
+ },
83875
+ "restrictions": {
83876
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions",
83877
+ "users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/users",
83878
+ "teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/teams",
83879
+ "apps_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/apps",
83880
+ "users": [],
83881
+ "teams": [],
83882
+ "apps": []
83883
+ },
83884
+ "required_pull_request_reviews": {
83885
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_pull_request_reviews",
83886
+ "dismiss_stale_reviews": true,
83887
+ "require_code_owner_reviews": true,
83888
+ "required_approving_review_count": 2,
83889
+ "dismissal_restrictions": {
83890
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions",
83891
+ "users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/users",
83892
+ "teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/teams",
83893
+ "users": [],
83894
+ "teams": [],
83895
+ "apps": []
83896
+ }
83897
+ },
83898
+ "required_signatures": {
83899
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_signatures",
83900
+ "enabled": false
83901
+ },
83902
+ "enforce_admins": {
83903
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/enforce_admins",
83904
+ "enabled": true
83905
+ },
83906
+ "required_linear_history": {
83907
+ "enabled": true
83908
+ },
83909
+ "allow_force_pushes": {
83910
+ "enabled": true
83911
+ },
83912
+ "allow_deletions": {
83913
+ "enabled": true
83914
+ },
83915
+ "block_creations": {
83916
+ "enabled": true
83917
+ },
83918
+ "required_conversation_resolution": {
83919
+ "enabled": true
83920
+ }
83921
+ }
83922
+ },
83397
83923
  "protected-branch-admin-enforced-2": {
83398
83924
  "value": {
83399
83925
  "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins",
@@ -88160,7 +88686,8 @@
88160
88686
  "type": "User",
88161
88687
  "site_admin": false
88162
88688
  },
88163
- "author_association": "COLLABORATOR"
88689
+ "author_association": "COLLABORATOR",
88690
+ "state_reason": "completed"
88164
88691
  }
88165
88692
  ]
88166
88693
  },
@@ -88320,7 +88847,8 @@
88320
88847
  "type": "User",
88321
88848
  "site_admin": false
88322
88849
  },
88323
- "author_association": "COLLABORATOR"
88850
+ "author_association": "COLLABORATOR",
88851
+ "state_reason": "completed"
88324
88852
  }
88325
88853
  },
88326
88854
  "issue-comment-items": {
@@ -88556,7 +89084,8 @@
88556
89084
  "closed_at": null,
88557
89085
  "created_at": "2011-04-22T13:33:48Z",
88558
89086
  "updated_at": "2011-04-22T13:33:48Z",
88559
- "author_association": "COLLABORATOR"
89087
+ "author_association": "COLLABORATOR",
89088
+ "state_reason": "completed"
88560
89089
  }
88561
89090
  }
88562
89091
  ]
@@ -88765,7 +89294,8 @@
88765
89294
  "closed_at": null,
88766
89295
  "created_at": "2011-04-22T13:33:48Z",
88767
89296
  "updated_at": "2011-04-22T13:33:48Z",
88768
- "author_association": "COLLABORATOR"
89297
+ "author_association": "COLLABORATOR",
89298
+ "state_reason": "completed"
88769
89299
  }
88770
89300
  }
88771
89301
  },
@@ -92989,7 +93519,8 @@
92989
93519
  "body": "...",
92990
93520
  "score": 1,
92991
93521
  "locked": true,
92992
- "author_association": "COLLABORATOR"
93522
+ "author_association": "COLLABORATOR",
93523
+ "state_reason": "completed"
92993
93524
  }
92994
93525
  ]
92995
93526
  }