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:
@@ -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 %}
|
||||
|
||||
@@ -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 -->
|
||||
@@ -11,7 +11,6 @@ autogenerated: rest
|
||||
allowTitleToDifferFromFilename: true
|
||||
children:
|
||||
- /copilot-metrics
|
||||
- /copilot-usage
|
||||
- /copilot-user-management
|
||||
versions:
|
||||
fpt: '*'
|
||||
|
||||
Reference in New Issue
Block a user