Get GitHub meta information
If you access this endpoint on your organization's GitHub Enterprise Server installation, this endpoint provides information about that installation.
Note: GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the Replacing GitHub Services guide to help you update your services to webhooks.
get /meta
Parámetros
Name | Type | In | Description |
---|---|---|---|
accept |
string | header |
Setting to |
Ejemplos de código
Shell
curl \
-H "Accept: application/vnd.github.v3+json" \
https://{hostname}/meta
JavaScript (@octokit/core.js)
await octokit.request('GET /meta')
Default response
Status: 200 OK
{
"verifiable_password_authentication": true,
"installed_version": "2.18.0",
"github_services_sha": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15"
}