REST API 现已经过版本控制。 有关详细信息,请参阅“关于 API 版本控制”。
适用于 Copilot 的 REST API 终结点
使用 REST API 监视和管理 GitHub Copilot。
- 用于 Copilot 指标的 REST API 终结点
- Get Copilot metrics for an enterprise
- Get Copilot enterprise usage metrics for a specific day
- Get Copilot enterprise usage metrics
- Get Copilot users usage metrics for a specific day
- Get Copilot users usage metrics
- Get Copilot metrics for an enterprise team
- Get Copilot metrics for an organization
- Get Copilot metrics for a team
- 适用于 Copilot 用户管理的 REST API 终结点
- List all Copilot seat assignments for an enterprise
- Add enterprise teams to the Copilot subscription for an enterprise
- Remove enterprise teams from the Copilot subscription for an enterprise
- Add users to the Copilot subscription for an enterprise
- Remove users from the Copilot subscription for an enterprise
- Get Copilot seat assignment details for an enterprise user
- Get Copilot seat information and settings for an organization
- List all Copilot seat assignments for an organization
- Add teams to the Copilot subscription for an organization
- Remove teams from the Copilot subscription for an organization
- Add users to the Copilot subscription for an organization
- Remove users from the Copilot subscription for an organization
- Get Copilot seat assignment details for a user