@octokit/openapi 6.2.1 → 6.4.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 +7689 -7772
- package/generated/api.github.com.json +1344 -1295
- 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 +50 -3
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +53 -3
- package/generated/ghes-3.2.deref.json +73 -7
- package/generated/ghes-3.2.json +89 -28
- package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +31 -4
- 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 +76 -10
- package/generated/ghes-3.3.json +92 -31
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +1 -1
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +1 -1
- package/generated/ghes-3.4.deref.json +97 -19
- package/generated/ghes-3.4.json +105 -40
- package/generated/ghes-3.5-anicca-diff-to-api.github.com.deref.json +71 -25
- package/generated/ghes-3.5-diff-to-api.github.com.deref.json +328 -574
- package/generated/ghes-3.5-diff-to-api.github.com.json +206 -272
- package/generated/ghes-3.5.deref.json +115 -52
- package/generated/ghes-3.5.json +131 -77
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +97 -4
- package/generated/github.ae-diff-to-api.github.com.deref.json +423 -1
- package/generated/github.ae-diff-to-api.github.com.json +294 -12
- package/generated/github.ae.deref.json +92 -119
- package/generated/github.ae.json +118 -95
- 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.4.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" },
|
|
@@ -5617,6 +5617,160 @@
|
|
|
5617
5617
|
}
|
|
5618
5618
|
}
|
|
5619
5619
|
},
|
|
5620
|
+
"/repos/{owner}/{repo}/autolinks": {
|
|
5621
|
+
"get": {
|
|
5622
|
+
"summary": "List all autolinks of a repository",
|
|
5623
|
+
"description": "This returns a list of autolinks configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.",
|
|
5624
|
+
"tags": ["repos"],
|
|
5625
|
+
"operationId": "repos/list-autolinks",
|
|
5626
|
+
"externalDocs": {
|
|
5627
|
+
"description": "API method documentation",
|
|
5628
|
+
"url": "https://docs.github.com/enterprise-server@3.5/v3/repos#list-autolinks"
|
|
5629
|
+
},
|
|
5630
|
+
"parameters": [
|
|
5631
|
+
{ "$ref": "#/components/parameters/owner" },
|
|
5632
|
+
{ "$ref": "#/components/parameters/repo" },
|
|
5633
|
+
{ "$ref": "#/components/parameters/page" }
|
|
5634
|
+
],
|
|
5635
|
+
"responses": {
|
|
5636
|
+
"200": {
|
|
5637
|
+
"description": "Response",
|
|
5638
|
+
"content": {
|
|
5639
|
+
"application/json": {
|
|
5640
|
+
"schema": {
|
|
5641
|
+
"type": "array",
|
|
5642
|
+
"items": { "$ref": "#/components/schemas/autolink" }
|
|
5643
|
+
},
|
|
5644
|
+
"examples": {
|
|
5645
|
+
"default": { "$ref": "#/components/examples/autolink-items" }
|
|
5646
|
+
}
|
|
5647
|
+
}
|
|
5648
|
+
}
|
|
5649
|
+
}
|
|
5650
|
+
},
|
|
5651
|
+
"x-github": {
|
|
5652
|
+
"githubCloudOnly": false,
|
|
5653
|
+
"enabledForGitHubApps": true,
|
|
5654
|
+
"category": "repos",
|
|
5655
|
+
"subcategory": "autolinks"
|
|
5656
|
+
},
|
|
5657
|
+
"x-octokit": {
|
|
5658
|
+
"diff": { "api.github.com.json": { "type": "changed" } }
|
|
5659
|
+
}
|
|
5660
|
+
},
|
|
5661
|
+
"post": {
|
|
5662
|
+
"summary": "Create an autolink reference for a repository",
|
|
5663
|
+
"description": "Users with admin access to the repository can create an autolink.",
|
|
5664
|
+
"tags": ["repos"],
|
|
5665
|
+
"operationId": "repos/create-autolink",
|
|
5666
|
+
"externalDocs": {
|
|
5667
|
+
"description": "API method documentation",
|
|
5668
|
+
"url": "https://docs.github.com/enterprise-server@3.5/v3/repos#create-an-autolink"
|
|
5669
|
+
},
|
|
5670
|
+
"parameters": [
|
|
5671
|
+
{ "$ref": "#/components/parameters/owner" },
|
|
5672
|
+
{ "$ref": "#/components/parameters/repo" }
|
|
5673
|
+
],
|
|
5674
|
+
"requestBody": {
|
|
5675
|
+
"required": true,
|
|
5676
|
+
"content": {
|
|
5677
|
+
"application/json": {
|
|
5678
|
+
"schema": {
|
|
5679
|
+
"type": "object",
|
|
5680
|
+
"properties": {
|
|
5681
|
+
"key_prefix": {
|
|
5682
|
+
"type": "string",
|
|
5683
|
+
"description": "The prefix appended by a number will generate a link any time it is found in an issue, pull request, or commit."
|
|
5684
|
+
},
|
|
5685
|
+
"url_template": {
|
|
5686
|
+
"type": "string",
|
|
5687
|
+
"description": "The URL must contain `<num>` for the reference number."
|
|
5688
|
+
}
|
|
5689
|
+
},
|
|
5690
|
+
"required": ["key_prefix", "url_template"]
|
|
5691
|
+
},
|
|
5692
|
+
"examples": {
|
|
5693
|
+
"default": {
|
|
5694
|
+
"value": {
|
|
5695
|
+
"key_prefix": "TICKET-",
|
|
5696
|
+
"url_template": "https://example.com/TICKET?query=<num>"
|
|
5697
|
+
}
|
|
5698
|
+
}
|
|
5699
|
+
}
|
|
5700
|
+
}
|
|
5701
|
+
}
|
|
5702
|
+
},
|
|
5703
|
+
"responses": {
|
|
5704
|
+
"201": {
|
|
5705
|
+
"description": "response",
|
|
5706
|
+
"content": {
|
|
5707
|
+
"application/json": {
|
|
5708
|
+
"schema": { "$ref": "#/components/schemas/autolink" },
|
|
5709
|
+
"examples": {
|
|
5710
|
+
"default": { "$ref": "#/components/examples/autolink" }
|
|
5711
|
+
}
|
|
5712
|
+
}
|
|
5713
|
+
},
|
|
5714
|
+
"headers": {
|
|
5715
|
+
"Location": {
|
|
5716
|
+
"example": "https://api.github.com/repos/octocat/Hello-World/autolinks/1",
|
|
5717
|
+
"schema": { "type": "string" }
|
|
5718
|
+
}
|
|
5719
|
+
}
|
|
5720
|
+
},
|
|
5721
|
+
"422": { "$ref": "#/components/responses/validation_failed" }
|
|
5722
|
+
},
|
|
5723
|
+
"x-github": {
|
|
5724
|
+
"githubCloudOnly": false,
|
|
5725
|
+
"enabledForGitHubApps": true,
|
|
5726
|
+
"category": "repos",
|
|
5727
|
+
"subcategory": "autolinks"
|
|
5728
|
+
},
|
|
5729
|
+
"x-octokit": {
|
|
5730
|
+
"diff": { "api.github.com.json": { "type": "changed" } }
|
|
5731
|
+
}
|
|
5732
|
+
}
|
|
5733
|
+
},
|
|
5734
|
+
"/repos/{owner}/{repo}/autolinks/{autolink_id}": {
|
|
5735
|
+
"get": {
|
|
5736
|
+
"summary": "Get an autolink reference of a repository",
|
|
5737
|
+
"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.",
|
|
5738
|
+
"tags": ["repos"],
|
|
5739
|
+
"operationId": "repos/get-autolink",
|
|
5740
|
+
"externalDocs": {
|
|
5741
|
+
"description": "API method documentation",
|
|
5742
|
+
"url": "https://docs.github.com/enterprise-server@3.5/v3/repos#get-autolink"
|
|
5743
|
+
},
|
|
5744
|
+
"parameters": [
|
|
5745
|
+
{ "$ref": "#/components/parameters/owner" },
|
|
5746
|
+
{ "$ref": "#/components/parameters/repo" },
|
|
5747
|
+
{ "$ref": "#/components/parameters/autolink-id" }
|
|
5748
|
+
],
|
|
5749
|
+
"responses": {
|
|
5750
|
+
"200": {
|
|
5751
|
+
"description": "Response",
|
|
5752
|
+
"content": {
|
|
5753
|
+
"application/json": {
|
|
5754
|
+
"schema": { "$ref": "#/components/schemas/autolink" },
|
|
5755
|
+
"examples": {
|
|
5756
|
+
"default": { "$ref": "#/components/examples/autolink" }
|
|
5757
|
+
}
|
|
5758
|
+
}
|
|
5759
|
+
}
|
|
5760
|
+
},
|
|
5761
|
+
"404": { "$ref": "#/components/responses/not_found" }
|
|
5762
|
+
},
|
|
5763
|
+
"x-github": {
|
|
5764
|
+
"githubCloudOnly": false,
|
|
5765
|
+
"enabledForGitHubApps": true,
|
|
5766
|
+
"category": "repos",
|
|
5767
|
+
"subcategory": "autolinks"
|
|
5768
|
+
},
|
|
5769
|
+
"x-octokit": {
|
|
5770
|
+
"diff": { "api.github.com.json": { "type": "changed" } }
|
|
5771
|
+
}
|
|
5772
|
+
}
|
|
5773
|
+
},
|
|
5620
5774
|
"/repos/{owner}/{repo}/check-suites": {
|
|
5621
5775
|
"post": {
|
|
5622
5776
|
"summary": "Create a check suite",
|
|
@@ -5809,83 +5963,6 @@
|
|
|
5809
5963
|
}
|
|
5810
5964
|
}
|
|
5811
5965
|
},
|
|
5812
|
-
"/repos/{owner}/{repo}/code-scanning/alerts": {
|
|
5813
|
-
"get": {
|
|
5814
|
-
"summary": "List code scanning alerts for a repository",
|
|
5815
|
-
"description": "Lists all open code scanning alerts for the default branch (usually `main`\nor `master`). You must use an access token with the `security_events` scope to use\nthis endpoint with private repos, the `public_repo` scope also grants permission to read\nsecurity events on public repos only. GitHub Apps must have the `security_events` read\npermission to use this endpoint.\n\nThe response includes a `most_recent_instance` object.\nThis provides details of the most recent instance of this alert\nfor the default branch or for the specified Git reference\n(if you used `ref` in the request).",
|
|
5816
|
-
"tags": ["code-scanning"],
|
|
5817
|
-
"operationId": "code-scanning/list-alerts-for-repo",
|
|
5818
|
-
"externalDocs": {
|
|
5819
|
-
"description": "API method documentation",
|
|
5820
|
-
"url": "https://docs.github.com/enterprise-server@3.5/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository"
|
|
5821
|
-
},
|
|
5822
|
-
"parameters": [
|
|
5823
|
-
{ "$ref": "#/components/parameters/owner" },
|
|
5824
|
-
{ "$ref": "#/components/parameters/repo" },
|
|
5825
|
-
{ "$ref": "#/components/parameters/tool-name" },
|
|
5826
|
-
{ "$ref": "#/components/parameters/tool-guid" },
|
|
5827
|
-
{ "$ref": "#/components/parameters/page" },
|
|
5828
|
-
{ "$ref": "#/components/parameters/per-page" },
|
|
5829
|
-
{ "$ref": "#/components/parameters/git-ref" },
|
|
5830
|
-
{ "$ref": "#/components/parameters/direction" },
|
|
5831
|
-
{
|
|
5832
|
-
"name": "sort",
|
|
5833
|
-
"description": "The property by which to sort the results.",
|
|
5834
|
-
"in": "query",
|
|
5835
|
-
"required": false,
|
|
5836
|
-
"schema": {
|
|
5837
|
-
"type": "string",
|
|
5838
|
-
"enum": ["created", "updated", "number"],
|
|
5839
|
-
"default": "number"
|
|
5840
|
-
}
|
|
5841
|
-
},
|
|
5842
|
-
{
|
|
5843
|
-
"name": "state",
|
|
5844
|
-
"description": "Set to `open`, `closed, `fixed`, or `dismissed` to list code scanning alerts in a specific state.",
|
|
5845
|
-
"in": "query",
|
|
5846
|
-
"required": false,
|
|
5847
|
-
"schema": {
|
|
5848
|
-
"$ref": "#/components/schemas/code-scanning-alert-state"
|
|
5849
|
-
}
|
|
5850
|
-
}
|
|
5851
|
-
],
|
|
5852
|
-
"responses": {
|
|
5853
|
-
"200": {
|
|
5854
|
-
"description": "Response",
|
|
5855
|
-
"content": {
|
|
5856
|
-
"application/json": {
|
|
5857
|
-
"schema": {
|
|
5858
|
-
"type": "array",
|
|
5859
|
-
"items": {
|
|
5860
|
-
"$ref": "#/components/schemas/code-scanning-alert-items"
|
|
5861
|
-
}
|
|
5862
|
-
},
|
|
5863
|
-
"examples": {
|
|
5864
|
-
"default": {
|
|
5865
|
-
"$ref": "#/components/examples/code-scanning-alert-items"
|
|
5866
|
-
}
|
|
5867
|
-
}
|
|
5868
|
-
}
|
|
5869
|
-
}
|
|
5870
|
-
},
|
|
5871
|
-
"304": { "$ref": "#/components/responses/not_modified" },
|
|
5872
|
-
"403": {
|
|
5873
|
-
"$ref": "#/components/responses/code_scanning_forbidden_read"
|
|
5874
|
-
},
|
|
5875
|
-
"404": { "$ref": "#/components/responses/not_found" },
|
|
5876
|
-
"503": { "$ref": "#/components/responses/service_unavailable" }
|
|
5877
|
-
},
|
|
5878
|
-
"x-github": {
|
|
5879
|
-
"githubCloudOnly": false,
|
|
5880
|
-
"enabledForGitHubApps": true,
|
|
5881
|
-
"category": "code-scanning",
|
|
5882
|
-
"subcategory": null
|
|
5883
|
-
},
|
|
5884
|
-
"x-octokit": {
|
|
5885
|
-
"diff": { "api.github.com.json": { "type": "changed" } }
|
|
5886
|
-
}
|
|
5887
|
-
}
|
|
5888
|
-
},
|
|
5889
5966
|
"/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}": {
|
|
5890
5967
|
"get": {
|
|
5891
5968
|
"summary": "Get a code scanning alert",
|
|
@@ -11183,6 +11260,13 @@
|
|
|
11183
11260
|
"required": true,
|
|
11184
11261
|
"schema": { "oneOf": [{ "type": "integer" }, { "type": "string" }] }
|
|
11185
11262
|
},
|
|
11263
|
+
"autolink-id": {
|
|
11264
|
+
"name": "autolink_id",
|
|
11265
|
+
"description": "The unique identifier of the autolink.",
|
|
11266
|
+
"in": "path",
|
|
11267
|
+
"required": true,
|
|
11268
|
+
"schema": { "type": "integer" }
|
|
11269
|
+
},
|
|
11186
11270
|
"check-suite-id": {
|
|
11187
11271
|
"name": "check_suite_id",
|
|
11188
11272
|
"description": "The unique identifier of the check suite.",
|
|
@@ -11190,13 +11274,6 @@
|
|
|
11190
11274
|
"required": true,
|
|
11191
11275
|
"schema": { "type": "integer" }
|
|
11192
11276
|
},
|
|
11193
|
-
"git-ref": {
|
|
11194
|
-
"name": "ref",
|
|
11195
|
-
"description": "The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/<branch name>` or simply `<branch name>`. To reference a pull request use `refs/pull/<number>/merge`.",
|
|
11196
|
-
"in": "query",
|
|
11197
|
-
"required": false,
|
|
11198
|
-
"schema": { "$ref": "#/components/schemas/code-scanning-ref" }
|
|
11199
|
-
},
|
|
11200
11277
|
"alert-number": {
|
|
11201
11278
|
"name": "alert_number",
|
|
11202
11279
|
"in": "path",
|
|
@@ -13124,7 +13201,7 @@
|
|
|
13124
13201
|
"$ref": "#/components/schemas/nullable-integration"
|
|
13125
13202
|
},
|
|
13126
13203
|
"author_association": {
|
|
13127
|
-
"$ref": "#/components/schemas/
|
|
13204
|
+
"$ref": "#/components/schemas/author-association"
|
|
13128
13205
|
},
|
|
13129
13206
|
"reactions": { "$ref": "#/components/schemas/reaction-rollup" }
|
|
13130
13207
|
},
|
|
@@ -15122,6 +15199,25 @@
|
|
|
15122
15199
|
"pull_requests"
|
|
15123
15200
|
]
|
|
15124
15201
|
},
|
|
15202
|
+
"autolink": {
|
|
15203
|
+
"title": "Autolink reference",
|
|
15204
|
+
"description": "An autolink reference.",
|
|
15205
|
+
"type": "object",
|
|
15206
|
+
"properties": {
|
|
15207
|
+
"id": { "type": "integer", "example": 3 },
|
|
15208
|
+
"key_prefix": {
|
|
15209
|
+
"description": "The prefix of a key that is linkified.",
|
|
15210
|
+
"example": "TICKET-",
|
|
15211
|
+
"type": "string"
|
|
15212
|
+
},
|
|
15213
|
+
"url_template": {
|
|
15214
|
+
"description": "A template for the target URL that is generated if a key was found.",
|
|
15215
|
+
"example": "https://example.com/TICKET?query=<num>",
|
|
15216
|
+
"type": "string"
|
|
15217
|
+
}
|
|
15218
|
+
},
|
|
15219
|
+
"required": ["id", "key_prefix", "url_template"]
|
|
15220
|
+
},
|
|
15125
15221
|
"check-suite": {
|
|
15126
15222
|
"title": "CheckSuite",
|
|
15127
15223
|
"description": "A suite of checks performed on the code of a given code change",
|
|
@@ -15242,55 +15338,6 @@
|
|
|
15242
15338
|
"repository": { "$ref": "#/components/schemas/minimal-repository" }
|
|
15243
15339
|
}
|
|
15244
15340
|
},
|
|
15245
|
-
"code-scanning-alert-items": {
|
|
15246
|
-
"type": "object",
|
|
15247
|
-
"properties": {
|
|
15248
|
-
"number": { "$ref": "#/components/schemas/alert-number" },
|
|
15249
|
-
"created_at": { "$ref": "#/components/schemas/alert-created-at" },
|
|
15250
|
-
"updated_at": { "$ref": "#/components/schemas/alert-updated-at" },
|
|
15251
|
-
"url": { "$ref": "#/components/schemas/alert-url" },
|
|
15252
|
-
"html_url": { "$ref": "#/components/schemas/alert-html-url" },
|
|
15253
|
-
"instances_url": {
|
|
15254
|
-
"$ref": "#/components/schemas/alert-instances-url"
|
|
15255
|
-
},
|
|
15256
|
-
"state": { "$ref": "#/components/schemas/code-scanning-alert-state" },
|
|
15257
|
-
"fixed_at": {
|
|
15258
|
-
"$ref": "#/components/schemas/code-scanning-alert-fixed-at"
|
|
15259
|
-
},
|
|
15260
|
-
"dismissed_by": {
|
|
15261
|
-
"$ref": "#/components/schemas/nullable-simple-user"
|
|
15262
|
-
},
|
|
15263
|
-
"dismissed_at": {
|
|
15264
|
-
"$ref": "#/components/schemas/code-scanning-alert-dismissed-at"
|
|
15265
|
-
},
|
|
15266
|
-
"dismissed_reason": {
|
|
15267
|
-
"$ref": "#/components/schemas/code-scanning-alert-dismissed-reason"
|
|
15268
|
-
},
|
|
15269
|
-
"rule": {
|
|
15270
|
-
"$ref": "#/components/schemas/code-scanning-alert-rule-summary"
|
|
15271
|
-
},
|
|
15272
|
-
"tool": {
|
|
15273
|
-
"$ref": "#/components/schemas/code-scanning-analysis-tool"
|
|
15274
|
-
},
|
|
15275
|
-
"most_recent_instance": {
|
|
15276
|
-
"$ref": "#/components/schemas/code-scanning-alert-instance"
|
|
15277
|
-
}
|
|
15278
|
-
},
|
|
15279
|
-
"required": [
|
|
15280
|
-
"number",
|
|
15281
|
-
"created_at",
|
|
15282
|
-
"url",
|
|
15283
|
-
"html_url",
|
|
15284
|
-
"instances_url",
|
|
15285
|
-
"state",
|
|
15286
|
-
"dismissed_by",
|
|
15287
|
-
"dismissed_at",
|
|
15288
|
-
"dismissed_reason",
|
|
15289
|
-
"rule",
|
|
15290
|
-
"tool",
|
|
15291
|
-
"most_recent_instance"
|
|
15292
|
-
]
|
|
15293
|
-
},
|
|
15294
15341
|
"code-scanning-alert": {
|
|
15295
15342
|
"type": "object",
|
|
15296
15343
|
"properties": {
|
|
@@ -15706,9 +15753,9 @@
|
|
|
15706
15753
|
]
|
|
15707
15754
|
},
|
|
15708
15755
|
"author_association": {
|
|
15709
|
-
"$ref": "#/components/schemas/
|
|
15756
|
+
"$ref": "#/components/schemas/author-association"
|
|
15710
15757
|
},
|
|
15711
|
-
"auto_merge": { "$ref": "#/components/schemas/
|
|
15758
|
+
"auto_merge": { "$ref": "#/components/schemas/auto-merge" },
|
|
15712
15759
|
"draft": {
|
|
15713
15760
|
"description": "Indicates whether or not the pull request is a draft.",
|
|
15714
15761
|
"example": false,
|
|
@@ -15824,7 +15871,7 @@
|
|
|
15824
15871
|
},
|
|
15825
15872
|
"rename": { "$ref": "#/components/schemas/issue-event-rename" },
|
|
15826
15873
|
"author_association": {
|
|
15827
|
-
"$ref": "#/components/schemas/
|
|
15874
|
+
"$ref": "#/components/schemas/author-association"
|
|
15828
15875
|
},
|
|
15829
15876
|
"lock_reason": { "type": "string", "nullable": true },
|
|
15830
15877
|
"performed_via_github_app": {
|
|
@@ -16180,7 +16227,7 @@
|
|
|
16180
16227
|
"body": { "type": "string" },
|
|
16181
16228
|
"score": { "type": "number" },
|
|
16182
16229
|
"author_association": {
|
|
16183
|
-
"$ref": "#/components/schemas/
|
|
16230
|
+
"$ref": "#/components/schemas/author-association"
|
|
16184
16231
|
},
|
|
16185
16232
|
"draft": { "type": "boolean" },
|
|
16186
16233
|
"repository": { "$ref": "#/components/schemas/repository" },
|
|
@@ -17088,7 +17135,7 @@
|
|
|
17088
17135
|
},
|
|
17089
17136
|
"issue_url": { "type": "string", "format": "uri" },
|
|
17090
17137
|
"author_association": {
|
|
17091
|
-
"$ref": "#/components/schemas/
|
|
17138
|
+
"$ref": "#/components/schemas/author-association"
|
|
17092
17139
|
},
|
|
17093
17140
|
"performed_via_github_app": {
|
|
17094
17141
|
"$ref": "#/components/schemas/nullable-integration"
|
|
@@ -17107,7 +17154,7 @@
|
|
|
17107
17154
|
"updated_at"
|
|
17108
17155
|
]
|
|
17109
17156
|
},
|
|
17110
|
-
"
|
|
17157
|
+
"author-association": {
|
|
17111
17158
|
"title": "author_association",
|
|
17112
17159
|
"type": "string",
|
|
17113
17160
|
"example": "OWNER",
|
|
@@ -18358,36 +18405,6 @@
|
|
|
18358
18405
|
"committer"
|
|
18359
18406
|
]
|
|
18360
18407
|
},
|
|
18361
|
-
"code-scanning-alert-rule-summary": {
|
|
18362
|
-
"type": "object",
|
|
18363
|
-
"properties": {
|
|
18364
|
-
"id": {
|
|
18365
|
-
"nullable": true,
|
|
18366
|
-
"type": "string",
|
|
18367
|
-
"description": "A unique identifier for the rule used to detect the alert."
|
|
18368
|
-
},
|
|
18369
|
-
"name": {
|
|
18370
|
-
"type": "string",
|
|
18371
|
-
"description": "The name of the rule used to detect the alert."
|
|
18372
|
-
},
|
|
18373
|
-
"tags": {
|
|
18374
|
-
"nullable": true,
|
|
18375
|
-
"type": "array",
|
|
18376
|
-
"description": "A set of tags applicable for the rule.",
|
|
18377
|
-
"items": { "type": "string" }
|
|
18378
|
-
},
|
|
18379
|
-
"severity": {
|
|
18380
|
-
"nullable": true,
|
|
18381
|
-
"type": "string",
|
|
18382
|
-
"description": "The severity of the alert.",
|
|
18383
|
-
"enum": ["none", "note", "warning", "error"]
|
|
18384
|
-
},
|
|
18385
|
-
"description": {
|
|
18386
|
-
"type": "string",
|
|
18387
|
-
"description": "A short description of the rule used to detect the alert."
|
|
18388
|
-
}
|
|
18389
|
-
}
|
|
18390
|
-
},
|
|
18391
18408
|
"nullable-collaborator": {
|
|
18392
18409
|
"title": "Collaborator",
|
|
18393
18410
|
"description": "Collaborator",
|
|
@@ -18550,7 +18567,7 @@
|
|
|
18550
18567
|
"properties": { "href": { "type": "string" } },
|
|
18551
18568
|
"required": ["href"]
|
|
18552
18569
|
},
|
|
18553
|
-
"
|
|
18570
|
+
"auto-merge": {
|
|
18554
18571
|
"title": "Auto merge",
|
|
18555
18572
|
"description": "The status of auto merging a pull request.",
|
|
18556
18573
|
"type": "object",
|
|
@@ -18742,7 +18759,7 @@
|
|
|
18742
18759
|
"$ref": "#/components/schemas/nullable-integration"
|
|
18743
18760
|
},
|
|
18744
18761
|
"author_association": {
|
|
18745
|
-
"$ref": "#/components/schemas/
|
|
18762
|
+
"$ref": "#/components/schemas/author-association"
|
|
18746
18763
|
},
|
|
18747
18764
|
"reactions": { "$ref": "#/components/schemas/reaction-rollup" }
|
|
18748
18765
|
},
|
|
@@ -23805,6 +23822,22 @@
|
|
|
23805
23822
|
}
|
|
23806
23823
|
}
|
|
23807
23824
|
},
|
|
23825
|
+
"autolink-items": {
|
|
23826
|
+
"value": [
|
|
23827
|
+
{
|
|
23828
|
+
"id": 1,
|
|
23829
|
+
"key_prefix": "TICKET-",
|
|
23830
|
+
"url_template": "https://example.com/TICKET?query=<num>"
|
|
23831
|
+
}
|
|
23832
|
+
]
|
|
23833
|
+
},
|
|
23834
|
+
"autolink": {
|
|
23835
|
+
"value": {
|
|
23836
|
+
"id": 1,
|
|
23837
|
+
"key_prefix": "TICKET-",
|
|
23838
|
+
"url_template": "https://example.com/TICKET?query=<num>"
|
|
23839
|
+
}
|
|
23840
|
+
},
|
|
23808
23841
|
"check-suite": {
|
|
23809
23842
|
"value": {
|
|
23810
23843
|
"id": 5,
|
|
@@ -24300,105 +24333,6 @@
|
|
|
24300
24333
|
}
|
|
24301
24334
|
}
|
|
24302
24335
|
},
|
|
24303
|
-
"code-scanning-alert-items": {
|
|
24304
|
-
"value": [
|
|
24305
|
-
{
|
|
24306
|
-
"number": 4,
|
|
24307
|
-
"created_at": "2020-02-13T12:29:18Z",
|
|
24308
|
-
"url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/4",
|
|
24309
|
-
"html_url": "https://github.com/octocat/hello-world/code-scanning/4",
|
|
24310
|
-
"state": "open",
|
|
24311
|
-
"fixed_at": null,
|
|
24312
|
-
"dismissed_by": null,
|
|
24313
|
-
"dismissed_at": null,
|
|
24314
|
-
"dismissed_reason": null,
|
|
24315
|
-
"rule": {
|
|
24316
|
-
"id": "js/zipslip",
|
|
24317
|
-
"severity": "error",
|
|
24318
|
-
"tags": ["security", "external/cwe/cwe-022"],
|
|
24319
|
-
"description": "Arbitrary file write during zip extraction",
|
|
24320
|
-
"name": "js/zipslip"
|
|
24321
|
-
},
|
|
24322
|
-
"tool": { "name": "CodeQL", "guid": null, "version": "2.4.0" },
|
|
24323
|
-
"most_recent_instance": {
|
|
24324
|
-
"ref": "refs/heads/main",
|
|
24325
|
-
"analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build",
|
|
24326
|
-
"environment": "{}",
|
|
24327
|
-
"state": "open",
|
|
24328
|
-
"commit_sha": "39406e42cb832f683daa691dd652a8dc36ee8930",
|
|
24329
|
-
"message": {
|
|
24330
|
-
"text": "This path depends on a user-provided value."
|
|
24331
|
-
},
|
|
24332
|
-
"location": {
|
|
24333
|
-
"path": "spec-main/api-session-spec.ts",
|
|
24334
|
-
"start_line": 917,
|
|
24335
|
-
"end_line": 917,
|
|
24336
|
-
"start_column": 7,
|
|
24337
|
-
"end_column": 18
|
|
24338
|
-
},
|
|
24339
|
-
"classifications": ["test"]
|
|
24340
|
-
},
|
|
24341
|
-
"instances_url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/4/instances"
|
|
24342
|
-
},
|
|
24343
|
-
{
|
|
24344
|
-
"number": 3,
|
|
24345
|
-
"created_at": "2020-02-13T12:29:18Z",
|
|
24346
|
-
"url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3",
|
|
24347
|
-
"html_url": "https://github.com/octocat/hello-world/code-scanning/3",
|
|
24348
|
-
"state": "dismissed",
|
|
24349
|
-
"fixed_at": null,
|
|
24350
|
-
"dismissed_by": {
|
|
24351
|
-
"login": "octocat",
|
|
24352
|
-
"id": 1,
|
|
24353
|
-
"node_id": "MDQ6VXNlcjE=",
|
|
24354
|
-
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
|
24355
|
-
"gravatar_id": "",
|
|
24356
|
-
"url": "https://api.github.com/users/octocat",
|
|
24357
|
-
"html_url": "https://github.com/octocat",
|
|
24358
|
-
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
24359
|
-
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
24360
|
-
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
24361
|
-
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
24362
|
-
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
24363
|
-
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
24364
|
-
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
24365
|
-
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
24366
|
-
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
24367
|
-
"type": "User",
|
|
24368
|
-
"site_admin": false
|
|
24369
|
-
},
|
|
24370
|
-
"dismissed_at": "2020-02-14T12:29:18Z",
|
|
24371
|
-
"dismissed_reason": "false positive",
|
|
24372
|
-
"rule": {
|
|
24373
|
-
"id": "js/zipslip",
|
|
24374
|
-
"severity": "error",
|
|
24375
|
-
"tags": ["security", "external/cwe/cwe-022"],
|
|
24376
|
-
"description": "Arbitrary file write during zip extraction",
|
|
24377
|
-
"name": "js/zipslip"
|
|
24378
|
-
},
|
|
24379
|
-
"tool": { "name": "CodeQL", "guid": null, "version": "2.4.0" },
|
|
24380
|
-
"most_recent_instance": {
|
|
24381
|
-
"ref": "refs/heads/main",
|
|
24382
|
-
"analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build",
|
|
24383
|
-
"environment": "{}",
|
|
24384
|
-
"state": "open",
|
|
24385
|
-
"commit_sha": "39406e42cb832f683daa691dd652a8dc36ee8930",
|
|
24386
|
-
"message": {
|
|
24387
|
-
"text": "This path depends on a user-provided value."
|
|
24388
|
-
},
|
|
24389
|
-
"location": {
|
|
24390
|
-
"path": "lib/ab12-gen.js",
|
|
24391
|
-
"start_line": 917,
|
|
24392
|
-
"end_line": 917,
|
|
24393
|
-
"start_column": 7,
|
|
24394
|
-
"end_column": 18
|
|
24395
|
-
},
|
|
24396
|
-
"classifications": []
|
|
24397
|
-
},
|
|
24398
|
-
"instances_url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances"
|
|
24399
|
-
}
|
|
24400
|
-
]
|
|
24401
|
-
},
|
|
24402
24336
|
"code-scanning-alert": {
|
|
24403
24337
|
"value": {
|
|
24404
24338
|
"number": 42,
|