You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/rest/data/fpt-2022-11-28/schema.json
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -243909,7 +243909,7 @@
243909
243909
},
243910
243910
{
243911
243911
"name": "since",
243912
-
"description": "<p>Show usage metrics since this date. This is a timestamp in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> format (<code>YYYY-MM-DDTHH:MM:SSZ</code>). Maximum value is 28 days ago.</p>",
243912
+
"description": "<p>Show usage metrics since this date. This is a timestamp in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> format (<code>YYYY-MM-DDTHH:MM:SSZ</code>). Maximum value is 100 days ago.</p>",
243913
243913
"in": "query",
243914
243914
"required": false,
243915
243915
"schema": {
@@ -243936,11 +243936,11 @@
243936
243936
},
243937
243937
{
243938
243938
"name": "per_page",
243939
-
"description": "<p>The number of days of metrics to display per page (max 28). For more information, see \"<a href=\"https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api\">Using pagination in the REST API</a>.\"</p>",
243939
+
"description": "<p>The number of days of metrics to display per page (max 100). For more information, see \"<a href=\"https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api\">Using pagination in the REST API</a>.\"</p>",
243940
243940
"in": "query",
243941
243941
"schema": {
243942
243942
"type": "integer",
243943
-
"default": 28
243943
+
"default": 100
243944
243944
}
243945
243945
}
243946
243946
],
@@ -244448,7 +244448,7 @@
244448
244448
}
244449
244449
],
244450
244450
"previews": [],
244451
-
"descriptionHTML": "<p>Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.</p>\n<div class=\"ghd-alert ghd-alert-accent\" data-container=\"alert\"><p class=\"ghd-alert-title\"><svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon mr-2\" aria-hidden><path d=\"M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"></path></svg>Note</p>\n<p>\nThis endpoint will only return results for a given day if the organization contained <strong>five or more members with active Copilot licenses</strong> on that day, as evaluated at the end of that day.</p>\n</div>\n<p>The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.</p>\n<p>To access this endpoint, the Copilot Metrics API access policy must be enabled for the organization.\nOnly organization owners and owners and billing managers of the parent enterprise can view Copilot metrics.</p>\n<p>OAuth app tokens and personal access tokens (classic) need either the <code>manage_billing:copilot</code>, <code>read:org</code>, or <code>read:enterprise</code> scopes to use this endpoint.</p>",
244451
+
"descriptionHTML": "<p>Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.</p>\n<div class=\"ghd-alert ghd-alert-accent\" data-container=\"alert\"><p class=\"ghd-alert-title\"><svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon mr-2\" aria-hidden><path d=\"M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"></path></svg>Note</p>\n<p>\nThis endpoint will only return results for a given day if the organization contained <strong>five or more members with active Copilot licenses</strong> on that day, as evaluated at the end of that day.</p>\n</div>\n<p>The response contains metrics for up to 100 days prior. Metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.</p>\n<p>To access this endpoint, the Copilot Metrics API access policy must be enabled for the organization.\nOnly organization owners and owners and billing managers of the parent enterprise can view Copilot metrics.</p>\n<p>OAuth app tokens and personal access tokens (classic) need either the <code>manage_billing:copilot</code>, <code>read:org</code>, or <code>read:enterprise</code> scopes to use this endpoint.</p>",
244452
244452
"statusCodes": [
244453
244453
{
244454
244454
"httpStatusCode": "200",
@@ -244500,7 +244500,7 @@
244500
244500
},
244501
244501
{
244502
244502
"name": "since",
244503
-
"description": "<p>Show usage metrics since this date. This is a timestamp in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> format (<code>YYYY-MM-DDTHH:MM:SSZ</code>). Maximum value is 28 days ago.</p>",
244503
+
"description": "<p>Show usage metrics since this date. This is a timestamp in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> format (<code>YYYY-MM-DDTHH:MM:SSZ</code>). Maximum value is 100 days ago.</p>",
244504
244504
"in": "query",
244505
244505
"required": false,
244506
244506
"schema": {
@@ -244527,11 +244527,11 @@
244527
244527
},
244528
244528
{
244529
244529
"name": "per_page",
244530
-
"description": "<p>The number of days of metrics to display per page (max 28). For more information, see \"<a href=\"https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api\">Using pagination in the REST API</a>.\"</p>",
244530
+
"description": "<p>The number of days of metrics to display per page (max 100). For more information, see \"<a href=\"https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api\">Using pagination in the REST API</a>.\"</p>",
244531
244531
"in": "query",
244532
244532
"schema": {
244533
244533
"type": "integer",
244534
-
"default": 28
244534
+
"default": 100
244535
244535
}
244536
244536
}
244537
244537
],
@@ -245040,7 +245040,7 @@
245040
245040
}
245041
245041
],
245042
245042
"previews": [],
245043
-
"descriptionHTML": "<p>Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.</p>\n<div class=\"ghd-alert ghd-alert-accent\" data-container=\"alert\"><p class=\"ghd-alert-title\"><svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon mr-2\" aria-hidden><path d=\"M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"></path></svg>Note</p>\n<p>\nThis endpoint will only return results for a given day if the team had <strong>five or more members with active Copilot licenses</strong> on that day, as evaluated at the end of that day.</p>\n</div>\n<p>The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.</p>\n<p>To access this endpoint, the Copilot Metrics API access policy must be enabled for the organization containing the team within GitHub settings.\nOnly organization owners for the organization that contains this team and owners and billing managers of the parent enterprise can view Copilot metrics for a team.</p>\n<p>OAuth app tokens and personal access tokens (classic) need either the <code>manage_billing:copilot</code>, <code>read:org</code>, or <code>read:enterprise</code> scopes to use this endpoint.</p>",
245043
+
"descriptionHTML": "<p>Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.</p>\n<div class=\"ghd-alert ghd-alert-accent\" data-container=\"alert\"><p class=\"ghd-alert-title\"><svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon mr-2\" aria-hidden><path d=\"M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"></path></svg>Note</p>\n<p>\nThis endpoint will only return results for a given day if the team had <strong>five or more members with active Copilot licenses</strong> on that day, as evaluated at the end of that day.</p>\n</div>\n<p>The response contains metrics for up to 100 days prior. Metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.</p>\n<p>To access this endpoint, the Copilot Metrics API access policy must be enabled for the organization containing the team within GitHub settings.\nOnly organization owners for the organization that contains this team and owners and billing managers of the parent enterprise can view Copilot metrics for a team.</p>\n<p>OAuth app tokens and personal access tokens (classic) need either the <code>manage_billing:copilot</code>, <code>read:org</code>, or <code>read:enterprise</code> scopes to use this endpoint.</p>",
"descriptionHTML": "<p>Lists the secret scanning pattern configurations for an organization.</p>\n<p>Personal access tokens (classic) need the <code>write:org</code> scope to use this endpoint.</p>",
591705
+
"descriptionHTML": "<p>Lists the secret scanning pattern configurations for an organization.</p>\n<p>Personal access tokens (classic) need the <code>read:org</code> scope to use this endpoint.</p>",
0 commit comments