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: Sources/copilot/Client.swift
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1089,7 +1089,7 @@ public struct Client: APIProtocol {
1089
1089
/// > [!NOTE]
1090
1090
/// > This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.
1091
1091
///
1092
-
/// The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,
1092
+
/// The response contains metrics for up to 100 days prior. Metrics are processed once per day for the previous day,
1093
1093
/// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
1094
1094
/// they must have telemetry enabled in their IDE.
1095
1095
///
@@ -1446,7 +1446,7 @@ public struct Client: APIProtocol {
1446
1446
/// > [!NOTE]
1447
1447
/// > This endpoint will only return results for a given day if the team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.
1448
1448
///
1449
-
/// The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,
1449
+
/// The response contains metrics for up to 100 days prior. Metrics are processed once per day for the previous day,
1450
1450
/// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
1451
1451
/// they must have telemetry enabled in their IDE.
Copy file name to clipboardExpand all lines: Sources/copilot/Types.swift
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -124,7 +124,7 @@ public protocol APIProtocol: Sendable {
124
124
/// > [!NOTE]
125
125
/// > This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.
126
126
///
127
-
/// The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,
127
+
/// The response contains metrics for up to 100 days prior. Metrics are processed once per day for the previous day,
128
128
/// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
129
129
/// they must have telemetry enabled in their IDE.
130
130
///
@@ -160,7 +160,7 @@ public protocol APIProtocol: Sendable {
160
160
/// > [!NOTE]
161
161
/// > This endpoint will only return results for a given day if the team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.
162
162
///
163
-
/// The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,
163
+
/// The response contains metrics for up to 100 days prior. Metrics are processed once per day for the previous day,
164
164
/// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
165
165
/// they must have telemetry enabled in their IDE.
166
166
///
@@ -347,7 +347,7 @@ extension APIProtocol {
347
347
/// > [!NOTE]
348
348
/// > This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.
349
349
///
350
-
/// The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,
350
+
/// The response contains metrics for up to 100 days prior. Metrics are processed once per day for the previous day,
351
351
/// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
352
352
/// they must have telemetry enabled in their IDE.
353
353
///
@@ -401,7 +401,7 @@ extension APIProtocol {
401
401
/// > [!NOTE]
402
402
/// > This endpoint will only return results for a given day if the team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.
403
403
///
404
-
/// The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,
404
+
/// The response contains metrics for up to 100 days prior. Metrics are processed once per day for the previous day,
405
405
/// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
406
406
/// they must have telemetry enabled in their IDE.
407
407
///
@@ -4388,7 +4388,7 @@ public enum Operations {
4388
4388
/// > [!NOTE]
4389
4389
/// > This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.
4390
4390
///
4391
-
/// The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,
4391
+
/// The response contains metrics for up to 100 days prior. Metrics are processed once per day for the previous day,
4392
4392
/// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
4393
4393
/// they must have telemetry enabled in their IDE.
/// - Remark: Generated from `#/paths/orgs/{org}/copilot/metrics/GET/query`.
4421
4421
publicstructQuery:Sendable,Hashable{
4422
-
/// Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.
4422
+
/// Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 100 days ago.
4423
4423
///
4424
4424
/// - Remark: Generated from `#/paths/orgs/{org}/copilot/metrics/GET/query/since`.
4425
4425
publicvarsince:Swift.String?
@@ -4431,17 +4431,17 @@ public enum Operations {
4431
4431
///
4432
4432
/// - Remark: Generated from `#/paths/orgs/{org}/copilot/metrics/GET/query/page`.
4433
4433
publicvarpage:Components.Parameters.Page?
4434
-
/// The number of days of metrics to display per page (max 28). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
4434
+
/// The number of days of metrics to display per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
4435
4435
///
4436
4436
/// - Remark: Generated from `#/paths/orgs/{org}/copilot/metrics/GET/query/per_page`.
4437
4437
publicvarperPage:Swift.Int?
4438
4438
/// Creates a new `Query`.
4439
4439
///
4440
4440
/// - Parameters:
4441
-
/// - since: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.
4441
+
/// - since: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 100 days ago.
4442
4442
/// - until: Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed.
4443
4443
/// - page: The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
4444
-
/// - perPage: The number of days of metrics to display per page (max 28). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
4444
+
/// - perPage: The number of days of metrics to display per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
4445
4445
publicinit(
4446
4446
since:Swift.String?=nil,
4447
4447
until:Swift.String?=nil,
@@ -4943,7 +4943,7 @@ public enum Operations {
4943
4943
/// > [!NOTE]
4944
4944
/// > This endpoint will only return results for a given day if the team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.
4945
4945
///
4946
-
/// The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,
4946
+
/// The response contains metrics for up to 100 days prior. Metrics are processed once per day for the previous day,
4947
4947
/// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
4948
4948
/// they must have telemetry enabled in their IDE.
/// - Remark: Generated from `#/paths/orgs/{org}/team/{team_slug}/copilot/metrics/GET/query`.
4985
4985
publicstructQuery:Sendable,Hashable{
4986
-
/// Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.
4986
+
/// Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 100 days ago.
4987
4987
///
4988
4988
/// - Remark: Generated from `#/paths/orgs/{org}/team/{team_slug}/copilot/metrics/GET/query/since`.
4989
4989
publicvarsince:Swift.String?
@@ -4995,17 +4995,17 @@ public enum Operations {
4995
4995
///
4996
4996
/// - Remark: Generated from `#/paths/orgs/{org}/team/{team_slug}/copilot/metrics/GET/query/page`.
4997
4997
publicvarpage:Components.Parameters.Page?
4998
-
/// The number of days of metrics to display per page (max 28). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
4998
+
/// The number of days of metrics to display per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
4999
4999
///
5000
5000
/// - Remark: Generated from `#/paths/orgs/{org}/team/{team_slug}/copilot/metrics/GET/query/per_page`.
5001
5001
publicvarperPage:Swift.Int?
5002
5002
/// Creates a new `Query`.
5003
5003
///
5004
5004
/// - Parameters:
5005
-
/// - since: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.
5005
+
/// - since: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 100 days ago.
5006
5006
/// - until: Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed.
5007
5007
/// - page: The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
5008
-
/// - perPage: The number of days of metrics to display per page (max 28). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
5008
+
/// - perPage: The number of days of metrics to display per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
0 commit comments