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/repos/Client.swift
+16-4Lines changed: 16 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -7777,7 +7777,7 @@ public struct Client: APIProtocol {
7777
7777
///
7778
7778
/// To process a response with a large number of commits, use a query parameter (`per_page` or `page`) to paginate the results. When using pagination:
7779
7779
///
7780
-
/// - The list of changed files is only shown on the first page of results, but it includes all changed files for the entire comparison.
7780
+
/// - The list of changed files is only shown on the first page of results, and it includes up to 300 changed files for the entire comparison.
7781
7781
/// - The results are returned in chronological order, but the last commit in the returned list may not be the most recent one in the entire set if there are more pages of results.
7782
7782
///
7783
7783
/// For more information on working with pagination, see "[Using pagination in the REST API](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api)."
@@ -17329,14 +17329,18 @@ public struct Client: APIProtocol {
17329
17329
}
17330
17330
)
17331
17331
}
17332
-
/// List tag protection states for a repository
17332
+
/// Deprecated - List tag protection states for a repository
17333
+
///
17334
+
/// **Note**: This operation is deprecated and will be removed after August 30th 2024
17335
+
/// Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead.
17333
17336
///
17334
17337
/// This returns the tag protection states of a repository.
17335
17338
///
17336
17339
/// This information is only available to repository administrators.
Copy file name to clipboardExpand all lines: Sources/repos/Types.swift
+45-12Lines changed: 45 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -836,7 +836,7 @@ public protocol APIProtocol: Sendable {
836
836
///
837
837
/// To process a response with a large number of commits, use a query parameter (`per_page` or `page`) to paginate the results. When using pagination:
838
838
///
839
-
/// - The list of changed files is only shown on the first page of results, but it includes all changed files for the entire comparison.
839
+
/// - The list of changed files is only shown on the first page of results, and it includes up to 300 changed files for the entire comparison.
840
840
/// - The results are returned in chronological order, but the last commit in the returned list may not be the most recent one in the entire set if there are more pages of results.
841
841
///
842
842
/// For more information on working with pagination, see "[Using pagination in the REST API](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api)."
@@ -1823,30 +1823,42 @@ public protocol APIProtocol: Sendable {
/// To process a response with a large number of commits, use a query parameter (`per_page` or `page`) to paginate the results. When using pagination:
3495
3507
///
3496
-
/// - The list of changed files is only shown on the first page of results, but it includes all changed files for the entire comparison.
3508
+
/// - The list of changed files is only shown on the first page of results, and it includes up to 300 changed files for the entire comparison.
3497
3509
/// - The results are returned in chronological order, but the last commit in the returned list may not be the most recent one in the entire set if there are more pages of results.
3498
3510
///
3499
3511
/// For more information on working with pagination, see "[Using pagination in the REST API](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api)."
@@ -5328,14 +5340,18 @@ extension APIProtocol {
5328
5340
headers: headers
5329
5341
))
5330
5342
}
5331
-
/// List tag protection states for a repository
5343
+
/// Deprecated - List tag protection states for a repository
5344
+
///
5345
+
/// **Note**: This operation is deprecated and will be removed after August 30th 2024
5346
+
/// Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead.
5332
5347
///
5333
5348
/// This returns the tag protection states of a repository.
5334
5349
///
5335
5350
/// This information is only available to repository administrators.
/// To process a response with a large number of commits, use a query parameter (`per_page` or `page`) to paginate the results. When using pagination:
38359
38383
///
38360
-
/// - The list of changed files is only shown on the first page of results, but it includes all changed files for the entire comparison.
38384
+
/// - The list of changed files is only shown on the first page of results, and it includes up to 300 changed files for the entire comparison.
38361
38385
/// - The results are returned in chronological order, but the last commit in the returned list may not be the most recent one in the entire set if there are more pages of results.
38362
38386
///
38363
38387
/// For more information on working with pagination, see "[Using pagination in the REST API](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api)."
@@ -58465,7 +58489,10 @@ public enum Operations {
58465
58489
}
58466
58490
}
58467
58491
}
58468
-
/// List tag protection states for a repository
58492
+
/// Deprecated - List tag protection states for a repository
58493
+
///
58494
+
/// **Note**: This operation is deprecated and will be removed after August 30th 2024
58495
+
/// Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead.
58469
58496
///
58470
58497
/// This returns the tag protection states of a repository.
58471
58498
///
@@ -58654,7 +58681,10 @@ public enum Operations {
58654
58681
}
58655
58682
}
58656
58683
}
58657
-
/// Create a tag protection state for a repository
58684
+
/// Deprecated - Create a tag protection state for a repository
58685
+
///
58686
+
/// **Note**: This operation is deprecated and will be removed after August 30th 2024
58687
+
/// Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead.
58658
58688
///
58659
58689
/// This creates a tag protection state for a repository.
58660
58690
/// This endpoint is only available to repository administrators.
@@ -58868,7 +58898,10 @@ public enum Operations {
58868
58898
}
58869
58899
}
58870
58900
}
58871
-
/// Delete a tag protection state for a repository
58901
+
/// Deprecated - Delete a tag protection state for a repository
58902
+
///
58903
+
/// **Note**: This operation is deprecated and will be removed after August 30th 2024
58904
+
/// Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead.
58872
58905
///
58873
58906
/// This deletes a tag protection state for a repository.
58874
58907
/// This endpoint is only available to repository administrators.
0 commit comments