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
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1115,7 +1115,8 @@ public struct Client: APIProtocol {
1115
1115
/// The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.
1116
1116
///
1117
1117
/// > [!NOTE]
1118
-
/// > In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
1118
+
/// > - In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
1119
+
/// > - To view merge-related settings, you must have the `contents:read` and `contents:write` permissions.
1119
1120
///
1120
1121
/// - Remark: HTTP `GET /repos/{owner}/{repo}`.
1121
1122
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/get(repos/get)`.
Copy file name to clipboardExpand all lines: Sources/repos/Types.swift
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -89,7 +89,8 @@ public protocol APIProtocol: Sendable {
89
89
/// The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.
90
90
///
91
91
/// > [!NOTE]
92
-
/// > In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
92
+
/// > - In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
93
+
/// > - To view merge-related settings, you must have the `contents:read` and `contents:write` permissions.
93
94
///
94
95
/// - Remark: HTTP `GET /repos/{owner}/{repo}`.
95
96
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/get(repos/get)`.
@@ -2276,7 +2277,8 @@ extension APIProtocol {
2276
2277
/// The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.
2277
2278
///
2278
2279
/// > [!NOTE]
2279
-
/// > In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
2280
+
/// > - In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
2281
+
/// > - To view merge-related settings, you must have the `contents:read` and `contents:write` permissions.
2280
2282
///
2281
2283
/// - Remark: HTTP `GET /repos/{owner}/{repo}`.
2282
2284
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/get(repos/get)`.
@@ -25899,7 +25901,8 @@ public enum Operations {
25899
25901
/// The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.
25900
25902
///
25901
25903
/// > [!NOTE]
25902
-
/// > In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
25904
+
/// > - In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
25905
+
/// > - To view merge-related settings, you must have the `contents:read` and `contents:write` permissions.
25903
25906
///
25904
25907
/// - Remark: HTTP `GET /repos/{owner}/{repo}`.
25905
25908
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/get(repos/get)`.
0 commit comments