Skip to main content

이 버전의 GitHub Enterprise는 다음 날짜에 중단되었습니다. 2024-09-25. 중요한 보안 문제에 대해서도 패치 릴리스가 이루어지지 않습니다. 더 뛰어난 성능, 향상된 보안, 새로운 기능을 위해 최신 버전의 GitHub Enterprise Server로 업그레이드합니다. 업그레이드에 대한 도움말은 GitHub Enterprise 지원에 문의하세요.

이제 REST API의 버전이 지정되었습니다. 자세한 내용은 "API 버전 관리 정보"를 참조하세요.

GitHub Enterprise 관리를 위한 REST API 엔드포인트

REST API를 사용하여 엔터프라이즈를 관리합니다.

These endpoints only support authentication using a personal access token (classic). For more information, see "Managing your personal access tokens."

Endpoint URLs

These endpoints, except the Manage GitHub Enterprise Server API and Management Console API, are prefixed with the following URL:

http(s)://HOSTNAME/api/v3

Endpoints for the Manage GitHub Enterprise Server API and Management Console API are only prefixed with a hostname and administration port:

http(s)://HOSTNAME:ADMINISTRATION-PORT/

Authentication

Your GitHub Enterprise Server installation's API endpoints accept the same authentication methods as the GitHub API. For more information, see "Authenticating to the REST API."

OAuth tokens must have the site_admin OAuth scope when used with these endpoints.

These endpoints are only accessible to authenticated GitHub Enterprise Server site administrators, except for endpoints of the REST API endpoints for managing GitHub Enterprise Server API and REST API endpoints for Management Console API, which allow authentication as a Management Console user. See "Administering your instance from the web UI."

Version information

The current version of your enterprise is returned in the REST API response header: X-GitHub-Enterprise-Version: enterprise-server@3.10.0 You can also read the current version by calling GET /meta. For more information, see "REST API endpoints for meta data."

Endpoints