|
10026 | 10026 | }
|
10027 | 10027 | ],
|
10028 | 10028 | "summary": "Create a GitHub App from a manifest",
|
10029 |
| - "requestBody": { |
10030 |
| - "required": false, |
10031 |
| - "content": { |
10032 |
| - "application/json": { |
10033 |
| - "schema": { |
10034 |
| - "type": "object", |
10035 |
| - "additionalProperties": false |
10036 |
| - } |
10037 |
| - } |
10038 |
| - } |
10039 |
| - }, |
10040 | 10029 | "x-github": {
|
10041 | 10030 | "enabledForGitHubApps": false,
|
10042 | 10031 | "category": "apps",
|
|
10155 | 10144 | "schema": {
|
10156 | 10145 | "type": "integer"
|
10157 | 10146 | },
|
| 10147 | + "examples": { |
| 10148 | + "default": { |
| 10149 | + "value": 1 |
| 10150 | + } |
| 10151 | + }, |
10158 | 10152 | "descriptionHTML": "<p>installation_id parameter</p>"
|
10159 | 10153 | }
|
10160 | 10154 | ],
|
|
10211 | 10205 | "schema": {
|
10212 | 10206 | "type": "integer"
|
10213 | 10207 | },
|
| 10208 | + "examples": { |
| 10209 | + "default": { |
| 10210 | + "value": 1 |
| 10211 | + } |
| 10212 | + }, |
10214 | 10213 | "descriptionHTML": "<p>installation_id parameter</p>"
|
10215 | 10214 | }
|
10216 | 10215 | ],
|
|
10261 | 10260 | "schema": {
|
10262 | 10261 | "type": "integer"
|
10263 | 10262 | },
|
| 10263 | + "examples": { |
| 10264 | + "default": { |
| 10265 | + "value": 1 |
| 10266 | + } |
| 10267 | + }, |
10264 | 10268 | "descriptionHTML": "<p>installation_id parameter</p>"
|
10265 | 10269 | }
|
10266 | 10270 | ],
|
|
11143 | 11147 | ]
|
11144 | 11148 | }
|
11145 | 11149 | }
|
| 11150 | + }, |
| 11151 | + "examples": { |
| 11152 | + "default": { |
| 11153 | + "value": { |
| 11154 | + "respoitory": "Hello-World", |
| 11155 | + "permissions": { |
| 11156 | + "issues": "write", |
| 11157 | + "contents": "read" |
| 11158 | + } |
| 11159 | + } |
| 11160 | + } |
11146 | 11161 | }
|
11147 | 11162 | }
|
11148 | 11163 | }
|
|
12065 | 12080 | "schema": {
|
12066 | 12081 | "type": "integer"
|
12067 | 12082 | },
|
| 12083 | + "examples": { |
| 12084 | + "default": { |
| 12085 | + "value": 1 |
| 12086 | + } |
| 12087 | + }, |
12068 | 12088 | "descriptionHTML": "<p>installation_id parameter</p>"
|
12069 | 12089 | }
|
12070 | 12090 | ],
|
|
12115 | 12135 | "schema": {
|
12116 | 12136 | "type": "integer"
|
12117 | 12137 | },
|
| 12138 | + "examples": { |
| 12139 | + "default": { |
| 12140 | + "value": 1 |
| 12141 | + } |
| 12142 | + }, |
12118 | 12143 | "descriptionHTML": "<p>installation_id parameter</p>"
|
12119 | 12144 | }
|
12120 | 12145 | ],
|
|
12731 | 12756 | "schema": {
|
12732 | 12757 | "type": "integer"
|
12733 | 12758 | },
|
| 12759 | + "examples": { |
| 12760 | + "default": { |
| 12761 | + "value": 1 |
| 12762 | + } |
| 12763 | + }, |
12734 | 12764 | "descriptionHTML": "<p>installation_id parameter</p>"
|
12735 | 12765 | },
|
12736 | 12766 | {
|
|
12818 | 12848 | "schema": {
|
12819 | 12849 | "type": "integer"
|
12820 | 12850 | },
|
| 12851 | + "examples": { |
| 12852 | + "default": { |
| 12853 | + "value": 1 |
| 12854 | + } |
| 12855 | + }, |
12821 | 12856 | "descriptionHTML": "<p>installation_id parameter</p>"
|
12822 | 12857 | },
|
12823 | 12858 | {
|
|
12887 | 12922 | "schema": {
|
12888 | 12923 | "type": "integer"
|
12889 | 12924 | },
|
| 12925 | + "examples": { |
| 12926 | + "default": { |
| 12927 | + "value": 1 |
| 12928 | + } |
| 12929 | + }, |
12890 | 12930 | "descriptionHTML": "<p>installation_id parameter</p>"
|
12891 | 12931 | },
|
12892 | 12932 | {
|
|
12958 | 12998 | "schema": {
|
12959 | 12999 | "type": "string"
|
12960 | 13000 | },
|
| 13001 | + "examples": { |
| 13002 | + "default": { |
| 13003 | + "value": "Iv1.8a61f9b3a7aba766" |
| 13004 | + } |
| 13005 | + }, |
12961 | 13006 | "descriptionHTML": "<p>The client ID of your GitHub app.</p>"
|
12962 | 13007 | }
|
12963 | 13008 | ],
|
|
13045 | 13090 | "schema": {
|
13046 | 13091 | "type": "string"
|
13047 | 13092 | },
|
| 13093 | + "examples": { |
| 13094 | + "default": { |
| 13095 | + "value": "Iv1.8a61f9b3a7aba766" |
| 13096 | + } |
| 13097 | + }, |
13048 | 13098 | "descriptionHTML": "<p>The client ID of your GitHub app.</p>"
|
13049 | 13099 | },
|
13050 | 13100 | {
|
|
13102 | 13152 | "schema": {
|
13103 | 13153 | "type": "string"
|
13104 | 13154 | },
|
| 13155 | + "examples": { |
| 13156 | + "default": { |
| 13157 | + "value": "Iv1.8a61f9b3a7aba766" |
| 13158 | + } |
| 13159 | + }, |
13105 | 13160 | "descriptionHTML": "<p>The client ID of your GitHub app.</p>"
|
13106 | 13161 | }
|
13107 | 13162 | ],
|
|
13136 | 13191 | "access_token"
|
13137 | 13192 | ],
|
13138 | 13193 | "type": "object"
|
| 13194 | + }, |
| 13195 | + "examples": { |
| 13196 | + "default": { |
| 13197 | + "value": { |
| 13198 | + "access_token": "e72e16c7e42f292c6912e7710c838347ae178b4a" |
| 13199 | + } |
| 13200 | + } |
13139 | 13201 | }
|
13140 | 13202 | }
|
13141 | 13203 | }
|
|
13192 | 13254 | "schema": {
|
13193 | 13255 | "type": "string"
|
13194 | 13256 | },
|
| 13257 | + "examples": { |
| 13258 | + "default": { |
| 13259 | + "value": "Iv1.8a61f9b3a7aba766" |
| 13260 | + } |
| 13261 | + }, |
13195 | 13262 | "descriptionHTML": "<p>The client ID of your GitHub app.</p>"
|
13196 | 13263 | }
|
13197 | 13264 | ],
|
|
13226 | 13293 | "access_token"
|
13227 | 13294 | ],
|
13228 | 13295 | "type": "object"
|
| 13296 | + }, |
| 13297 | + "examples": { |
| 13298 | + "default": { |
| 13299 | + "value": { |
| 13300 | + "access_token": "e72e16c7e42f292c6912e7710c838347ae178b4a" |
| 13301 | + } |
| 13302 | + } |
13229 | 13303 | }
|
13230 | 13304 | }
|
13231 | 13305 | }
|
|
13277 | 13351 | "schema": {
|
13278 | 13352 | "type": "string"
|
13279 | 13353 | },
|
| 13354 | + "examples": { |
| 13355 | + "default": { |
| 13356 | + "value": "Iv1.8a61f9b3a7aba766" |
| 13357 | + } |
| 13358 | + }, |
13280 | 13359 | "descriptionHTML": "<p>The client ID of your GitHub app.</p>"
|
13281 | 13360 | }
|
13282 | 13361 | ],
|
|
13364 | 13443 | "schema": {
|
13365 | 13444 | "type": "string"
|
13366 | 13445 | },
|
| 13446 | + "examples": { |
| 13447 | + "default": { |
| 13448 | + "value": "Iv1.8a61f9b3a7aba766" |
| 13449 | + } |
| 13450 | + }, |
13367 | 13451 | "descriptionHTML": "<p>The client ID of your GitHub app.</p>"
|
13368 | 13452 | }
|
13369 | 13453 | ],
|
|
14279 | 14363 | "required": [
|
14280 | 14364 | "access_token"
|
14281 | 14365 | ]
|
| 14366 | + }, |
| 14367 | + "examples": { |
| 14368 | + "default": { |
| 14369 | + "value": { |
| 14370 | + "access_token": "e72e16c7e42f292c6912e7710c838347ae178b4a", |
| 14371 | + "target": "octocat", |
| 14372 | + "permissions": { |
| 14373 | + "metadata": "read", |
| 14374 | + "issues": "write", |
| 14375 | + "contents": "read" |
| 14376 | + } |
| 14377 | + } |
| 14378 | + } |
14282 | 14379 | }
|
14283 | 14380 | }
|
14284 | 14381 | }
|
|
15226 | 15323 | "schema": {
|
15227 | 15324 | "type": "string"
|
15228 | 15325 | },
|
| 15326 | + "examples": { |
| 15327 | + "default": { |
| 15328 | + "value": "Iv1.8a61f9b3a7aba766" |
| 15329 | + } |
| 15330 | + }, |
15229 | 15331 | "descriptionHTML": "<p>The client ID of your GitHub app.</p>"
|
15230 | 15332 | },
|
15231 | 15333 | {
|
|
15289 | 15391 | "schema": {
|
15290 | 15392 | "type": "string"
|
15291 | 15393 | },
|
| 15394 | + "examples": { |
| 15395 | + "default": { |
| 15396 | + "value": "Iv1.8a61f9b3a7aba766" |
| 15397 | + } |
| 15398 | + }, |
15292 | 15399 | "descriptionHTML": "<p>The client ID of your GitHub app.</p>"
|
15293 | 15400 | },
|
15294 | 15401 | {
|
|
15347 | 15454 | "schema": {
|
15348 | 15455 | "type": "string"
|
15349 | 15456 | },
|
| 15457 | + "examples": { |
| 15458 | + "default": { |
| 15459 | + "value": "Iv1.8a61f9b3a7aba766" |
| 15460 | + } |
| 15461 | + }, |
15350 | 15462 | "descriptionHTML": "<p>The client ID of your GitHub app.</p>"
|
15351 | 15463 | },
|
15352 | 15464 | {
|
@@ -15499,12 +15611,16 @@
|
15499 | 15611 | "description": "<p>Determines whether the SSL certificate of the host for <code>url</code> will be verified when delivering payloads. Supported values include <code>0</code> (verification is performed) and <code>1</code> (verification is not performed). The default is <code>0</code>. <strong>We strongly recommend not setting this to <code>1</code> as you are subject to man-in-the-middle and other attacks.</strong></p>",
|
15500 | 15612 | "childParamsGroups": []
|
15501 | 15613 | }
|
15502 |
| - }, |
15503 |
| - "example": { |
15504 |
| - "content_type": "json", |
15505 |
| - "insecure_ssl": "0", |
15506 |
| - "secret": "********", |
15507 |
| - "url": "https://example.com/webhook" |
| 15614 | + } |
| 15615 | + }, |
| 15616 | + "examples": { |
| 15617 | + "default": { |
| 15618 | + "value": { |
| 15619 | + "content_type": "json", |
| 15620 | + "insecure_ssl": "0", |
| 15621 | + "secret": "********", |
| 15622 | + "url": "https://example.com/webhook" |
| 15623 | + } |
15508 | 15624 | }
|
15509 | 15625 | }
|
15510 | 15626 | }
|
|
32468 | 32584 | "httpStatusCode": "200",
|
32469 | 32585 | "httpStatusMessage": "OK",
|
32470 | 32586 | "description": "<p>Response</p>",
|
32471 |
| - "payload": "{\n \"status\": \"scheduled\",\n \"scheduled_time\": \"Tuesday, January 22 at 15:34 -0800\",\n \"connection_services\": [\n {\n \"name\": \"git operations\",\n \"number\": 0\n },\n {\n \"name\": \"mysql queries\",\n \"number\": 233\n },\n {\n \"name\": \"resque jobs\",\n \"number\": 54\n }\n ]\n}" |
| 32587 | + "payload": "{\n \"status\": \"scheduled\",\n \"scheduled_time\": \"Tuesday, January 22 at 15:34 -0800\",\n \"connection_services\": [\n {\n \"name\": \"git operations\",\n \"number\": 0\n },\n {\n \"name\": \"mysql queries\",\n \"number\": 233\n },\n {\n \"name\": \"aqueduct jobs\",\n \"number\": 34\n },\n {\n \"name\": \"resque jobs\",\n \"number\": 54\n }\n ]\n}" |
32472 | 32588 | }
|
32473 | 32589 | ]
|
32474 | 32590 | },
|
|
32529 | 32645 | "httpStatusCode": "200",
|
32530 | 32646 | "httpStatusMessage": "OK",
|
32531 | 32647 | "description": "<p>Response</p>",
|
32532 |
| - "payload": "{\n \"status\": \"scheduled\",\n \"scheduled_time\": \"Tuesday, January 22 at 15:34 -0800\",\n \"connection_services\": [\n {\n \"name\": \"git operations\",\n \"number\": 0\n },\n {\n \"name\": \"mysql queries\",\n \"number\": 233\n },\n {\n \"name\": \"resque jobs\",\n \"number\": 54\n }\n ]\n}" |
| 32648 | + "payload": "{\n \"status\": \"scheduled\",\n \"scheduled_time\": \"Tuesday, January 22 at 15:34 -0800\",\n \"connection_services\": [\n {\n \"name\": \"git operations\",\n \"number\": 0\n },\n {\n \"name\": \"mysql queries\",\n \"number\": 233\n },\n {\n \"name\": \"aqueduct jobs\",\n \"number\": 34\n },\n {\n \"name\": \"resque jobs\",\n \"number\": 54\n }\n ]\n}" |
32533 | 32649 | }
|
32534 | 32650 | ],
|
32535 | 32651 | "bodyParameters": [
|
|
45902 | 46018 | "schema": {
|
45903 | 46019 | "type": "string"
|
45904 | 46020 | },
|
| 46021 | + "examples": { |
| 46022 | + "default": { |
| 46023 | + "value": "Iv1.8a61f9b3a7aba766" |
| 46024 | + } |
| 46025 | + }, |
45905 | 46026 | "descriptionHTML": "<p>The client ID of your GitHub app.</p>"
|
45906 | 46027 | }
|
45907 | 46028 | ],
|
|
46103 | 46224 | "schema": {
|
46104 | 46225 | "type": "string"
|
46105 | 46226 | },
|
| 46227 | + "examples": { |
| 46228 | + "default": { |
| 46229 | + "value": "Iv1.8a61f9b3a7aba766" |
| 46230 | + } |
| 46231 | + }, |
46106 | 46232 | "descriptionHTML": "<p>The client ID of your GitHub app.</p>"
|
46107 | 46233 | },
|
46108 | 46234 | {
|
|
0 commit comments