{"meta":{"title":"メタデータ用 REST API エンドポイント","intro":"REST API を使用して、GitHub サービスの IP アドレスなど、GitHubに関するメタ情報を取得します。","product":"REST API","breadcrumbs":[{"href":"/ja/enterprise-cloud@latest/rest","title":"REST API"},{"href":"/ja/enterprise-cloud@latest/rest/meta","title":"Meta"},{"href":"/ja/enterprise-cloud@latest/rest/meta/meta","title":"Meta"}],"documentType":"article"},"body":"# メタデータ用 REST API エンドポイント\n\nREST API を使用して、GitHub サービスの IP アドレスなど、GitHubに関するメタ情報を取得します。\n\n> [!NOTE]\n> Most endpoints use `Authorization: Bearer <YOUR-TOKEN>` and `Accept: application/vnd.github+json` headers, plus `X-GitHub-Api-Version: 2026-03-10`. Curl examples below omit these standard headers for brevity.\n\n## GitHub API Root\n\n```\nGET /\n```\n\nGet Hypermedia links to resources accessible in GitHub's REST API\n\n### HTTP response status codes\n\n- **200** - OK\n\n### Code examples\n\n#### Example\n\n**Request:**\n\n```curl\ncurl -L \\\n  -X GET \\\n  https://api.github.com/\n```\n\n**Response schema (Status: 200):**\n\n* `current_user_url`: required, string, format: uri-template\n* `current_user_authorizations_html_url`: required, string, format: uri-template\n* `code_search_url`: required, string, format: uri-template\n* `commit_search_url`: required, string, format: uri-template\n* `emails_url`: required, string, format: uri-template\n* `emojis_url`: required, string, format: uri-template\n* `events_url`: required, string, format: uri-template\n* `feeds_url`: required, string, format: uri-template\n* `followers_url`: required, string, format: uri-template\n* `following_url`: required, string, format: uri-template\n* `gists_url`: required, string, format: uri-template\n* `issue_search_url`: required, string, format: uri-template\n* `issues_url`: required, string, format: uri-template\n* `keys_url`: required, string, format: uri-template\n* `label_search_url`: required, string, format: uri-template\n* `notifications_url`: required, string, format: uri-template\n* `organization_url`: required, string, format: uri-template\n* `organization_repositories_url`: required, string, format: uri-template\n* `organization_teams_url`: required, string, format: uri-template\n* `public_gists_url`: required, string, format: uri-template\n* `rate_limit_url`: required, string, format: uri-template\n* `repository_url`: required, string, format: uri-template\n* `repository_search_url`: required, string, format: uri-template\n* `current_user_repositories_url`: required, string, format: uri-template\n* `starred_url`: required, string, format: uri-template\n* `starred_gists_url`: required, string, format: uri-template\n* `topic_search_url`: string, format: uri-template\n* `user_url`: required, string, format: uri-template\n* `user_organizations_url`: required, string, format: uri-template\n* `user_repositories_url`: required, string, format: uri-template\n* `user_search_url`: required, string, format: uri-template\n\n## Get GitHub Enterprise Cloud meta information\n\n```\nGET /meta\n```\n\nReturns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see \"About GitHub's IP addresses.\"\nThe API's response also includes a list of GitHub's domain names, and the public keys used by GitHub to sign commits made through the web UI.\nThe values shown in the documentation's response are example values. You must always query the API directly to get the latest values.\nNote\n\nThis endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported.\n\n### HTTP response status codes\n\n- **200** - OK\n\n- **304** - Not modified\n\n### Code examples\n\n#### Example\n\n**Request:**\n\n```curl\ncurl -L \\\n  -X GET \\\n  https://api.github.com/meta\n```\n\n**Response schema (Status: 200):**\n\n* `verifiable_password_authentication`: required, boolean\n* `ssh_key_fingerprints`: object:\n  * `SHA256_RSA`: string\n  * `SHA256_DSA`: string\n  * `SHA256_ECDSA`: string\n  * `SHA256_ED25519`: string\n* `ssh_keys`: array of string\n* `hooks`: array of string\n* `github_enterprise_importer`: array of string\n* `web`: array of string\n* `api`: array of string\n* `git`: array of string\n* `packages`: array of string\n* `pages`: array of string\n* `importer`: array of string\n* `actions`: array of string\n* `actions_macos`: array of string\n* `codespaces`: array of string\n* `dependabot`: array of string\n* `copilot`: array of string\n* `commit_signing_keys`: array of string\n* `domains`: object:\n  * `website`: array of string\n  * `codespaces`: array of string\n  * `copilot`: array of string\n  * `packages`: array of string\n  * `storage`: array of string\n  * `actions`: array of string\n  * `actions_inbound`: object:\n    * `full_domains`: array of string\n    * `wildcard_domains`: array of string\n  * `artifact_attestations`: object:\n    * `trust_domain`: string\n    * `services`: array of string\n\n## Get Octocat\n\n```\nGET /octocat\n```\n\nGet the octocat as ASCII art\n\n### Parameters\n\n#### Headers\n\n- **`accept`** (string)\n  Setting to `application/vnd.github+json` is recommended.\n\n#### Path and query parameters\n\n- **`s`** (string)\n  The words to show in Octocat's speech bubble\n\n### HTTP response status codes\n\n- **200** - OK\n\n### Code examples\n\n#### Example\n\n**Request:**\n\n```curl\ncurl -L \\\n  -X GET \\\n  https://api.github.com/octocat\n```\n\n**Response schema (Status: 200):**\n\nstring\n\n## Get all API versions\n\n```\nGET /versions\n```\n\nGet all supported GitHub Enterprise Cloud API versions.\n\n### HTTP response status codes\n\n- **200** - OK\n\n- **404** - Resource not found\n\n### Code examples\n\n#### Example\n\n**Request:**\n\n```curl\ncurl -L \\\n  -X GET \\\n  https://api.github.com/versions\n```\n\n**Response schema (Status: 200):**\n\nArray of string, format: date\n\n## Get the Zen of GitHub\n\n```\nGET /zen\n```\n\nGet a random sentence from the Zen of GitHub\n\n### HTTP response status codes\n\n- **200** - OK\n\n### Code examples\n\n#### Example\n\n**Request:**\n\n```curl\ncurl -L \\\n  -X GET \\\n  https://api.github.com/zen\n```\n\n**Response schema (Status: 200):**\n\nSame response schema as [Get Octocat](#get-octocat)."}