{"meta":{"title":"Pontos de extremidade da API REST para metadados","intro":"Use a API REST para obter informações meta sobre GitHub, incluindo os endereços IP dos serviços GitHub.","product":"API REST","breadcrumbs":[{"href":"/pt/enterprise-server@3.20/rest","title":"API REST"},{"href":"/pt/enterprise-server@3.20/rest/meta","title":"Meta"},{"href":"/pt/enterprise-server@3.20/rest/meta/meta","title":"Meta"}],"documentType":"article"},"body":"# Pontos de extremidade da API REST para metadados\n\nUse a API REST para obter informações meta sobre GitHub, incluindo os endereços IP dos serviços GitHub.\n\n> [!NOTE]\n> Most endpoints use `Authorization: Bearer <YOUR-TOKEN>` and `Accept: application/vnd.github+json` headers, plus `X-GitHub-Api-Version: 2022-11-28`. 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  http(s)://HOSTNAME/api/v3/\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* `authorizations_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* `hub_url`: string, format: uri-template, deprecated\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 Server meta information\n\n```\nGET /meta\n```\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  http(s)://HOSTNAME/api/v3/meta\n```\n\n**Response schema (Status: 200):**\n\n* `verifiable_password_authentication`: required, boolean\n* `packages`: 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* `installed_version`: 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  http(s)://HOSTNAME/api/v3/octocat\n```\n\n**Response schema (Status: 200):**\n\nstring\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  http(s)://HOSTNAME/api/v3/zen\n```\n\n**Response schema (Status: 200):**\n\nSame response schema as [Get Octocat](#get-octocat)."}