@octokit/openapi 7.12.0 → 7.13.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 +767 -33
- package/generated/api.github.com.json +312 -24
- 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 +33 -15
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +23 -14
- package/generated/ghes-3.2.deref.json +48 -30
- package/generated/ghes-3.2.json +33 -24
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +2 -2
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +2 -2
- package/generated/ghes-3.3.deref.json +49 -31
- package/generated/ghes-3.3.json +33 -24
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +8 -8
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +3 -3
- package/generated/ghes-3.4.deref.json +50 -32
- package/generated/ghes-3.4.json +33 -24
- package/generated/ghes-3.5-anicca-diff-to-ghes-3.6.deref.json +11 -0
- package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +19 -19
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +14 -14
- package/generated/ghes-3.5.deref.json +166 -33
- package/generated/ghes-3.5.json +139 -24
- package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +6 -11
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +3 -3
- package/generated/ghes-3.6-diff-to-api.github.com.json +2 -2
- package/generated/ghes-3.6.deref.json +815 -139
- package/generated/ghes-3.6.json +556 -130
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +6 -0
- package/generated/github.ae-diff-to-api.github.com.deref.json +17 -17
- package/generated/github.ae-diff-to-api.github.com.json +14 -14
- package/generated/github.ae.deref.json +102 -31
- package/generated/github.ae.json +77 -24
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.13.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": {
|
|
@@ -20615,7 +20615,7 @@
|
|
|
20615
20615
|
"description": "The REST API URL of the code locations for this alert."
|
|
20616
20616
|
},
|
|
20617
20617
|
"state": {
|
|
20618
|
-
"description": "Sets the state of the secret scanning alert.
|
|
20618
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
20619
20619
|
"type": "string",
|
|
20620
20620
|
"enum": [
|
|
20621
20621
|
"open",
|
|
@@ -37198,7 +37198,7 @@
|
|
|
37198
37198
|
},
|
|
37199
37199
|
{
|
|
37200
37200
|
"name": "state",
|
|
37201
|
-
"description": "Indicates the state of the issues to return.
|
|
37201
|
+
"description": "Indicates the state of the issues to return.",
|
|
37202
37202
|
"in": "query",
|
|
37203
37203
|
"required": false,
|
|
37204
37204
|
"schema": {
|
|
@@ -37222,7 +37222,7 @@
|
|
|
37222
37222
|
},
|
|
37223
37223
|
{
|
|
37224
37224
|
"name": "sort",
|
|
37225
|
-
"description": "What to sort results by.
|
|
37225
|
+
"description": "What to sort results by.",
|
|
37226
37226
|
"in": "query",
|
|
37227
37227
|
"required": false,
|
|
37228
37228
|
"schema": {
|
|
@@ -40530,7 +40530,7 @@
|
|
|
40530
40530
|
"type": "string"
|
|
40531
40531
|
},
|
|
40532
40532
|
"mode": {
|
|
40533
|
-
"description": "The rendering mode.
|
|
40533
|
+
"description": "The rendering mode.",
|
|
40534
40534
|
"enum": [
|
|
40535
40535
|
"markdown",
|
|
40536
40536
|
"gfm"
|
|
@@ -83055,7 +83055,7 @@
|
|
|
83055
83055
|
},
|
|
83056
83056
|
{
|
|
83057
83057
|
"name": "state",
|
|
83058
|
-
"description": "Indicates the state of the issues to return.
|
|
83058
|
+
"description": "Indicates the state of the issues to return.",
|
|
83059
83059
|
"in": "query",
|
|
83060
83060
|
"required": false,
|
|
83061
83061
|
"schema": {
|
|
@@ -83079,7 +83079,7 @@
|
|
|
83079
83079
|
},
|
|
83080
83080
|
{
|
|
83081
83081
|
"name": "sort",
|
|
83082
|
-
"description": "What to sort results by.
|
|
83082
|
+
"description": "What to sort results by.",
|
|
83083
83083
|
"in": "query",
|
|
83084
83084
|
"required": false,
|
|
83085
83085
|
"schema": {
|
|
@@ -103132,7 +103132,7 @@
|
|
|
103132
103132
|
},
|
|
103133
103133
|
{
|
|
103134
103134
|
"name": "state",
|
|
103135
|
-
"description": "Indicates the state of the projects to return.
|
|
103135
|
+
"description": "Indicates the state of the projects to return.",
|
|
103136
103136
|
"in": "query",
|
|
103137
103137
|
"required": false,
|
|
103138
103138
|
"schema": {
|
|
@@ -108089,7 +108089,7 @@
|
|
|
108089
108089
|
"description": "The REST API URL of the code locations for this alert."
|
|
108090
108090
|
},
|
|
108091
108091
|
"state": {
|
|
108092
|
-
"description": "Sets the state of the secret scanning alert.
|
|
108092
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
108093
108093
|
"type": "string",
|
|
108094
108094
|
"enum": [
|
|
108095
108095
|
"open",
|
|
@@ -141953,7 +141953,16 @@
|
|
|
141953
141953
|
"description": "The outcome of the job.",
|
|
141954
141954
|
"example": "success",
|
|
141955
141955
|
"type": "string",
|
|
141956
|
-
"nullable": true
|
|
141956
|
+
"nullable": true,
|
|
141957
|
+
"enum": [
|
|
141958
|
+
"success",
|
|
141959
|
+
"failure",
|
|
141960
|
+
"neutral",
|
|
141961
|
+
"cancelled",
|
|
141962
|
+
"skipped",
|
|
141963
|
+
"timed_out",
|
|
141964
|
+
"action_required"
|
|
141965
|
+
]
|
|
141957
141966
|
},
|
|
141958
141967
|
"started_at": {
|
|
141959
141968
|
"description": "The time that the job started, in ISO 8601 format.",
|
|
@@ -161729,7 +161738,16 @@
|
|
|
161729
161738
|
"description": "The outcome of the job.",
|
|
161730
161739
|
"example": "success",
|
|
161731
161740
|
"type": "string",
|
|
161732
|
-
"nullable": true
|
|
161741
|
+
"nullable": true,
|
|
161742
|
+
"enum": [
|
|
161743
|
+
"success",
|
|
161744
|
+
"failure",
|
|
161745
|
+
"neutral",
|
|
161746
|
+
"cancelled",
|
|
161747
|
+
"skipped",
|
|
161748
|
+
"timed_out",
|
|
161749
|
+
"action_required"
|
|
161750
|
+
]
|
|
161733
161751
|
},
|
|
161734
161752
|
"started_at": {
|
|
161735
161753
|
"description": "The time that the job started, in ISO 8601 format.",
|
|
@@ -162345,7 +162363,16 @@
|
|
|
162345
162363
|
"description": "The outcome of the job.",
|
|
162346
162364
|
"example": "success",
|
|
162347
162365
|
"type": "string",
|
|
162348
|
-
"nullable": true
|
|
162366
|
+
"nullable": true,
|
|
162367
|
+
"enum": [
|
|
162368
|
+
"success",
|
|
162369
|
+
"failure",
|
|
162370
|
+
"neutral",
|
|
162371
|
+
"cancelled",
|
|
162372
|
+
"skipped",
|
|
162373
|
+
"timed_out",
|
|
162374
|
+
"action_required"
|
|
162375
|
+
]
|
|
162349
162376
|
},
|
|
162350
162377
|
"started_at": {
|
|
162351
162378
|
"description": "The time that the job started, in ISO 8601 format.",
|
|
@@ -207653,7 +207680,7 @@
|
|
|
207653
207680
|
}
|
|
207654
207681
|
},
|
|
207655
207682
|
"403": {
|
|
207656
|
-
"description": "Response if the repository is archived or if
|
|
207683
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
207657
207684
|
"content": {
|
|
207658
207685
|
"application/json": {
|
|
207659
207686
|
"schema": {
|
|
@@ -208876,7 +208903,7 @@
|
|
|
208876
208903
|
}
|
|
208877
208904
|
},
|
|
208878
208905
|
"403": {
|
|
208879
|
-
"description": "Response if the repository is archived or if
|
|
208906
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
208880
208907
|
"content": {
|
|
208881
208908
|
"application/json": {
|
|
208882
208909
|
"schema": {
|
|
@@ -208957,6 +208984,713 @@
|
|
|
208957
208984
|
"x-octokit": {}
|
|
208958
208985
|
}
|
|
208959
208986
|
},
|
|
208987
|
+
"/repos/{owner}/{repo}/code-scanning/codeql/databases": {
|
|
208988
|
+
"get": {
|
|
208989
|
+
"summary": "List CodeQL databases for a repository",
|
|
208990
|
+
"description": "Lists the CodeQL databases that are available in a repository.\n\nFor private repositories, you must use an access token with the `security_events` scope.\nFor public repositories, you can use tokens with the `security_events` or `public_repo` scope.\nGitHub Apps must have the `contents` read permission to use this endpoint.",
|
|
208991
|
+
"tags": [
|
|
208992
|
+
"code-scanning"
|
|
208993
|
+
],
|
|
208994
|
+
"operationId": "code-scanning/list-codeql-databases",
|
|
208995
|
+
"externalDocs": {
|
|
208996
|
+
"description": "API method documentation",
|
|
208997
|
+
"url": "https://docs.github.com/rest/reference/code-scanning#list-codeql-databases"
|
|
208998
|
+
},
|
|
208999
|
+
"parameters": [
|
|
209000
|
+
{
|
|
209001
|
+
"name": "owner",
|
|
209002
|
+
"description": "The account owner of the repository. The name is not case sensitive.",
|
|
209003
|
+
"in": "path",
|
|
209004
|
+
"required": true,
|
|
209005
|
+
"schema": {
|
|
209006
|
+
"type": "string"
|
|
209007
|
+
}
|
|
209008
|
+
},
|
|
209009
|
+
{
|
|
209010
|
+
"name": "repo",
|
|
209011
|
+
"description": "The name of the repository. The name is not case sensitive.",
|
|
209012
|
+
"in": "path",
|
|
209013
|
+
"required": true,
|
|
209014
|
+
"schema": {
|
|
209015
|
+
"type": "string"
|
|
209016
|
+
}
|
|
209017
|
+
}
|
|
209018
|
+
],
|
|
209019
|
+
"responses": {
|
|
209020
|
+
"200": {
|
|
209021
|
+
"description": "Response",
|
|
209022
|
+
"content": {
|
|
209023
|
+
"application/json": {
|
|
209024
|
+
"schema": {
|
|
209025
|
+
"type": "array",
|
|
209026
|
+
"items": {
|
|
209027
|
+
"title": "CodeQL Database",
|
|
209028
|
+
"description": "A CodeQL database.",
|
|
209029
|
+
"type": "object",
|
|
209030
|
+
"properties": {
|
|
209031
|
+
"id": {
|
|
209032
|
+
"type": "integer",
|
|
209033
|
+
"description": "The ID of the CodeQL database."
|
|
209034
|
+
},
|
|
209035
|
+
"name": {
|
|
209036
|
+
"type": "string",
|
|
209037
|
+
"description": "The name of the CodeQL database."
|
|
209038
|
+
},
|
|
209039
|
+
"language": {
|
|
209040
|
+
"type": "string",
|
|
209041
|
+
"description": "The language of the CodeQL database."
|
|
209042
|
+
},
|
|
209043
|
+
"uploader": {
|
|
209044
|
+
"title": "Simple User",
|
|
209045
|
+
"description": "Simple User",
|
|
209046
|
+
"type": "object",
|
|
209047
|
+
"properties": {
|
|
209048
|
+
"name": {
|
|
209049
|
+
"nullable": true,
|
|
209050
|
+
"type": "string"
|
|
209051
|
+
},
|
|
209052
|
+
"email": {
|
|
209053
|
+
"nullable": true,
|
|
209054
|
+
"type": "string"
|
|
209055
|
+
},
|
|
209056
|
+
"login": {
|
|
209057
|
+
"type": "string",
|
|
209058
|
+
"example": "octocat"
|
|
209059
|
+
},
|
|
209060
|
+
"id": {
|
|
209061
|
+
"type": "integer",
|
|
209062
|
+
"example": 1
|
|
209063
|
+
},
|
|
209064
|
+
"node_id": {
|
|
209065
|
+
"type": "string",
|
|
209066
|
+
"example": "MDQ6VXNlcjE="
|
|
209067
|
+
},
|
|
209068
|
+
"avatar_url": {
|
|
209069
|
+
"type": "string",
|
|
209070
|
+
"format": "uri",
|
|
209071
|
+
"example": "https://github.com/images/error/octocat_happy.gif"
|
|
209072
|
+
},
|
|
209073
|
+
"gravatar_id": {
|
|
209074
|
+
"type": "string",
|
|
209075
|
+
"example": "41d064eb2195891e12d0413f63227ea7",
|
|
209076
|
+
"nullable": true
|
|
209077
|
+
},
|
|
209078
|
+
"url": {
|
|
209079
|
+
"type": "string",
|
|
209080
|
+
"format": "uri",
|
|
209081
|
+
"example": "https://api.github.com/users/octocat"
|
|
209082
|
+
},
|
|
209083
|
+
"html_url": {
|
|
209084
|
+
"type": "string",
|
|
209085
|
+
"format": "uri",
|
|
209086
|
+
"example": "https://github.com/octocat"
|
|
209087
|
+
},
|
|
209088
|
+
"followers_url": {
|
|
209089
|
+
"type": "string",
|
|
209090
|
+
"format": "uri",
|
|
209091
|
+
"example": "https://api.github.com/users/octocat/followers"
|
|
209092
|
+
},
|
|
209093
|
+
"following_url": {
|
|
209094
|
+
"type": "string",
|
|
209095
|
+
"example": "https://api.github.com/users/octocat/following{/other_user}"
|
|
209096
|
+
},
|
|
209097
|
+
"gists_url": {
|
|
209098
|
+
"type": "string",
|
|
209099
|
+
"example": "https://api.github.com/users/octocat/gists{/gist_id}"
|
|
209100
|
+
},
|
|
209101
|
+
"starred_url": {
|
|
209102
|
+
"type": "string",
|
|
209103
|
+
"example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
|
|
209104
|
+
},
|
|
209105
|
+
"subscriptions_url": {
|
|
209106
|
+
"type": "string",
|
|
209107
|
+
"format": "uri",
|
|
209108
|
+
"example": "https://api.github.com/users/octocat/subscriptions"
|
|
209109
|
+
},
|
|
209110
|
+
"organizations_url": {
|
|
209111
|
+
"type": "string",
|
|
209112
|
+
"format": "uri",
|
|
209113
|
+
"example": "https://api.github.com/users/octocat/orgs"
|
|
209114
|
+
},
|
|
209115
|
+
"repos_url": {
|
|
209116
|
+
"type": "string",
|
|
209117
|
+
"format": "uri",
|
|
209118
|
+
"example": "https://api.github.com/users/octocat/repos"
|
|
209119
|
+
},
|
|
209120
|
+
"events_url": {
|
|
209121
|
+
"type": "string",
|
|
209122
|
+
"example": "https://api.github.com/users/octocat/events{/privacy}"
|
|
209123
|
+
},
|
|
209124
|
+
"received_events_url": {
|
|
209125
|
+
"type": "string",
|
|
209126
|
+
"format": "uri",
|
|
209127
|
+
"example": "https://api.github.com/users/octocat/received_events"
|
|
209128
|
+
},
|
|
209129
|
+
"type": {
|
|
209130
|
+
"type": "string",
|
|
209131
|
+
"example": "User"
|
|
209132
|
+
},
|
|
209133
|
+
"site_admin": {
|
|
209134
|
+
"type": "boolean"
|
|
209135
|
+
},
|
|
209136
|
+
"starred_at": {
|
|
209137
|
+
"type": "string",
|
|
209138
|
+
"example": "\"2020-07-09T00:17:55Z\""
|
|
209139
|
+
}
|
|
209140
|
+
},
|
|
209141
|
+
"required": [
|
|
209142
|
+
"avatar_url",
|
|
209143
|
+
"events_url",
|
|
209144
|
+
"followers_url",
|
|
209145
|
+
"following_url",
|
|
209146
|
+
"gists_url",
|
|
209147
|
+
"gravatar_id",
|
|
209148
|
+
"html_url",
|
|
209149
|
+
"id",
|
|
209150
|
+
"node_id",
|
|
209151
|
+
"login",
|
|
209152
|
+
"organizations_url",
|
|
209153
|
+
"received_events_url",
|
|
209154
|
+
"repos_url",
|
|
209155
|
+
"site_admin",
|
|
209156
|
+
"starred_url",
|
|
209157
|
+
"subscriptions_url",
|
|
209158
|
+
"type",
|
|
209159
|
+
"url"
|
|
209160
|
+
]
|
|
209161
|
+
},
|
|
209162
|
+
"content_type": {
|
|
209163
|
+
"type": "string",
|
|
209164
|
+
"description": "The MIME type of the CodeQL database file."
|
|
209165
|
+
},
|
|
209166
|
+
"size": {
|
|
209167
|
+
"type": "integer",
|
|
209168
|
+
"description": "The size of the CodeQL database file in bytes."
|
|
209169
|
+
},
|
|
209170
|
+
"created_at": {
|
|
209171
|
+
"type": "string",
|
|
209172
|
+
"format": "date-time",
|
|
209173
|
+
"description": "The date and time at which the CodeQL database was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ."
|
|
209174
|
+
},
|
|
209175
|
+
"updated_at": {
|
|
209176
|
+
"type": "string",
|
|
209177
|
+
"format": "date-time",
|
|
209178
|
+
"description": "The date and time at which the CodeQL database was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ."
|
|
209179
|
+
},
|
|
209180
|
+
"url": {
|
|
209181
|
+
"type": "string",
|
|
209182
|
+
"format": "uri",
|
|
209183
|
+
"description": "The URL at which to download the CodeQL database. The `Accept` header must be set to the value of the `content_type` property."
|
|
209184
|
+
}
|
|
209185
|
+
},
|
|
209186
|
+
"required": [
|
|
209187
|
+
"id",
|
|
209188
|
+
"name",
|
|
209189
|
+
"language",
|
|
209190
|
+
"uploader",
|
|
209191
|
+
"content_type",
|
|
209192
|
+
"size",
|
|
209193
|
+
"created_at",
|
|
209194
|
+
"updated_at",
|
|
209195
|
+
"url"
|
|
209196
|
+
]
|
|
209197
|
+
}
|
|
209198
|
+
},
|
|
209199
|
+
"examples": {
|
|
209200
|
+
"default": {
|
|
209201
|
+
"value": [
|
|
209202
|
+
{
|
|
209203
|
+
"id": 1,
|
|
209204
|
+
"name": "database.zip",
|
|
209205
|
+
"language": "java",
|
|
209206
|
+
"uploader": {
|
|
209207
|
+
"login": "octocat",
|
|
209208
|
+
"id": 1,
|
|
209209
|
+
"node_id": "MDQ6VXNlcjE=",
|
|
209210
|
+
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
|
209211
|
+
"gravatar_id": "",
|
|
209212
|
+
"url": "https://api.github.com/users/octocat",
|
|
209213
|
+
"html_url": "https://github.com/octocat",
|
|
209214
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
209215
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
209216
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
209217
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
209218
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
209219
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
209220
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
209221
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
209222
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
209223
|
+
"type": "User",
|
|
209224
|
+
"site_admin": false
|
|
209225
|
+
},
|
|
209226
|
+
"content_type": "application/zip",
|
|
209227
|
+
"size": 1024,
|
|
209228
|
+
"created_at": "2022-09-12T12:14:32Z",
|
|
209229
|
+
"updated_at": "2022-09-12T12:14:32Z",
|
|
209230
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java"
|
|
209231
|
+
},
|
|
209232
|
+
{
|
|
209233
|
+
"id": 2,
|
|
209234
|
+
"name": "database.zip",
|
|
209235
|
+
"language": "ruby",
|
|
209236
|
+
"uploader": {
|
|
209237
|
+
"login": "octocat",
|
|
209238
|
+
"id": 1,
|
|
209239
|
+
"node_id": "MDQ6VXNlcjE=",
|
|
209240
|
+
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
|
209241
|
+
"gravatar_id": "",
|
|
209242
|
+
"url": "https://api.github.com/users/octocat",
|
|
209243
|
+
"html_url": "https://github.com/octocat",
|
|
209244
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
209245
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
209246
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
209247
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
209248
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
209249
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
209250
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
209251
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
209252
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
209253
|
+
"type": "User",
|
|
209254
|
+
"site_admin": false
|
|
209255
|
+
},
|
|
209256
|
+
"content_type": "application/zip",
|
|
209257
|
+
"size": 1024,
|
|
209258
|
+
"created_at": "2022-09-12T12:14:32Z",
|
|
209259
|
+
"updated_at": "2022-09-12T12:14:32Z",
|
|
209260
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby"
|
|
209261
|
+
}
|
|
209262
|
+
]
|
|
209263
|
+
}
|
|
209264
|
+
}
|
|
209265
|
+
}
|
|
209266
|
+
}
|
|
209267
|
+
},
|
|
209268
|
+
"403": {
|
|
209269
|
+
"description": "Response if GitHub Advanced Security is not enabled for this repository",
|
|
209270
|
+
"content": {
|
|
209271
|
+
"application/json": {
|
|
209272
|
+
"schema": {
|
|
209273
|
+
"title": "Basic Error",
|
|
209274
|
+
"description": "Basic Error",
|
|
209275
|
+
"type": "object",
|
|
209276
|
+
"properties": {
|
|
209277
|
+
"message": {
|
|
209278
|
+
"type": "string"
|
|
209279
|
+
},
|
|
209280
|
+
"documentation_url": {
|
|
209281
|
+
"type": "string"
|
|
209282
|
+
},
|
|
209283
|
+
"url": {
|
|
209284
|
+
"type": "string"
|
|
209285
|
+
},
|
|
209286
|
+
"status": {
|
|
209287
|
+
"type": "string"
|
|
209288
|
+
}
|
|
209289
|
+
}
|
|
209290
|
+
}
|
|
209291
|
+
}
|
|
209292
|
+
}
|
|
209293
|
+
},
|
|
209294
|
+
"404": {
|
|
209295
|
+
"description": "Resource not found",
|
|
209296
|
+
"content": {
|
|
209297
|
+
"application/json": {
|
|
209298
|
+
"schema": {
|
|
209299
|
+
"title": "Basic Error",
|
|
209300
|
+
"description": "Basic Error",
|
|
209301
|
+
"type": "object",
|
|
209302
|
+
"properties": {
|
|
209303
|
+
"message": {
|
|
209304
|
+
"type": "string"
|
|
209305
|
+
},
|
|
209306
|
+
"documentation_url": {
|
|
209307
|
+
"type": "string"
|
|
209308
|
+
},
|
|
209309
|
+
"url": {
|
|
209310
|
+
"type": "string"
|
|
209311
|
+
},
|
|
209312
|
+
"status": {
|
|
209313
|
+
"type": "string"
|
|
209314
|
+
}
|
|
209315
|
+
}
|
|
209316
|
+
}
|
|
209317
|
+
}
|
|
209318
|
+
}
|
|
209319
|
+
},
|
|
209320
|
+
"503": {
|
|
209321
|
+
"description": "Service unavailable",
|
|
209322
|
+
"content": {
|
|
209323
|
+
"application/json": {
|
|
209324
|
+
"schema": {
|
|
209325
|
+
"type": "object",
|
|
209326
|
+
"properties": {
|
|
209327
|
+
"code": {
|
|
209328
|
+
"type": "string"
|
|
209329
|
+
},
|
|
209330
|
+
"message": {
|
|
209331
|
+
"type": "string"
|
|
209332
|
+
},
|
|
209333
|
+
"documentation_url": {
|
|
209334
|
+
"type": "string"
|
|
209335
|
+
}
|
|
209336
|
+
}
|
|
209337
|
+
}
|
|
209338
|
+
}
|
|
209339
|
+
}
|
|
209340
|
+
}
|
|
209341
|
+
},
|
|
209342
|
+
"x-github": {
|
|
209343
|
+
"githubCloudOnly": true,
|
|
209344
|
+
"enabledForGitHubApps": true,
|
|
209345
|
+
"previews": [],
|
|
209346
|
+
"category": "code-scanning",
|
|
209347
|
+
"subcategory": null
|
|
209348
|
+
},
|
|
209349
|
+
"x-octokit": {}
|
|
209350
|
+
}
|
|
209351
|
+
},
|
|
209352
|
+
"/repos/{owner}/{repo}/code-scanning/codeql/databases/{language}": {
|
|
209353
|
+
"get": {
|
|
209354
|
+
"summary": "Get a CodeQL database for a repository",
|
|
209355
|
+
"description": "Gets a CodeQL database for a language in a repository.\n\nBy default this endpoint returns JSON metadata about the CodeQL database. To\ndownload the CodeQL database binary content, set the `Accept` header of the request\nto [`application/zip`](https://docs.github.com/rest/overview/media-types), and make sure\nyour HTTP client is configured to follow redirects or use the `Location` header\nto make a second request to get the redirect URL.\n\nFor private repositories, you must use an access token with the `security_events` scope.\nFor public repositories, you can use tokens with the `security_events` or `public_repo` scope.\nGitHub Apps must have the `contents` read permission to use this endpoint.",
|
|
209356
|
+
"tags": [
|
|
209357
|
+
"code-scanning"
|
|
209358
|
+
],
|
|
209359
|
+
"operationId": "code-scanning/get-codeql-database",
|
|
209360
|
+
"externalDocs": {
|
|
209361
|
+
"description": "API method documentation",
|
|
209362
|
+
"url": "https://docs.github.com/rest/reference/code-scanning#get-codeql-database"
|
|
209363
|
+
},
|
|
209364
|
+
"parameters": [
|
|
209365
|
+
{
|
|
209366
|
+
"name": "owner",
|
|
209367
|
+
"description": "The account owner of the repository. The name is not case sensitive.",
|
|
209368
|
+
"in": "path",
|
|
209369
|
+
"required": true,
|
|
209370
|
+
"schema": {
|
|
209371
|
+
"type": "string"
|
|
209372
|
+
}
|
|
209373
|
+
},
|
|
209374
|
+
{
|
|
209375
|
+
"name": "repo",
|
|
209376
|
+
"description": "The name of the repository. The name is not case sensitive.",
|
|
209377
|
+
"in": "path",
|
|
209378
|
+
"required": true,
|
|
209379
|
+
"schema": {
|
|
209380
|
+
"type": "string"
|
|
209381
|
+
}
|
|
209382
|
+
},
|
|
209383
|
+
{
|
|
209384
|
+
"name": "language",
|
|
209385
|
+
"in": "path",
|
|
209386
|
+
"description": "The language of the CodeQL database.",
|
|
209387
|
+
"schema": {
|
|
209388
|
+
"type": "string"
|
|
209389
|
+
},
|
|
209390
|
+
"required": true
|
|
209391
|
+
}
|
|
209392
|
+
],
|
|
209393
|
+
"responses": {
|
|
209394
|
+
"200": {
|
|
209395
|
+
"description": "Response",
|
|
209396
|
+
"content": {
|
|
209397
|
+
"application/json": {
|
|
209398
|
+
"schema": {
|
|
209399
|
+
"title": "CodeQL Database",
|
|
209400
|
+
"description": "A CodeQL database.",
|
|
209401
|
+
"type": "object",
|
|
209402
|
+
"properties": {
|
|
209403
|
+
"id": {
|
|
209404
|
+
"type": "integer",
|
|
209405
|
+
"description": "The ID of the CodeQL database."
|
|
209406
|
+
},
|
|
209407
|
+
"name": {
|
|
209408
|
+
"type": "string",
|
|
209409
|
+
"description": "The name of the CodeQL database."
|
|
209410
|
+
},
|
|
209411
|
+
"language": {
|
|
209412
|
+
"type": "string",
|
|
209413
|
+
"description": "The language of the CodeQL database."
|
|
209414
|
+
},
|
|
209415
|
+
"uploader": {
|
|
209416
|
+
"title": "Simple User",
|
|
209417
|
+
"description": "Simple User",
|
|
209418
|
+
"type": "object",
|
|
209419
|
+
"properties": {
|
|
209420
|
+
"name": {
|
|
209421
|
+
"nullable": true,
|
|
209422
|
+
"type": "string"
|
|
209423
|
+
},
|
|
209424
|
+
"email": {
|
|
209425
|
+
"nullable": true,
|
|
209426
|
+
"type": "string"
|
|
209427
|
+
},
|
|
209428
|
+
"login": {
|
|
209429
|
+
"type": "string",
|
|
209430
|
+
"example": "octocat"
|
|
209431
|
+
},
|
|
209432
|
+
"id": {
|
|
209433
|
+
"type": "integer",
|
|
209434
|
+
"example": 1
|
|
209435
|
+
},
|
|
209436
|
+
"node_id": {
|
|
209437
|
+
"type": "string",
|
|
209438
|
+
"example": "MDQ6VXNlcjE="
|
|
209439
|
+
},
|
|
209440
|
+
"avatar_url": {
|
|
209441
|
+
"type": "string",
|
|
209442
|
+
"format": "uri",
|
|
209443
|
+
"example": "https://github.com/images/error/octocat_happy.gif"
|
|
209444
|
+
},
|
|
209445
|
+
"gravatar_id": {
|
|
209446
|
+
"type": "string",
|
|
209447
|
+
"example": "41d064eb2195891e12d0413f63227ea7",
|
|
209448
|
+
"nullable": true
|
|
209449
|
+
},
|
|
209450
|
+
"url": {
|
|
209451
|
+
"type": "string",
|
|
209452
|
+
"format": "uri",
|
|
209453
|
+
"example": "https://api.github.com/users/octocat"
|
|
209454
|
+
},
|
|
209455
|
+
"html_url": {
|
|
209456
|
+
"type": "string",
|
|
209457
|
+
"format": "uri",
|
|
209458
|
+
"example": "https://github.com/octocat"
|
|
209459
|
+
},
|
|
209460
|
+
"followers_url": {
|
|
209461
|
+
"type": "string",
|
|
209462
|
+
"format": "uri",
|
|
209463
|
+
"example": "https://api.github.com/users/octocat/followers"
|
|
209464
|
+
},
|
|
209465
|
+
"following_url": {
|
|
209466
|
+
"type": "string",
|
|
209467
|
+
"example": "https://api.github.com/users/octocat/following{/other_user}"
|
|
209468
|
+
},
|
|
209469
|
+
"gists_url": {
|
|
209470
|
+
"type": "string",
|
|
209471
|
+
"example": "https://api.github.com/users/octocat/gists{/gist_id}"
|
|
209472
|
+
},
|
|
209473
|
+
"starred_url": {
|
|
209474
|
+
"type": "string",
|
|
209475
|
+
"example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
|
|
209476
|
+
},
|
|
209477
|
+
"subscriptions_url": {
|
|
209478
|
+
"type": "string",
|
|
209479
|
+
"format": "uri",
|
|
209480
|
+
"example": "https://api.github.com/users/octocat/subscriptions"
|
|
209481
|
+
},
|
|
209482
|
+
"organizations_url": {
|
|
209483
|
+
"type": "string",
|
|
209484
|
+
"format": "uri",
|
|
209485
|
+
"example": "https://api.github.com/users/octocat/orgs"
|
|
209486
|
+
},
|
|
209487
|
+
"repos_url": {
|
|
209488
|
+
"type": "string",
|
|
209489
|
+
"format": "uri",
|
|
209490
|
+
"example": "https://api.github.com/users/octocat/repos"
|
|
209491
|
+
},
|
|
209492
|
+
"events_url": {
|
|
209493
|
+
"type": "string",
|
|
209494
|
+
"example": "https://api.github.com/users/octocat/events{/privacy}"
|
|
209495
|
+
},
|
|
209496
|
+
"received_events_url": {
|
|
209497
|
+
"type": "string",
|
|
209498
|
+
"format": "uri",
|
|
209499
|
+
"example": "https://api.github.com/users/octocat/received_events"
|
|
209500
|
+
},
|
|
209501
|
+
"type": {
|
|
209502
|
+
"type": "string",
|
|
209503
|
+
"example": "User"
|
|
209504
|
+
},
|
|
209505
|
+
"site_admin": {
|
|
209506
|
+
"type": "boolean"
|
|
209507
|
+
},
|
|
209508
|
+
"starred_at": {
|
|
209509
|
+
"type": "string",
|
|
209510
|
+
"example": "\"2020-07-09T00:17:55Z\""
|
|
209511
|
+
}
|
|
209512
|
+
},
|
|
209513
|
+
"required": [
|
|
209514
|
+
"avatar_url",
|
|
209515
|
+
"events_url",
|
|
209516
|
+
"followers_url",
|
|
209517
|
+
"following_url",
|
|
209518
|
+
"gists_url",
|
|
209519
|
+
"gravatar_id",
|
|
209520
|
+
"html_url",
|
|
209521
|
+
"id",
|
|
209522
|
+
"node_id",
|
|
209523
|
+
"login",
|
|
209524
|
+
"organizations_url",
|
|
209525
|
+
"received_events_url",
|
|
209526
|
+
"repos_url",
|
|
209527
|
+
"site_admin",
|
|
209528
|
+
"starred_url",
|
|
209529
|
+
"subscriptions_url",
|
|
209530
|
+
"type",
|
|
209531
|
+
"url"
|
|
209532
|
+
]
|
|
209533
|
+
},
|
|
209534
|
+
"content_type": {
|
|
209535
|
+
"type": "string",
|
|
209536
|
+
"description": "The MIME type of the CodeQL database file."
|
|
209537
|
+
},
|
|
209538
|
+
"size": {
|
|
209539
|
+
"type": "integer",
|
|
209540
|
+
"description": "The size of the CodeQL database file in bytes."
|
|
209541
|
+
},
|
|
209542
|
+
"created_at": {
|
|
209543
|
+
"type": "string",
|
|
209544
|
+
"format": "date-time",
|
|
209545
|
+
"description": "The date and time at which the CodeQL database was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ."
|
|
209546
|
+
},
|
|
209547
|
+
"updated_at": {
|
|
209548
|
+
"type": "string",
|
|
209549
|
+
"format": "date-time",
|
|
209550
|
+
"description": "The date and time at which the CodeQL database was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ."
|
|
209551
|
+
},
|
|
209552
|
+
"url": {
|
|
209553
|
+
"type": "string",
|
|
209554
|
+
"format": "uri",
|
|
209555
|
+
"description": "The URL at which to download the CodeQL database. The `Accept` header must be set to the value of the `content_type` property."
|
|
209556
|
+
}
|
|
209557
|
+
},
|
|
209558
|
+
"required": [
|
|
209559
|
+
"id",
|
|
209560
|
+
"name",
|
|
209561
|
+
"language",
|
|
209562
|
+
"uploader",
|
|
209563
|
+
"content_type",
|
|
209564
|
+
"size",
|
|
209565
|
+
"created_at",
|
|
209566
|
+
"updated_at",
|
|
209567
|
+
"url"
|
|
209568
|
+
]
|
|
209569
|
+
},
|
|
209570
|
+
"examples": {
|
|
209571
|
+
"default": {
|
|
209572
|
+
"value": {
|
|
209573
|
+
"id": 1,
|
|
209574
|
+
"name": "database.zip",
|
|
209575
|
+
"language": "java",
|
|
209576
|
+
"uploader": {
|
|
209577
|
+
"login": "octocat",
|
|
209578
|
+
"id": 1,
|
|
209579
|
+
"node_id": "MDQ6VXNlcjE=",
|
|
209580
|
+
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
|
209581
|
+
"gravatar_id": "",
|
|
209582
|
+
"url": "https://api.github.com/users/octocat",
|
|
209583
|
+
"html_url": "https://github.com/octocat",
|
|
209584
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
209585
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
209586
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
209587
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
209588
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
209589
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
209590
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
209591
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
209592
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
209593
|
+
"type": "User",
|
|
209594
|
+
"site_admin": false
|
|
209595
|
+
},
|
|
209596
|
+
"content_type": "application/zip",
|
|
209597
|
+
"size": 1024,
|
|
209598
|
+
"created_at": "2022-09-12T12:14:32Z",
|
|
209599
|
+
"updated_at": "2022-09-12T12:14:32Z",
|
|
209600
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java"
|
|
209601
|
+
}
|
|
209602
|
+
}
|
|
209603
|
+
}
|
|
209604
|
+
}
|
|
209605
|
+
}
|
|
209606
|
+
},
|
|
209607
|
+
"302": {
|
|
209608
|
+
"description": "Found"
|
|
209609
|
+
},
|
|
209610
|
+
"403": {
|
|
209611
|
+
"description": "Response if GitHub Advanced Security is not enabled for this repository",
|
|
209612
|
+
"content": {
|
|
209613
|
+
"application/json": {
|
|
209614
|
+
"schema": {
|
|
209615
|
+
"title": "Basic Error",
|
|
209616
|
+
"description": "Basic Error",
|
|
209617
|
+
"type": "object",
|
|
209618
|
+
"properties": {
|
|
209619
|
+
"message": {
|
|
209620
|
+
"type": "string"
|
|
209621
|
+
},
|
|
209622
|
+
"documentation_url": {
|
|
209623
|
+
"type": "string"
|
|
209624
|
+
},
|
|
209625
|
+
"url": {
|
|
209626
|
+
"type": "string"
|
|
209627
|
+
},
|
|
209628
|
+
"status": {
|
|
209629
|
+
"type": "string"
|
|
209630
|
+
}
|
|
209631
|
+
}
|
|
209632
|
+
}
|
|
209633
|
+
}
|
|
209634
|
+
}
|
|
209635
|
+
},
|
|
209636
|
+
"404": {
|
|
209637
|
+
"description": "Resource not found",
|
|
209638
|
+
"content": {
|
|
209639
|
+
"application/json": {
|
|
209640
|
+
"schema": {
|
|
209641
|
+
"title": "Basic Error",
|
|
209642
|
+
"description": "Basic Error",
|
|
209643
|
+
"type": "object",
|
|
209644
|
+
"properties": {
|
|
209645
|
+
"message": {
|
|
209646
|
+
"type": "string"
|
|
209647
|
+
},
|
|
209648
|
+
"documentation_url": {
|
|
209649
|
+
"type": "string"
|
|
209650
|
+
},
|
|
209651
|
+
"url": {
|
|
209652
|
+
"type": "string"
|
|
209653
|
+
},
|
|
209654
|
+
"status": {
|
|
209655
|
+
"type": "string"
|
|
209656
|
+
}
|
|
209657
|
+
}
|
|
209658
|
+
}
|
|
209659
|
+
}
|
|
209660
|
+
}
|
|
209661
|
+
},
|
|
209662
|
+
"503": {
|
|
209663
|
+
"description": "Service unavailable",
|
|
209664
|
+
"content": {
|
|
209665
|
+
"application/json": {
|
|
209666
|
+
"schema": {
|
|
209667
|
+
"type": "object",
|
|
209668
|
+
"properties": {
|
|
209669
|
+
"code": {
|
|
209670
|
+
"type": "string"
|
|
209671
|
+
},
|
|
209672
|
+
"message": {
|
|
209673
|
+
"type": "string"
|
|
209674
|
+
},
|
|
209675
|
+
"documentation_url": {
|
|
209676
|
+
"type": "string"
|
|
209677
|
+
}
|
|
209678
|
+
}
|
|
209679
|
+
}
|
|
209680
|
+
}
|
|
209681
|
+
}
|
|
209682
|
+
}
|
|
209683
|
+
},
|
|
209684
|
+
"x-github": {
|
|
209685
|
+
"githubCloudOnly": true,
|
|
209686
|
+
"enabledForGitHubApps": true,
|
|
209687
|
+
"previews": [],
|
|
209688
|
+
"category": "code-scanning",
|
|
209689
|
+
"subcategory": null
|
|
209690
|
+
},
|
|
209691
|
+
"x-octokit": {}
|
|
209692
|
+
}
|
|
209693
|
+
},
|
|
208960
209694
|
"/repos/{owner}/{repo}/code-scanning/sarifs": {
|
|
208961
209695
|
"post": {
|
|
208962
209696
|
"summary": "Upload an analysis as SARIF data",
|
|
@@ -209082,7 +209816,7 @@
|
|
|
209082
209816
|
"description": "Bad Request if the sarif field is invalid"
|
|
209083
209817
|
},
|
|
209084
209818
|
"403": {
|
|
209085
|
-
"description": "Response if the repository is archived or if
|
|
209819
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
209086
209820
|
"content": {
|
|
209087
209821
|
"application/json": {
|
|
209088
209822
|
"schema": {
|
|
@@ -240489,7 +241223,7 @@
|
|
|
240489
241223
|
},
|
|
240490
241224
|
"put": {
|
|
240491
241225
|
"summary": "Create or update file contents",
|
|
240492
|
-
"description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.",
|
|
241226
|
+
"description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.\n\n**Note:** If you use this endpoint and the \"[Delete a file](https://docs.github.com/rest/reference/repos/#delete-file)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.",
|
|
240493
241227
|
"tags": [
|
|
240494
241228
|
"repos"
|
|
240495
241229
|
],
|
|
@@ -241194,7 +241928,7 @@
|
|
|
241194
241928
|
},
|
|
241195
241929
|
"delete": {
|
|
241196
241930
|
"summary": "Delete a file",
|
|
241197
|
-
"description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.",
|
|
241931
|
+
"description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\n**Note:** If you use this endpoint and the \"[Create or update file contents](https://docs.github.com/rest/reference/repos/#create-or-update-file-contents)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.",
|
|
241198
241932
|
"tags": [
|
|
241199
241933
|
"repos"
|
|
241200
241934
|
],
|
|
@@ -252913,7 +253647,7 @@
|
|
|
252913
253647
|
},
|
|
252914
253648
|
{
|
|
252915
253649
|
"name": "sort",
|
|
252916
|
-
"description": "The sort order.
|
|
253650
|
+
"description": "The sort order. `stargazers` will sort by star count.",
|
|
252917
253651
|
"in": "query",
|
|
252918
253652
|
"required": false,
|
|
252919
253653
|
"schema": {
|
|
@@ -273789,7 +274523,7 @@
|
|
|
273789
274523
|
},
|
|
273790
274524
|
{
|
|
273791
274525
|
"name": "state",
|
|
273792
|
-
"description": "Indicates the state of the issues to return.
|
|
274526
|
+
"description": "Indicates the state of the issues to return.",
|
|
273793
274527
|
"in": "query",
|
|
273794
274528
|
"required": false,
|
|
273795
274529
|
"schema": {
|
|
@@ -273840,7 +274574,7 @@
|
|
|
273840
274574
|
},
|
|
273841
274575
|
{
|
|
273842
274576
|
"name": "sort",
|
|
273843
|
-
"description": "What to sort results by.
|
|
274577
|
+
"description": "What to sort results by.",
|
|
273844
274578
|
"in": "query",
|
|
273845
274579
|
"required": false,
|
|
273846
274580
|
"schema": {
|
|
@@ -334491,7 +335225,7 @@
|
|
|
334491
335225
|
},
|
|
334492
335226
|
{
|
|
334493
335227
|
"name": "state",
|
|
334494
|
-
"description": "Indicates the state of the projects to return.
|
|
335228
|
+
"description": "Indicates the state of the projects to return.",
|
|
334495
335229
|
"in": "query",
|
|
334496
335230
|
"required": false,
|
|
334497
335231
|
"schema": {
|
|
@@ -335471,7 +336205,7 @@
|
|
|
335471
336205
|
},
|
|
335472
336206
|
{
|
|
335473
336207
|
"name": "sort",
|
|
335474
|
-
"description": "What to sort results by.
|
|
336208
|
+
"description": "What to sort results by. `popularity` will sort by the number of comments. `long-running` will sort by date created and will limit the results to pull requests that have been open for more than a month and have had activity within the past month.",
|
|
335475
336209
|
"in": "query",
|
|
335476
336210
|
"required": false,
|
|
335477
336211
|
"schema": {
|
|
@@ -335487,7 +336221,7 @@
|
|
|
335487
336221
|
},
|
|
335488
336222
|
{
|
|
335489
336223
|
"name": "direction",
|
|
335490
|
-
"description": "The direction of the sort.
|
|
336224
|
+
"description": "The direction of the sort. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`.",
|
|
335491
336225
|
"in": "query",
|
|
335492
336226
|
"required": false,
|
|
335493
336227
|
"schema": {
|
|
@@ -343637,7 +344371,7 @@
|
|
|
343637
344371
|
},
|
|
343638
344372
|
{
|
|
343639
344373
|
"name": "direction",
|
|
343640
|
-
"description": "
|
|
344374
|
+
"description": "The direction to sort results. Ignored without `sort` parameter.",
|
|
343641
344375
|
"in": "query",
|
|
343642
344376
|
"required": false,
|
|
343643
344377
|
"schema": {
|
|
@@ -358171,7 +358905,7 @@
|
|
|
358171
358905
|
},
|
|
358172
358906
|
{
|
|
358173
358907
|
"name": "direction",
|
|
358174
|
-
"description": "
|
|
358908
|
+
"description": "The direction to sort results. Ignored without `sort` parameter.",
|
|
358175
358909
|
"in": "query",
|
|
358176
358910
|
"required": false,
|
|
358177
358911
|
"schema": {
|
|
@@ -381938,7 +382672,7 @@
|
|
|
381938
382672
|
"description": "The REST API URL of the code locations for this alert."
|
|
381939
382673
|
},
|
|
381940
382674
|
"state": {
|
|
381941
|
-
"description": "Sets the state of the secret scanning alert.
|
|
382675
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
381942
382676
|
"type": "string",
|
|
381943
382677
|
"enum": [
|
|
381944
382678
|
"open",
|
|
@@ -382430,7 +383164,7 @@
|
|
|
382430
383164
|
"description": "The REST API URL of the code locations for this alert."
|
|
382431
383165
|
},
|
|
382432
383166
|
"state": {
|
|
382433
|
-
"description": "Sets the state of the secret scanning alert.
|
|
383167
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
382434
383168
|
"type": "string",
|
|
382435
383169
|
"enum": [
|
|
382436
383170
|
"open",
|
|
@@ -382830,7 +383564,7 @@
|
|
|
382830
383564
|
"type": "object",
|
|
382831
383565
|
"properties": {
|
|
382832
383566
|
"state": {
|
|
382833
|
-
"description": "Sets the state of the secret scanning alert.
|
|
383567
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
382834
383568
|
"type": "string",
|
|
382835
383569
|
"enum": [
|
|
382836
383570
|
"open",
|
|
@@ -382908,7 +383642,7 @@
|
|
|
382908
383642
|
"description": "The REST API URL of the code locations for this alert."
|
|
382909
383643
|
},
|
|
382910
383644
|
"state": {
|
|
382911
|
-
"description": "Sets the state of the secret scanning alert.
|
|
383645
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
382912
383646
|
"type": "string",
|
|
382913
383647
|
"enum": [
|
|
382914
383648
|
"open",
|
|
@@ -452370,7 +453104,7 @@
|
|
|
452370
453104
|
},
|
|
452371
453105
|
{
|
|
452372
453106
|
"name": "state",
|
|
452373
|
-
"description": "Indicates the state of the issues to return.
|
|
453107
|
+
"description": "Indicates the state of the issues to return.",
|
|
452374
453108
|
"in": "query",
|
|
452375
453109
|
"required": false,
|
|
452376
453110
|
"schema": {
|
|
@@ -452394,7 +453128,7 @@
|
|
|
452394
453128
|
},
|
|
452395
453129
|
{
|
|
452396
453130
|
"name": "sort",
|
|
452397
|
-
"description": "What to sort results by.
|
|
453131
|
+
"description": "What to sort results by.",
|
|
452398
453132
|
"in": "query",
|
|
452399
453133
|
"required": false,
|
|
452400
453134
|
"schema": {
|
|
@@ -456621,7 +457355,7 @@
|
|
|
456621
457355
|
"parameters": [
|
|
456622
457356
|
{
|
|
456623
457357
|
"name": "state",
|
|
456624
|
-
"description": "Indicates the state of the memberships to return.
|
|
457358
|
+
"description": "Indicates the state of the memberships to return. If not specified, the API returns both active and pending memberships.",
|
|
456625
457359
|
"in": "query",
|
|
456626
457360
|
"required": false,
|
|
456627
457361
|
"schema": {
|
|
@@ -502380,7 +503114,7 @@
|
|
|
502380
503114
|
},
|
|
502381
503115
|
{
|
|
502382
503116
|
"name": "state",
|
|
502383
|
-
"description": "Indicates the state of the projects to return.
|
|
503117
|
+
"description": "Indicates the state of the projects to return.",
|
|
502384
503118
|
"in": "query",
|
|
502385
503119
|
"required": false,
|
|
502386
503120
|
"schema": {
|