|
11282 | 11282 | "description": "Response",
|
11283 | 11283 | "examples": [
|
11284 | 11284 | {
|
11285 |
| - "data": "{\"ref\":\"refs/heads/main\",\"commit_sha\":\"c18c69115654ff0166991962832dc2bd7756e655\",\"analysis_key\":\".github/workflows/codeql-analysis.yml:analyze\",\"environment\":\"{\\\"language\\\":\\\"javascript\\\"}\",\"error\":\"\",\"created_at\":\"2021-01-13T11:55:49Z\",\"results_count\":3,\"rules_count\":67,\"id\":3602840,\"url\":\"https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/201\",\"sarif_id\":\"47177e22-5596-11eb-80a1-c1e54ef945c6\",\"tool\":{\"name\":\"CodeQL\",\"guid\":null,\"version\":\"2.4.0\"},\"deletable\":true,\"warning\":\"\"}" |
| 11285 | + "data": "{\"ref\":\"refs/heads/main\",\"commit_sha\":\"c18c69115654ff0166991962832dc2bd7756e655\",\"analysis_key\":\".github/workflows/codeql-analysis.yml:analyze\",\"environment\":\"{\\\"language\\\":\\\"javascript\\\"}\",\"error\":\"\",\"category\":\".github/workflows/codeql-analysis.yml:analyze/language:javascript\",\"created_at\":\"2021-01-13T11:55:49Z\",\"results_count\":3,\"rules_count\":67,\"id\":3602840,\"url\":\"https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/201\",\"sarif_id\":\"47177e22-5596-11eb-80a1-c1e54ef945c6\",\"tool\":{\"name\":\"CodeQL\",\"guid\":null,\"version\":\"2.4.0\"},\"deletable\":true,\"warning\":\"\"}" |
11286 | 11286 | }
|
11287 | 11287 | ]
|
11288 | 11288 | },
|
|
11747 | 11747 | "description": "Response",
|
11748 | 11748 | "examples": [
|
11749 | 11749 | {
|
11750 |
| - "data": "[{\"ref\":\"refs/heads/main\",\"commit_sha\":\"d99612c3e1f2970085cfbaeadf8f010ef69bad83\",\"analysis_key\":\".github/workflows/codeql-analysis.yml:analyze\",\"environment\":\"{\\\"language\\\":\\\"python\\\"}\",\"error\":\"\",\"created_at\":\"2020-08-27T15:05:21Z\",\"results_count\":17,\"rules_count\":49,\"id\":201,\"url\":\"https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/201\",\"sarif_id\":\"6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53\",\"tool\":{\"name\":\"CodeQL\",\"guid\":null,\"version\":\"2.4.0\"},\"deletable\":true,\"warning\":\"\"},{\"ref\":\"refs/heads/my-branch\",\"commit_sha\":\"c8cff6510d4d084fb1b4aa13b64b97ca12b07321\",\"analysis_key\":\".github/workflows/shiftleft.yml:build\",\"environment\":\"{}\",\"error\":\"\",\"created_at\":\"2020-08-31T22:46:44Z\",\"results_count\":17,\"rules_count\":32,\"id\":200,\"url\":\"https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/200\",\"sarif_id\":\"8981cd8e-b078-4ac3-a3be-1dad7dbd0b582\",\"tool\":{\"name\":\"Python Security Analysis\",\"guid\":null,\"version\":\"1.2.0\"},\"deletable\":true,\"warning\":\"\"}]" |
| 11750 | + "data": "[{\"ref\":\"refs/heads/main\",\"commit_sha\":\"d99612c3e1f2970085cfbaeadf8f010ef69bad83\",\"analysis_key\":\".github/workflows/codeql-analysis.yml:analyze\",\"environment\":\"{\\\"language\\\":\\\"python\\\"}\",\"error\":\"\",\"category\":\".github/workflows/codeql-analysis.yml:analyze/language:python\",\"created_at\":\"2020-08-27T15:05:21Z\",\"results_count\":17,\"rules_count\":49,\"id\":201,\"url\":\"https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/201\",\"sarif_id\":\"6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53\",\"tool\":{\"name\":\"CodeQL\",\"guid\":null,\"version\":\"2.4.0\"},\"deletable\":true,\"warning\":\"\"},{\"ref\":\"refs/heads/my-branch\",\"commit_sha\":\"c8cff6510d4d084fb1b4aa13b64b97ca12b07321\",\"analysis_key\":\".github/workflows/shiftleft.yml:build\",\"environment\":\"{}\",\"error\":\"\",\"category\":\".github/workflows/shiftleft.yml:build/\",\"created_at\":\"2020-08-31T22:46:44Z\",\"results_count\":17,\"rules_count\":32,\"id\":200,\"url\":\"https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/200\",\"sarif_id\":\"8981cd8e-b078-4ac3-a3be-1dad7dbd0b582\",\"tool\":{\"name\":\"Python Security Analysis\",\"guid\":null,\"version\":\"1.2.0\"},\"deletable\":true,\"warning\":\"\"}]" |
11751 | 11751 | }
|
11752 | 11752 | ]
|
11753 | 11753 | },
|
|
39478 | 39478 | ],
|
39479 | 39479 | "renamed": null
|
39480 | 39480 | },
|
| 39481 | + { |
| 39482 | + "name": "Get a DNS health check for GitHub Pages", |
| 39483 | + "scope": "repos", |
| 39484 | + "id": "getPagesHealthCheck", |
| 39485 | + "method": "GET", |
| 39486 | + "url": "/repos/{owner}/{repo}/pages/health", |
| 39487 | + "isDeprecated": false, |
| 39488 | + "deprecationDate": null, |
| 39489 | + "description": "Gets a health check of the DNS settings for the `CNAME` record configured for a repository's GitHub Pages.\n\nThe first request to this endpoint returns a `202 Accepted` status and starts an asynchronous background task to get the results for the domain. After the background task completes, subsequent requests to this endpoint return a `200 OK` status with the health check results in the response.\n\nUsers must have admin or owner permissions. GitHub Apps must have the `pages:write` and `administration:write` permission to use this endpoint.", |
| 39490 | + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-dns-health-check-for-github-pages", |
| 39491 | + "previews": [], |
| 39492 | + "headers": [], |
| 39493 | + "parameters": [ |
| 39494 | + { |
| 39495 | + "name": "owner", |
| 39496 | + "description": "", |
| 39497 | + "in": "PATH", |
| 39498 | + "type": "string", |
| 39499 | + "required": true, |
| 39500 | + "enum": null, |
| 39501 | + "allowNull": false, |
| 39502 | + "mapToData": null, |
| 39503 | + "validation": null, |
| 39504 | + "alias": null, |
| 39505 | + "deprecated": null |
| 39506 | + }, |
| 39507 | + { |
| 39508 | + "name": "repo", |
| 39509 | + "description": "", |
| 39510 | + "in": "PATH", |
| 39511 | + "type": "string", |
| 39512 | + "required": true, |
| 39513 | + "enum": null, |
| 39514 | + "allowNull": false, |
| 39515 | + "mapToData": null, |
| 39516 | + "validation": null, |
| 39517 | + "alias": null, |
| 39518 | + "deprecated": null |
| 39519 | + } |
| 39520 | + ], |
| 39521 | + "responses": [ |
| 39522 | + { |
| 39523 | + "code": 200, |
| 39524 | + "description": "Response", |
| 39525 | + "examples": [ |
| 39526 | + { |
| 39527 | + "data": "{\"domain\":{\"host\":\"example.com\",\"uri\":\"http://example.com/\",\"nameservers\":\"default\",\"dns_resolves\":true,\"is_proxied\":false,\"is_cloudflare_ip\":false,\"is_fastly_ip\":false,\"is_old_ip_address\":false,\"is_a_record\":true,\"has_cname_record\":false,\"has_mx_records_present\":false,\"is_valid_domain\":true,\"is_apex_domain\":true,\"should_be_a_record\":true,\"is_cname_to_github_user_domain\":false,\"is_cname_to_pages_dot_github_dot_com\":false,\"is_cname_to_fastly\":false,\"is_pointed_to_github_pages_ip\":true,\"is_non_github_pages_ip_present\":false,\"is_pages_domain\":false,\"is_served_by_pages\":true,\"is_valid\":true,\"reason\":null,\"responds_to_https\":true,\"enforces_https\":true,\"https_error\":null,\"is_https_eligible\":true,\"caa_error\":null},\"alt_domain\":{\"host\":\"www.example.com\",\"uri\":\"http://www.example.com/\",\"nameservers\":\"default\",\"dns_resolves\":true,\"is_proxied\":false,\"is_cloudflare_ip\":false,\"is_fastly_ip\":false,\"is_old_ip_address\":false,\"is_a_record\":true,\"has_cname_record\":false,\"has_mx_records_present\":false,\"is_valid_domain\":true,\"is_apex_domain\":true,\"should_be_a_record\":true,\"is_cname_to_github_user_domain\":false,\"is_cname_to_pages_dot_github_dot_com\":false,\"is_cname_to_fastly\":false,\"is_pointed_to_github_pages_ip\":true,\"is_non_github_pages_ip_present\":false,\"is_pages_domain\":false,\"is_served_by_pages\":true,\"is_valid\":true,\"reason\":null,\"responds_to_https\":true,\"enforces_https\":true,\"https_error\":null,\"is_https_eligible\":true,\"caa_error\":null}}" |
| 39528 | + } |
| 39529 | + ] |
| 39530 | + }, |
| 39531 | + { "code": 202, "description": "Empty response", "examples": null }, |
| 39532 | + { |
| 39533 | + "code": 400, |
| 39534 | + "description": "Custom domains are not available for GitHub Pages", |
| 39535 | + "examples": null |
| 39536 | + }, |
| 39537 | + { "code": 404, "description": "Resource not found", "examples": null }, |
| 39538 | + { |
| 39539 | + "code": 422, |
| 39540 | + "description": "There isn't a CNAME for this page", |
| 39541 | + "examples": null |
| 39542 | + } |
| 39543 | + ], |
| 39544 | + "renamed": null |
| 39545 | + }, |
39481 | 39546 | {
|
39482 | 39547 | "name": "Get the weekly commit count",
|
39483 | 39548 | "scope": "repos",
|
|
0 commit comments