|
5203 | 5203 | "properties": { |
5204 | 5204 | "access_token": { |
5205 | 5205 | "type": "string", |
5206 | | - "description": "<p>The OAuth access token used to authenticate to the GitHub API.</p>", |
| 5206 | + "description": "<p><strong>Required</strong>. The OAuth access token used to authenticate to the GitHub API.</p>", |
5207 | 5207 | "name": "access_token", |
5208 | 5208 | "in": "body", |
5209 | 5209 | "rawType": "string", |
5210 | 5210 | "rawDescription": "The OAuth access token used to authenticate to the GitHub API.", |
5211 | 5211 | "childParamsGroups": [] |
5212 | 5212 | } |
5213 | | - } |
| 5213 | + }, |
| 5214 | + "required": [ |
| 5215 | + "access_token" |
| 5216 | + ] |
5214 | 5217 | }, |
5215 | 5218 | "example": { |
5216 | 5219 | "access_token": "e72e16c7e42f292c6912e7710c838347ae178b4a" |
|
5247 | 5250 | "bodyParameters": [ |
5248 | 5251 | { |
5249 | 5252 | "type": "string", |
5250 | | - "description": "<p>The OAuth access token used to authenticate to the GitHub API.</p>", |
| 5253 | + "description": "<p><strong>Required</strong>. The OAuth access token used to authenticate to the GitHub API.</p>", |
5251 | 5254 | "name": "access_token", |
5252 | 5255 | "in": "body", |
5253 | 5256 | "rawType": "string", |
|
14225 | 14228 | "encrypted_value": { |
14226 | 14229 | "type": "string", |
14227 | 14230 | "description": "<p>Value for your secret, encrypted with <a href=\"https://libsodium.gitbook.io/doc/bindings_for_other_languages\">LibSodium</a> using the public key retrieved from the <a href=\"https://docs.github.com/github-ae@latest/rest/reference/actions#get-an-organization-public-key\">Get an organization public key</a> endpoint.</p>", |
| 14231 | + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$", |
14228 | 14232 | "name": "encrypted_value", |
14229 | 14233 | "in": "body", |
14230 | 14234 | "rawType": "string", |
|
14269 | 14273 | } |
14270 | 14274 | }, |
14271 | 14275 | "example": { |
14272 | | - "encrypted_value": "****************************************************************************************", |
| 14276 | + "encrypted_value": "c2VjcmV0", |
14273 | 14277 | "key_id": "012345678912345678", |
14274 | 14278 | "visibility": "selected", |
14275 | 14279 | "selected_repository_ids": [ |
|
14310 | 14314 | { |
14311 | 14315 | "type": "string", |
14312 | 14316 | "description": "<p>Value for your secret, encrypted with <a href=\"https://libsodium.gitbook.io/doc/bindings_for_other_languages\">LibSodium</a> using the public key retrieved from the <a href=\"https://docs.github.com/github-ae@latest/rest/reference/actions#get-an-organization-public-key\">Get an organization public key</a> endpoint.</p>", |
| 14317 | + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$", |
14313 | 14318 | "name": "encrypted_value", |
14314 | 14319 | "in": "body", |
14315 | 14320 | "rawType": "string", |
|
28035 | 28040 | "encrypted_value": { |
28036 | 28041 | "type": "string", |
28037 | 28042 | "description": "<p>Value for your secret, encrypted with <a href=\"https://libsodium.gitbook.io/doc/bindings_for_other_languages\">LibSodium</a> using the public key retrieved from the <a href=\"https://docs.github.com/github-ae@latest/rest/reference/actions#get-a-repository-public-key\">Get a repository public key</a> endpoint.</p>", |
| 28043 | + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$", |
28038 | 28044 | "name": "encrypted_value", |
28039 | 28045 | "in": "body", |
28040 | 28046 | "rawType": "string", |
|
28053 | 28059 | } |
28054 | 28060 | }, |
28055 | 28061 | "example": { |
28056 | | - "encrypted_value": "****************************************************************************************", |
| 28062 | + "encrypted_value": "c2VjcmV0", |
28057 | 28063 | "key_id": "012345678912345678" |
28058 | 28064 | } |
28059 | 28065 | } |
|
28089 | 28095 | { |
28090 | 28096 | "type": "string", |
28091 | 28097 | "description": "<p>Value for your secret, encrypted with <a href=\"https://libsodium.gitbook.io/doc/bindings_for_other_languages\">LibSodium</a> using the public key retrieved from the <a href=\"https://docs.github.com/github-ae@latest/rest/reference/actions#get-a-repository-public-key\">Get a repository public key</a> endpoint.</p>", |
| 28098 | + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$", |
28092 | 28099 | "name": "encrypted_value", |
28093 | 28100 | "in": "body", |
28094 | 28101 | "rawType": "string", |
|
45161 | 45168 | "application/json": { |
45162 | 45169 | "schema": { |
45163 | 45170 | "type": "object", |
| 45171 | + "nullable": true, |
45164 | 45172 | "properties": { |
45165 | 45173 | "wait_timer": { |
45166 | 45174 | "type": "integer", |
|
45173 | 45181 | "childParamsGroups": [] |
45174 | 45182 | }, |
45175 | 45183 | "reviewers": { |
45176 | | - "type": "array of objects", |
| 45184 | + "type": "array of objects or null", |
| 45185 | + "nullable": true, |
45177 | 45186 | "description": "<p>The people or teams that may review jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.</p>", |
45178 | 45187 | "items": { |
45179 | 45188 | "type": "object", |
|
45302 | 45311 | } |
45303 | 45312 | ] |
45304 | 45313 | } |
45305 | | - } |
| 45314 | + }, |
| 45315 | + "additionalProperties": false |
45306 | 45316 | } |
45307 | 45317 | } |
45308 | 45318 | } |
|
45346 | 45356 | "childParamsGroups": [] |
45347 | 45357 | }, |
45348 | 45358 | { |
45349 | | - "type": "array of objects", |
| 45359 | + "type": "array of objects or null", |
| 45360 | + "nullable": true, |
45350 | 45361 | "description": "<p>The people or teams that may review jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.</p>", |
45351 | 45362 | "items": { |
45352 | 45363 | "type": "object", |
|
65981 | 65992 | "encrypted_value": { |
65982 | 65993 | "type": "string", |
65983 | 65994 | "description": "<p>Value for your secret, encrypted with <a href=\"https://libsodium.gitbook.io/doc/bindings_for_other_languages\">LibSodium</a> using the public key retrieved from the <a href=\"https://docs.github.com/github-ae@latest/rest/reference/actions#get-an-environment-public-key\">Get an environment public key</a> endpoint.</p>", |
| 65995 | + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$", |
65984 | 65996 | "name": "encrypted_value", |
65985 | 65997 | "in": "body", |
65986 | 65998 | "rawType": "string", |
|
65999 | 66011 | } |
66000 | 66012 | }, |
66001 | 66013 | "example": { |
66002 | | - "encrypted_value": "****************************************************************************************", |
| 66014 | + "encrypted_value": "c2VjcmV0", |
66003 | 66015 | "key_id": "012345678912345678" |
66004 | 66016 | } |
66005 | 66017 | } |
|
66035 | 66047 | { |
66036 | 66048 | "type": "string", |
66037 | 66049 | "description": "<p>Value for your secret, encrypted with <a href=\"https://libsodium.gitbook.io/doc/bindings_for_other_languages\">LibSodium</a> using the public key retrieved from the <a href=\"https://docs.github.com/github-ae@latest/rest/reference/actions#get-an-environment-public-key\">Get an environment public key</a> endpoint.</p>", |
| 66050 | + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$", |
66038 | 66051 | "name": "encrypted_value", |
66039 | 66052 | "in": "body", |
66040 | 66053 | "rawType": "string", |
|
0 commit comments