@octokit/openapi 6.1.4 → 6.3.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 +12366 -10615
- package/generated/api.github.com.json +3916 -3453
- 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 +1 -1
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +1 -1
- package/generated/ghes-3.2.deref.json +187 -7
- package/generated/ghes-3.2.json +190 -29
- package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +23 -0
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +96 -1
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +92 -1
- package/generated/ghes-3.3.deref.json +371 -1395
- package/generated/ghes-3.3.json +491 -315
- package/generated/ghes-3.4-anicca-diff-to-ghes-3.5.deref.json +0 -14
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +7801 -10209
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +341 -326
- package/generated/ghes-3.4.deref.json +1434 -3653
- package/generated/ghes-3.4.json +1184 -1001
- package/generated/ghes-3.5-anicca-diff-to-api.github.com.deref.json +69 -73
- package/generated/ghes-3.5-diff-to-api.github.com.deref.json +28230 -31386
- package/generated/ghes-3.5-diff-to-api.github.com.json +813 -744
- package/generated/ghes-3.5.deref.json +1692 -4983
- package/generated/ghes-3.5.json +2093 -2049
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +92 -0
- package/generated/github.ae-diff-to-api.github.com.deref.json +488 -1
- package/generated/github.ae-diff-to-api.github.com.json +362 -12
- package/generated/github.ae.deref.json +253 -104
- package/generated/github.ae.json +263 -81
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.3.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -2860,6 +2860,85 @@
|
|
|
2860
2860
|
}
|
|
2861
2861
|
}
|
|
2862
2862
|
},
|
|
2863
|
+
"/orgs/{org}/actions/secrets/{secret_name}": {
|
|
2864
|
+
"put": {
|
|
2865
|
+
"summary": "Create or update an organization secret",
|
|
2866
|
+
"description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to\nuse this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```",
|
|
2867
|
+
"tags": ["actions"],
|
|
2868
|
+
"operationId": "actions/create-or-update-org-secret",
|
|
2869
|
+
"externalDocs": {
|
|
2870
|
+
"description": "API method documentation",
|
|
2871
|
+
"url": "https://docs.github.com/github-ae@latest/rest/reference/actions#create-or-update-an-organization-secret"
|
|
2872
|
+
},
|
|
2873
|
+
"parameters": [
|
|
2874
|
+
{ "$ref": "#/components/parameters/org" },
|
|
2875
|
+
{ "$ref": "#/components/parameters/secret-name" }
|
|
2876
|
+
],
|
|
2877
|
+
"requestBody": {
|
|
2878
|
+
"required": true,
|
|
2879
|
+
"content": {
|
|
2880
|
+
"application/json": {
|
|
2881
|
+
"schema": {
|
|
2882
|
+
"type": "object",
|
|
2883
|
+
"properties": {
|
|
2884
|
+
"encrypted_value": {
|
|
2885
|
+
"type": "string",
|
|
2886
|
+
"description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/github-ae@latest/rest/reference/actions#get-an-organization-public-key) endpoint.",
|
|
2887
|
+
"pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$"
|
|
2888
|
+
},
|
|
2889
|
+
"key_id": {
|
|
2890
|
+
"type": "string",
|
|
2891
|
+
"description": "ID of the key you used to encrypt the secret."
|
|
2892
|
+
},
|
|
2893
|
+
"visibility": {
|
|
2894
|
+
"type": "string",
|
|
2895
|
+
"description": "Which type of organization repositories have access to the organization secret. `selected` means only the repositories specified by `selected_repository_ids` can access the secret.",
|
|
2896
|
+
"enum": ["all", "private", "selected"]
|
|
2897
|
+
},
|
|
2898
|
+
"selected_repository_ids": {
|
|
2899
|
+
"type": "array",
|
|
2900
|
+
"description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/github-ae@latest/rest/reference/actions#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/github-ae@latest/rest/reference/actions#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/github-ae@latest/rest/reference/actions#remove-selected-repository-from-an-organization-secret) endpoints.",
|
|
2901
|
+
"items": { "type": "integer" }
|
|
2902
|
+
}
|
|
2903
|
+
},
|
|
2904
|
+
"required": ["visibility"]
|
|
2905
|
+
},
|
|
2906
|
+
"examples": {
|
|
2907
|
+
"default": {
|
|
2908
|
+
"value": {
|
|
2909
|
+
"encrypted_value": "c2VjcmV0",
|
|
2910
|
+
"key_id": "012345678912345678",
|
|
2911
|
+
"visibility": "selected",
|
|
2912
|
+
"selected_repository_ids": [1296269, 1296280]
|
|
2913
|
+
}
|
|
2914
|
+
}
|
|
2915
|
+
}
|
|
2916
|
+
}
|
|
2917
|
+
}
|
|
2918
|
+
},
|
|
2919
|
+
"responses": {
|
|
2920
|
+
"201": {
|
|
2921
|
+
"description": "Response when creating a secret",
|
|
2922
|
+
"content": {
|
|
2923
|
+
"application/json": {
|
|
2924
|
+
"schema": { "$ref": "#/components/schemas/empty-object" },
|
|
2925
|
+
"examples": { "default": { "value": null } }
|
|
2926
|
+
}
|
|
2927
|
+
}
|
|
2928
|
+
},
|
|
2929
|
+
"204": { "description": "Response when updating a secret" }
|
|
2930
|
+
},
|
|
2931
|
+
"x-github": {
|
|
2932
|
+
"githubCloudOnly": false,
|
|
2933
|
+
"enabledForGitHubApps": true,
|
|
2934
|
+
"category": "actions",
|
|
2935
|
+
"subcategory": "secrets"
|
|
2936
|
+
},
|
|
2937
|
+
"x-octokit": {
|
|
2938
|
+
"diff": { "api.github.com.json": { "type": "changed" } }
|
|
2939
|
+
}
|
|
2940
|
+
}
|
|
2941
|
+
},
|
|
2863
2942
|
"/orgs/{org}/actions/secrets/{secret_name}/repositories": {
|
|
2864
2943
|
"get": {
|
|
2865
2944
|
"summary": "List selected repositories for an organization secret",
|
|
@@ -4168,6 +4247,160 @@
|
|
|
4168
4247
|
}
|
|
4169
4248
|
}
|
|
4170
4249
|
},
|
|
4250
|
+
"/repos/{owner}/{repo}/autolinks": {
|
|
4251
|
+
"get": {
|
|
4252
|
+
"summary": "List all autolinks of a repository",
|
|
4253
|
+
"description": "This returns a list of autolinks configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.",
|
|
4254
|
+
"tags": ["repos"],
|
|
4255
|
+
"operationId": "repos/list-autolinks",
|
|
4256
|
+
"externalDocs": {
|
|
4257
|
+
"description": "API method documentation",
|
|
4258
|
+
"url": "https://docs.github.com/github-ae@latest/v3/repos#list-autolinks"
|
|
4259
|
+
},
|
|
4260
|
+
"parameters": [
|
|
4261
|
+
{ "$ref": "#/components/parameters/owner" },
|
|
4262
|
+
{ "$ref": "#/components/parameters/repo" },
|
|
4263
|
+
{ "$ref": "#/components/parameters/page" }
|
|
4264
|
+
],
|
|
4265
|
+
"responses": {
|
|
4266
|
+
"200": {
|
|
4267
|
+
"description": "Response",
|
|
4268
|
+
"content": {
|
|
4269
|
+
"application/json": {
|
|
4270
|
+
"schema": {
|
|
4271
|
+
"type": "array",
|
|
4272
|
+
"items": { "$ref": "#/components/schemas/autolink" }
|
|
4273
|
+
},
|
|
4274
|
+
"examples": {
|
|
4275
|
+
"default": { "$ref": "#/components/examples/autolink-items" }
|
|
4276
|
+
}
|
|
4277
|
+
}
|
|
4278
|
+
}
|
|
4279
|
+
}
|
|
4280
|
+
},
|
|
4281
|
+
"x-github": {
|
|
4282
|
+
"githubCloudOnly": false,
|
|
4283
|
+
"enabledForGitHubApps": true,
|
|
4284
|
+
"category": "repos",
|
|
4285
|
+
"subcategory": "autolinks"
|
|
4286
|
+
},
|
|
4287
|
+
"x-octokit": {
|
|
4288
|
+
"diff": { "api.github.com.json": { "type": "changed" } }
|
|
4289
|
+
}
|
|
4290
|
+
},
|
|
4291
|
+
"post": {
|
|
4292
|
+
"summary": "Create an autolink reference for a repository",
|
|
4293
|
+
"description": "Users with admin access to the repository can create an autolink.",
|
|
4294
|
+
"tags": ["repos"],
|
|
4295
|
+
"operationId": "repos/create-autolink",
|
|
4296
|
+
"externalDocs": {
|
|
4297
|
+
"description": "API method documentation",
|
|
4298
|
+
"url": "https://docs.github.com/github-ae@latest/v3/repos#create-an-autolink"
|
|
4299
|
+
},
|
|
4300
|
+
"parameters": [
|
|
4301
|
+
{ "$ref": "#/components/parameters/owner" },
|
|
4302
|
+
{ "$ref": "#/components/parameters/repo" }
|
|
4303
|
+
],
|
|
4304
|
+
"requestBody": {
|
|
4305
|
+
"required": true,
|
|
4306
|
+
"content": {
|
|
4307
|
+
"application/json": {
|
|
4308
|
+
"schema": {
|
|
4309
|
+
"type": "object",
|
|
4310
|
+
"properties": {
|
|
4311
|
+
"key_prefix": {
|
|
4312
|
+
"type": "string",
|
|
4313
|
+
"description": "The prefix appended by a number will generate a link any time it is found in an issue, pull request, or commit."
|
|
4314
|
+
},
|
|
4315
|
+
"url_template": {
|
|
4316
|
+
"type": "string",
|
|
4317
|
+
"description": "The URL must contain `<num>` for the reference number."
|
|
4318
|
+
}
|
|
4319
|
+
},
|
|
4320
|
+
"required": ["key_prefix", "url_template"]
|
|
4321
|
+
},
|
|
4322
|
+
"examples": {
|
|
4323
|
+
"default": {
|
|
4324
|
+
"value": {
|
|
4325
|
+
"key_prefix": "TICKET-",
|
|
4326
|
+
"url_template": "https://example.com/TICKET?query=<num>"
|
|
4327
|
+
}
|
|
4328
|
+
}
|
|
4329
|
+
}
|
|
4330
|
+
}
|
|
4331
|
+
}
|
|
4332
|
+
},
|
|
4333
|
+
"responses": {
|
|
4334
|
+
"201": {
|
|
4335
|
+
"description": "response",
|
|
4336
|
+
"content": {
|
|
4337
|
+
"application/json": {
|
|
4338
|
+
"schema": { "$ref": "#/components/schemas/autolink" },
|
|
4339
|
+
"examples": {
|
|
4340
|
+
"default": { "$ref": "#/components/examples/autolink" }
|
|
4341
|
+
}
|
|
4342
|
+
}
|
|
4343
|
+
},
|
|
4344
|
+
"headers": {
|
|
4345
|
+
"Location": {
|
|
4346
|
+
"example": "https://api.github.com/repos/octocat/Hello-World/autolinks/1",
|
|
4347
|
+
"schema": { "type": "string" }
|
|
4348
|
+
}
|
|
4349
|
+
}
|
|
4350
|
+
},
|
|
4351
|
+
"422": { "$ref": "#/components/responses/validation_failed" }
|
|
4352
|
+
},
|
|
4353
|
+
"x-github": {
|
|
4354
|
+
"githubCloudOnly": false,
|
|
4355
|
+
"enabledForGitHubApps": true,
|
|
4356
|
+
"category": "repos",
|
|
4357
|
+
"subcategory": "autolinks"
|
|
4358
|
+
},
|
|
4359
|
+
"x-octokit": {
|
|
4360
|
+
"diff": { "api.github.com.json": { "type": "changed" } }
|
|
4361
|
+
}
|
|
4362
|
+
}
|
|
4363
|
+
},
|
|
4364
|
+
"/repos/{owner}/{repo}/autolinks/{autolink_id}": {
|
|
4365
|
+
"get": {
|
|
4366
|
+
"summary": "Get an autolink reference of a repository",
|
|
4367
|
+
"description": "This returns a single autolink reference by ID that was configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.",
|
|
4368
|
+
"tags": ["repos"],
|
|
4369
|
+
"operationId": "repos/get-autolink",
|
|
4370
|
+
"externalDocs": {
|
|
4371
|
+
"description": "API method documentation",
|
|
4372
|
+
"url": "https://docs.github.com/github-ae@latest/v3/repos#get-autolink"
|
|
4373
|
+
},
|
|
4374
|
+
"parameters": [
|
|
4375
|
+
{ "$ref": "#/components/parameters/owner" },
|
|
4376
|
+
{ "$ref": "#/components/parameters/repo" },
|
|
4377
|
+
{ "$ref": "#/components/parameters/autolink-id" }
|
|
4378
|
+
],
|
|
4379
|
+
"responses": {
|
|
4380
|
+
"200": {
|
|
4381
|
+
"description": "Response",
|
|
4382
|
+
"content": {
|
|
4383
|
+
"application/json": {
|
|
4384
|
+
"schema": { "$ref": "#/components/schemas/autolink" },
|
|
4385
|
+
"examples": {
|
|
4386
|
+
"default": { "$ref": "#/components/examples/autolink" }
|
|
4387
|
+
}
|
|
4388
|
+
}
|
|
4389
|
+
}
|
|
4390
|
+
},
|
|
4391
|
+
"404": { "$ref": "#/components/responses/not_found" }
|
|
4392
|
+
},
|
|
4393
|
+
"x-github": {
|
|
4394
|
+
"githubCloudOnly": false,
|
|
4395
|
+
"enabledForGitHubApps": true,
|
|
4396
|
+
"category": "repos",
|
|
4397
|
+
"subcategory": "autolinks"
|
|
4398
|
+
},
|
|
4399
|
+
"x-octokit": {
|
|
4400
|
+
"diff": { "api.github.com.json": { "type": "changed" } }
|
|
4401
|
+
}
|
|
4402
|
+
}
|
|
4403
|
+
},
|
|
4171
4404
|
"/repos/{owner}/{repo}/check-suites": {
|
|
4172
4405
|
"post": {
|
|
4173
4406
|
"summary": "Create a check suite",
|
|
@@ -5010,6 +5243,11 @@
|
|
|
5010
5243
|
"schema": {
|
|
5011
5244
|
"type": "array",
|
|
5012
5245
|
"items": { "$ref": "#/components/schemas/event" }
|
|
5246
|
+
},
|
|
5247
|
+
"examples": {
|
|
5248
|
+
"200-response": {
|
|
5249
|
+
"$ref": "#/components/examples/repo-events-items"
|
|
5250
|
+
}
|
|
5013
5251
|
}
|
|
5014
5252
|
}
|
|
5015
5253
|
}
|
|
@@ -8477,6 +8715,13 @@
|
|
|
8477
8715
|
"required": true,
|
|
8478
8716
|
"schema": { "oneOf": [{ "type": "integer" }, { "type": "string" }] }
|
|
8479
8717
|
},
|
|
8718
|
+
"autolink-id": {
|
|
8719
|
+
"name": "autolink_id",
|
|
8720
|
+
"description": "The unique identifier of the autolink.",
|
|
8721
|
+
"in": "path",
|
|
8722
|
+
"required": true,
|
|
8723
|
+
"schema": { "type": "integer" }
|
|
8724
|
+
},
|
|
8480
8725
|
"check-suite-id": {
|
|
8481
8726
|
"name": "check_suite_id",
|
|
8482
8727
|
"description": "The unique identifier of the check suite.",
|
|
@@ -10054,7 +10299,7 @@
|
|
|
10054
10299
|
"$ref": "#/components/schemas/nullable-integration"
|
|
10055
10300
|
},
|
|
10056
10301
|
"author_association": {
|
|
10057
|
-
"$ref": "#/components/schemas/
|
|
10302
|
+
"$ref": "#/components/schemas/author-association"
|
|
10058
10303
|
},
|
|
10059
10304
|
"reactions": { "$ref": "#/components/schemas/reaction-rollup" }
|
|
10060
10305
|
},
|
|
@@ -10217,6 +10462,13 @@
|
|
|
10217
10462
|
"allows_public_repositories"
|
|
10218
10463
|
]
|
|
10219
10464
|
},
|
|
10465
|
+
"empty-object": {
|
|
10466
|
+
"title": "Empty Object",
|
|
10467
|
+
"description": "An object without any properties.",
|
|
10468
|
+
"type": "object",
|
|
10469
|
+
"properties": {},
|
|
10470
|
+
"additionalProperties": false
|
|
10471
|
+
},
|
|
10220
10472
|
"minimal-repository": {
|
|
10221
10473
|
"title": "Minimal Repository",
|
|
10222
10474
|
"description": "Minimal Repository",
|
|
@@ -11471,7 +11723,7 @@
|
|
|
11471
11723
|
"referenced_workflows": {
|
|
11472
11724
|
"type": "array",
|
|
11473
11725
|
"nullable": true,
|
|
11474
|
-
"items": { "$ref": "#/components/schemas/
|
|
11726
|
+
"items": { "$ref": "#/components/schemas/referenced-workflow" }
|
|
11475
11727
|
},
|
|
11476
11728
|
"event": { "type": "string", "example": "push" },
|
|
11477
11729
|
"status": {
|
|
@@ -11590,6 +11842,25 @@
|
|
|
11590
11842
|
"pull_requests"
|
|
11591
11843
|
]
|
|
11592
11844
|
},
|
|
11845
|
+
"autolink": {
|
|
11846
|
+
"title": "Autolink reference",
|
|
11847
|
+
"description": "An autolink reference.",
|
|
11848
|
+
"type": "object",
|
|
11849
|
+
"properties": {
|
|
11850
|
+
"id": { "type": "integer", "example": 3 },
|
|
11851
|
+
"key_prefix": {
|
|
11852
|
+
"description": "The prefix of a key that is linkified.",
|
|
11853
|
+
"example": "TICKET-",
|
|
11854
|
+
"type": "string"
|
|
11855
|
+
},
|
|
11856
|
+
"url_template": {
|
|
11857
|
+
"description": "A template for the target URL that is generated if a key was found.",
|
|
11858
|
+
"example": "https://example.com/TICKET?query=<num>",
|
|
11859
|
+
"type": "string"
|
|
11860
|
+
}
|
|
11861
|
+
},
|
|
11862
|
+
"required": ["id", "key_prefix", "url_template"]
|
|
11863
|
+
},
|
|
11593
11864
|
"check-suite": {
|
|
11594
11865
|
"title": "CheckSuite",
|
|
11595
11866
|
"description": "A suite of checks performed on the code of a given code change",
|
|
@@ -12202,9 +12473,9 @@
|
|
|
12202
12473
|
]
|
|
12203
12474
|
},
|
|
12204
12475
|
"author_association": {
|
|
12205
|
-
"$ref": "#/components/schemas/
|
|
12476
|
+
"$ref": "#/components/schemas/author-association"
|
|
12206
12477
|
},
|
|
12207
|
-
"auto_merge": { "$ref": "#/components/schemas/
|
|
12478
|
+
"auto_merge": { "$ref": "#/components/schemas/auto-merge" },
|
|
12208
12479
|
"draft": {
|
|
12209
12480
|
"description": "Indicates whether or not the pull request is a draft.",
|
|
12210
12481
|
"example": false,
|
|
@@ -12377,7 +12648,7 @@
|
|
|
12377
12648
|
},
|
|
12378
12649
|
"rename": { "$ref": "#/components/schemas/issue-event-rename" },
|
|
12379
12650
|
"author_association": {
|
|
12380
|
-
"$ref": "#/components/schemas/
|
|
12651
|
+
"$ref": "#/components/schemas/author-association"
|
|
12381
12652
|
},
|
|
12382
12653
|
"lock_reason": { "type": "string", "nullable": true },
|
|
12383
12654
|
"performed_via_github_app": {
|
|
@@ -12725,7 +12996,7 @@
|
|
|
12725
12996
|
"body": { "type": "string" },
|
|
12726
12997
|
"score": { "type": "number" },
|
|
12727
12998
|
"author_association": {
|
|
12728
|
-
"$ref": "#/components/schemas/
|
|
12999
|
+
"$ref": "#/components/schemas/author-association"
|
|
12729
13000
|
},
|
|
12730
13001
|
"draft": { "type": "boolean" },
|
|
12731
13002
|
"repository": { "$ref": "#/components/schemas/repository" },
|
|
@@ -13377,7 +13648,7 @@
|
|
|
13377
13648
|
],
|
|
13378
13649
|
"nullable": true
|
|
13379
13650
|
},
|
|
13380
|
-
"
|
|
13651
|
+
"author-association": {
|
|
13381
13652
|
"title": "author_association",
|
|
13382
13653
|
"type": "string",
|
|
13383
13654
|
"example": "OWNER",
|
|
@@ -14052,7 +14323,7 @@
|
|
|
14052
14323
|
}
|
|
14053
14324
|
}
|
|
14054
14325
|
},
|
|
14055
|
-
"
|
|
14326
|
+
"referenced-workflow": {
|
|
14056
14327
|
"title": "Referenced workflow",
|
|
14057
14328
|
"description": "A workflow referenced/reused by the initial caller workflow",
|
|
14058
14329
|
"type": "object",
|
|
@@ -14615,7 +14886,7 @@
|
|
|
14615
14886
|
"properties": { "href": { "type": "string" } },
|
|
14616
14887
|
"required": ["href"]
|
|
14617
14888
|
},
|
|
14618
|
-
"
|
|
14889
|
+
"auto-merge": {
|
|
14619
14890
|
"title": "Auto merge",
|
|
14620
14891
|
"description": "The status of auto merging a pull request.",
|
|
14621
14892
|
"type": "object",
|
|
@@ -14724,7 +14995,7 @@
|
|
|
14724
14995
|
},
|
|
14725
14996
|
"issue_url": { "type": "string", "format": "uri" },
|
|
14726
14997
|
"author_association": {
|
|
14727
|
-
"$ref": "#/components/schemas/
|
|
14998
|
+
"$ref": "#/components/schemas/author-association"
|
|
14728
14999
|
},
|
|
14729
15000
|
"performed_via_github_app": {
|
|
14730
15001
|
"$ref": "#/components/schemas/nullable-integration"
|
|
@@ -14878,7 +15149,7 @@
|
|
|
14878
15149
|
"$ref": "#/components/schemas/nullable-integration"
|
|
14879
15150
|
},
|
|
14880
15151
|
"author_association": {
|
|
14881
|
-
"$ref": "#/components/schemas/
|
|
15152
|
+
"$ref": "#/components/schemas/author-association"
|
|
14882
15153
|
},
|
|
14883
15154
|
"reactions": { "$ref": "#/components/schemas/reaction-rollup" }
|
|
14884
15155
|
},
|
|
@@ -18861,6 +19132,22 @@
|
|
|
18861
19132
|
}
|
|
18862
19133
|
}
|
|
18863
19134
|
},
|
|
19135
|
+
"autolink-items": {
|
|
19136
|
+
"value": [
|
|
19137
|
+
{
|
|
19138
|
+
"id": 1,
|
|
19139
|
+
"key_prefix": "TICKET-",
|
|
19140
|
+
"url_template": "https://example.com/TICKET?query=<num>"
|
|
19141
|
+
}
|
|
19142
|
+
]
|
|
19143
|
+
},
|
|
19144
|
+
"autolink": {
|
|
19145
|
+
"value": {
|
|
19146
|
+
"id": 1,
|
|
19147
|
+
"key_prefix": "TICKET-",
|
|
19148
|
+
"url_template": "https://example.com/TICKET?query=<num>"
|
|
19149
|
+
}
|
|
19150
|
+
},
|
|
18864
19151
|
"check-suite": {
|
|
18865
19152
|
"value": {
|
|
18866
19153
|
"id": 5,
|
|
@@ -20561,6 +20848,69 @@
|
|
|
20561
20848
|
"url": "https://api.github.com/repos/octocat/Hello-World/6dcb09b5b57875f334f61aebed695e2e4193db5e/status"
|
|
20562
20849
|
}
|
|
20563
20850
|
},
|
|
20851
|
+
"repo-events-items": {
|
|
20852
|
+
"value": [
|
|
20853
|
+
{
|
|
20854
|
+
"id": "22249084964",
|
|
20855
|
+
"type": "PushEvent",
|
|
20856
|
+
"actor": {
|
|
20857
|
+
"id": 583231,
|
|
20858
|
+
"login": "octocat",
|
|
20859
|
+
"display_login": "octocat",
|
|
20860
|
+
"gravatar_id": "",
|
|
20861
|
+
"url": "https://api.github.com/users/octocat",
|
|
20862
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4"
|
|
20863
|
+
},
|
|
20864
|
+
"repo": {
|
|
20865
|
+
"id": 1296269,
|
|
20866
|
+
"name": "octocat/Hello-World",
|
|
20867
|
+
"url": "https://api.github.com/repos/octocat/Hello-World"
|
|
20868
|
+
},
|
|
20869
|
+
"payload": {
|
|
20870
|
+
"push_id": 10115855396,
|
|
20871
|
+
"size": 1,
|
|
20872
|
+
"distinct_size": 1,
|
|
20873
|
+
"ref": "refs/heads/master",
|
|
20874
|
+
"head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300",
|
|
20875
|
+
"before": "883efe034920928c47fe18598c01249d1a9fdabd",
|
|
20876
|
+
"commits": [
|
|
20877
|
+
{
|
|
20878
|
+
"sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300",
|
|
20879
|
+
"author": {
|
|
20880
|
+
"email": "octocat@github.com",
|
|
20881
|
+
"name": "Monalisa Octocat"
|
|
20882
|
+
},
|
|
20883
|
+
"message": "commit",
|
|
20884
|
+
"distinct": true,
|
|
20885
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300"
|
|
20886
|
+
}
|
|
20887
|
+
]
|
|
20888
|
+
},
|
|
20889
|
+
"public": true,
|
|
20890
|
+
"created_at": "2022-06-09T12:47:28Z"
|
|
20891
|
+
},
|
|
20892
|
+
{
|
|
20893
|
+
"id": "22237752260",
|
|
20894
|
+
"type": "WatchEvent",
|
|
20895
|
+
"actor": {
|
|
20896
|
+
"id": 583231,
|
|
20897
|
+
"login": "octocat",
|
|
20898
|
+
"display_login": "octocat",
|
|
20899
|
+
"gravatar_id": "",
|
|
20900
|
+
"url": "https://api.github.com/users/octocat",
|
|
20901
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4"
|
|
20902
|
+
},
|
|
20903
|
+
"repo": {
|
|
20904
|
+
"id": 1296269,
|
|
20905
|
+
"name": "octocat/Hello-World",
|
|
20906
|
+
"url": "https://api.github.com/repos/octocat/Hello-World"
|
|
20907
|
+
},
|
|
20908
|
+
"payload": { "action": "started" },
|
|
20909
|
+
"public": true,
|
|
20910
|
+
"created_at": "2022-06-08T23:29:25Z"
|
|
20911
|
+
}
|
|
20912
|
+
]
|
|
20913
|
+
},
|
|
20564
20914
|
"minimal-repository-items-2": {
|
|
20565
20915
|
"value": [
|
|
20566
20916
|
{
|