1
0
mirror of synced 2025-12-23 21:07:12 -05:00

Update OpenAPI Description (#55029)

Co-authored-by: Fernando <108433049+fgalind0@users.noreply.github.com>
Co-authored-by: Ben Ahmady <32935794+subatoi@users.noreply.github.com>
This commit is contained in:
docs-bot
2025-03-28 11:08:59 -07:00
committed by GitHub
parent c335cd67e5
commit 455f2d62ea
35 changed files with 6130 additions and 2333 deletions

View File

@@ -9,6 +9,8 @@ topics:
- API
autogenerated: rest
allowTitleToDifferFromFilename: true
redirect_from:
- /rest/copilot/copilot-usage
---
You can use these endpoints to get a breakdown of aggregated metrics for various {% data variables.product.prodname_copilot %} features. The API includes:
@@ -18,8 +20,6 @@ You can use these endpoints to get a breakdown of aggregated metrics for various
* Breakdowns by language and IDE
* The option to view metrics for an enterprise, organization, or team
If you currently use the [AUTOTITLE](/rest/copilot/copilot-usage), we recommend migrating to these endpoints as soon as possible.
For help getting started, see [AUTOTITLE](/copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-activity-related-to-github-copilot-in-your-organization/analyzing-usage-over-time-with-the-copilot-metrics-api).
{% data reusables.copilot.metrics-api-ghecom %}

View File

@@ -1,17 +0,0 @@
---
title: REST API endpoints for GitHub Copilot usage metrics
shortTitle: Copilot usage
intro: 'Use the REST API to access {% data variables.product.prodname_copilot_short %} usage metrics for an enterprise, an organization, or a team.'
redirect_from:
- /early-access/copilot/copilot-usage-api
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
fpt: '*'
ghec: '*'
topics:
- API
autogenerated: rest
allowTitleToDifferFromFilename: true
---
>[!WARNING] These endpoints are retired. Use the [AUTOTITLE](/rest/copilot/copilot-metrics) endpoints instead.
<!-- Content after this section is automatically generated -->

View File

@@ -11,7 +11,6 @@ autogenerated: rest
allowTitleToDifferFromFilename: true
children:
- /copilot-metrics
- /copilot-usage
- /copilot-user-management
versions:
fpt: '*'