@octokit/openapi 11.0.0 → 11.1.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 (29) hide show
  1. package/generated/api.github.com.deref.json +7446 -606
  2. package/generated/api.github.com.json +1135 -104
  3. package/generated/ghec-diff-to-api.github.com.deref.json +4944 -11
  4. package/generated/ghec-diff-to-api.github.com.json +92 -1
  5. package/generated/ghec.deref.json +7446 -606
  6. package/generated/ghec.json +1135 -104
  7. package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +2 -2
  8. package/generated/ghes-3.5-diff-to-ghes-3.6.json +2 -2
  9. package/generated/ghes-3.5.deref.json +2 -2
  10. package/generated/ghes-3.5.json +2 -2
  11. package/generated/ghes-3.6-diff-to-ghes-3.7.deref.json +2 -2
  12. package/generated/ghes-3.6-diff-to-ghes-3.7.json +2 -2
  13. package/generated/ghes-3.6.deref.json +2 -2
  14. package/generated/ghes-3.6.json +2 -2
  15. package/generated/ghes-3.7-diff-to-ghes-3.8.deref.json +252 -11
  16. package/generated/ghes-3.7-diff-to-ghes-3.8.json +1 -1
  17. package/generated/ghes-3.7.deref.json +253 -12
  18. package/generated/ghes-3.7.json +115 -12
  19. package/generated/ghes-3.8-anicca-diff-to-api.github.com.deref.json +17 -0
  20. package/generated/ghes-3.8-diff-to-api.github.com.deref.json +252 -11
  21. package/generated/ghes-3.8-diff-to-api.github.com.json +1 -1
  22. package/generated/ghes-3.8.deref.json +403 -12
  23. package/generated/ghes-3.8.json +265 -12
  24. package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +17 -0
  25. package/generated/github.ae-diff-to-api.github.com.deref.json +4996 -146
  26. package/generated/github.ae-diff-to-api.github.com.json +96 -5
  27. package/generated/github.ae.deref.json +5146 -146
  28. package/generated/github.ae.json +405 -15
  29. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "11.0.0",
4
+ "version": "11.1.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": {
@@ -10499,7 +10499,7 @@
10499
10499
  "/repos/{owner}/{repo}/events": {
10500
10500
  "get": {
10501
10501
  "summary": "List repository events",
10502
- "description": "",
10502
+ "description": "**Note**: This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.\n",
10503
10503
  "tags": [
10504
10504
  "activity"
10505
10505
  ],
@@ -13322,7 +13322,7 @@
13322
13322
  "/search/code": {
13323
13323
  "get": {
13324
13324
  "summary": "Search code",
13325
- "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\n**Note:** Starting on April 10, 2023, code search on GitHub.com will have a separate\nrate limit from other search types, of 10 requests per minute, and all code\nsearch requests will require authentication. For more information, see [this blog post](https://github.blog/changelog/2023-03-10-changes-to-the-code-search-api/).",
13325
+ "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nThis endpoint requires you to authenticate and limits you to 10 requests per minute.",
13326
13326
  "tags": [
13327
13327
  "search"
13328
13328
  ],
@@ -13344,7 +13344,7 @@
13344
13344
  {
13345
13345
  "name": "sort",
13346
13346
  "deprecated": true,
13347
- "description": "**Note: This field is deprecated, and will be ignored after April 10, 2023 (except on GitHub Enterprise Server).** Sorts the results of your query. Can only be `indexed`, which indicates how recently a file has been indexed by the GitHub AE search infrastructure. Default: [best match](https://docs.github.com/github-ae@latest/rest/reference/search#ranking-search-results)",
13347
+ "description": "**This field is deprecated.** Sorts the results of your query. Can only be `indexed`, which indicates how recently a file has been indexed by the GitHub AE search infrastructure. Default: [best match](https://docs.github.com/github-ae@latest/rest/reference/search#ranking-search-results)",
13348
13348
  "in": "query",
13349
13349
  "required": false,
13350
13350
  "schema": {
@@ -13356,7 +13356,7 @@
13356
13356
  },
13357
13357
  {
13358
13358
  "name": "order",
13359
- "description": "**Note: This field is deprecated, and will be ignored after April 10, 2023 (except on GitHub Enterprise Server).** Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. ",
13359
+ "description": "**This field is deprecated.** Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. ",
13360
13360
  "in": "query",
13361
13361
  "deprecated": true,
13362
13362
  "required": false,
@@ -18192,6 +18192,97 @@
18192
18192
  }
18193
18193
  }
18194
18194
  },
18195
+ "deployment-protection-rule-requested": {
18196
+ "post": {
18197
+ "summary": "This event occurs when there is activity relating to deployment protection rules. For more information, see \"[Using environments for deployment](https://docs.github.com/github-ae@latest/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules).\" For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/github-ae@latest/rest/deployments/environments).\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.",
18198
+ "description": "A deployment protection rule was requested for an environment.",
18199
+ "operationId": "deployment-protection-rule/requested",
18200
+ "externalDocs": {
18201
+ "url": "https://docs.github.com/github-ae@latest/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#deployment_protection_rule"
18202
+ },
18203
+ "parameters": [
18204
+ {
18205
+ "name": "User-Agent",
18206
+ "in": "header",
18207
+ "example": "GitHub-Hookshot/123abc",
18208
+ "schema": {
18209
+ "type": "string"
18210
+ }
18211
+ },
18212
+ {
18213
+ "name": "X-Github-Hook-Id",
18214
+ "in": "header",
18215
+ "example": 12312312,
18216
+ "schema": {
18217
+ "type": "string"
18218
+ }
18219
+ },
18220
+ {
18221
+ "name": "X-Github-Event",
18222
+ "in": "header",
18223
+ "example": "issues",
18224
+ "schema": {
18225
+ "type": "string"
18226
+ }
18227
+ },
18228
+ {
18229
+ "name": "X-Github-Hook-Installation-Target-Id",
18230
+ "in": "header",
18231
+ "example": 123123,
18232
+ "schema": {
18233
+ "type": "string"
18234
+ }
18235
+ },
18236
+ {
18237
+ "name": "X-Github-Hook-Installation-Target-Type",
18238
+ "in": "header",
18239
+ "example": "repository",
18240
+ "schema": {
18241
+ "type": "string"
18242
+ }
18243
+ },
18244
+ {
18245
+ "name": "X-GitHub-Delivery",
18246
+ "in": "header",
18247
+ "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516",
18248
+ "schema": {
18249
+ "type": "string"
18250
+ }
18251
+ },
18252
+ {
18253
+ "name": "X-Hub-Signature-256",
18254
+ "in": "header",
18255
+ "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e",
18256
+ "schema": {
18257
+ "type": "string"
18258
+ }
18259
+ }
18260
+ ],
18261
+ "requestBody": {
18262
+ "required": true,
18263
+ "content": {
18264
+ "application/json": {
18265
+ "schema": {
18266
+ "$ref": "#/components/schemas/webhook-deployment-protection-rule-requested"
18267
+ }
18268
+ }
18269
+ }
18270
+ },
18271
+ "responses": {
18272
+ "200": {
18273
+ "description": "Return a 200 status to indicate that the data was received successfully"
18274
+ }
18275
+ },
18276
+ "x-github": {
18277
+ "githubCloudOnly": false,
18278
+ "category": "webhooks",
18279
+ "subcategory": "deployment-protection-rule",
18280
+ "supported-webhook-types": [
18281
+ "app"
18282
+ ]
18283
+ }
18284
+ }
18285
+ },
18195
18286
  "deployment-status-created": {
18196
18287
  "post": {
18197
18288
  "summary": "This event occurs when there is activity relating to deployment statuses. For more information, see \"[About deployments](https://docs.github.com/github-ae@latest/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/github-ae@latest/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation, use the `deployment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.",