Skip to content

Commit 6848e66

Browse files
Commit via running ake Sources/orgs
1 parent 5774025 commit 6848e66

File tree

2 files changed

+96
-96
lines changed

2 files changed

+96
-96
lines changed

Sources/orgs/Client.swift

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -844,9 +844,9 @@ public struct Client: APIProtocol {
844844
}
845845
/// List organization webhooks
846846
///
847-
/// You must be an organization owner to use this endpoint.
847+
/// You must be an organization owner to use this endpoint.
848848
///
849-
/// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
849+
/// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
850850
/// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.
851851
///
852852
/// - Remark: HTTP `GET /orgs/{org}/hooks`.
@@ -957,9 +957,9 @@ public struct Client: APIProtocol {
957957
///
958958
/// Create a hook that posts payloads in JSON format.
959959
///
960-
/// You must be an organization owner to use this endpoint.
960+
/// You must be an organization owner to use this endpoint.
961961
///
962-
/// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or
962+
/// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or
963963
/// edit webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.
964964
///
965965
/// - Remark: HTTP `POST /orgs/{org}/hooks`.
@@ -1086,11 +1086,11 @@ public struct Client: APIProtocol {
10861086
/// Get an organization webhook
10871087
///
10881088
/// Returns a webhook configured in an organization. To get only the webhook
1089-
/// `config` properties, see "[Get a webhook configuration for an organization](/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization).
1089+
/// `config` properties, see "[Get a webhook configuration for an organization](/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization).
10901090
///
1091-
/// You must be an organization owner to use this endpoint.
1091+
/// You must be an organization owner to use this endpoint.
10921092
///
1093-
/// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
1093+
/// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
10941094
/// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.
10951095
///
10961096
/// - Remark: HTTP `GET /orgs/{org}/hooks/{hook_id}`.
@@ -1182,11 +1182,11 @@ public struct Client: APIProtocol {
11821182
/// the `secret` will be overwritten. If you previously had a `secret` set, you must
11831183
/// provide the same `secret` or set a new `secret` or the secret will be removed. If
11841184
/// you are only updating individual webhook `config` properties, use "[Update a webhook
1185-
/// configuration for an organization](/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization)".
1185+
/// configuration for an organization](/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization)".
11861186
///
1187-
/// You must be an organization owner to use this endpoint.
1187+
/// You must be an organization owner to use this endpoint.
11881188
///
1189-
/// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
1189+
/// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
11901190
/// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.
11911191
///
11921192
/// - Remark: HTTP `PATCH /orgs/{org}/hooks/{hook_id}`.
@@ -1307,9 +1307,9 @@ public struct Client: APIProtocol {
13071307
}
13081308
/// Delete an organization webhook
13091309
///
1310-
/// You must be an organization owner to use this endpoint.
1310+
/// You must be an organization owner to use this endpoint.
13111311
///
1312-
/// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
1312+
/// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
13131313
/// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.
13141314
///
13151315
/// - Remark: HTTP `DELETE /orgs/{org}/hooks/{hook_id}`.
@@ -1379,9 +1379,9 @@ public struct Client: APIProtocol {
13791379
///
13801380
/// Returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use "[Get an organization webhook ](/rest/orgs/webhooks#get-an-organization-webhook)."
13811381
///
1382-
/// You must be an organization owner to use this endpoint.
1382+
/// You must be an organization owner to use this endpoint.
13831383
///
1384-
/// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
1384+
/// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
13851385
/// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.
13861386
///
13871387
/// - Remark: HTTP `GET /orgs/{org}/hooks/{hook_id}/config`.
@@ -1449,9 +1449,9 @@ public struct Client: APIProtocol {
14491449
///
14501450
/// Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use "[Update an organization webhook ](/rest/orgs/webhooks#update-an-organization-webhook)."
14511451
///
1452-
/// You must be an organization owner to use this endpoint.
1452+
/// You must be an organization owner to use this endpoint.
14531453
///
1454-
/// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
1454+
/// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
14551455
/// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.
14561456
///
14571457
/// - Remark: HTTP `PATCH /orgs/{org}/hooks/{hook_id}/config`.
@@ -1530,9 +1530,9 @@ public struct Client: APIProtocol {
15301530
///
15311531
/// Returns a list of webhook deliveries for a webhook configured in an organization.
15321532
///
1533-
/// You must be an organization owner to use this endpoint.
1533+
/// You must be an organization owner to use this endpoint.
15341534
///
1535-
/// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
1535+
/// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
15361536
/// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.
15371537
///
15381538
/// - Remark: HTTP `GET /orgs/{org}/hooks/{hook_id}/deliveries`.
@@ -1674,9 +1674,9 @@ public struct Client: APIProtocol {
16741674
///
16751675
/// Returns a delivery for a webhook configured in an organization.
16761676
///
1677-
/// You must be an organization owner to use this endpoint.
1677+
/// You must be an organization owner to use this endpoint.
16781678
///
1679-
/// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
1679+
/// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
16801680
/// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.
16811681
///
16821682
/// - Remark: HTTP `GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}`.
@@ -1798,9 +1798,9 @@ public struct Client: APIProtocol {
17981798
///
17991799
/// Redeliver a delivery for a webhook configured in an organization.
18001800
///
1801-
/// You must be an organization owner to use this endpoint.
1801+
/// You must be an organization owner to use this endpoint.
18021802
///
1803-
/// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
1803+
/// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
18041804
/// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.
18051805
///
18061806
/// - Remark: HTTP `POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts`.
@@ -1923,9 +1923,9 @@ public struct Client: APIProtocol {
19231923
/// This will trigger a [ping event](https://docs.github.com/webhooks/#ping-event)
19241924
/// to be sent to the hook.
19251925
///
1926-
/// You must be an organization owner to use this endpoint.
1926+
/// You must be an organization owner to use this endpoint.
19271927
///
1928-
/// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
1928+
/// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
19291929
/// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.
19301930
///
19311931
/// - Remark: HTTP `POST /orgs/{org}/hooks/{hook_id}/pings`.

0 commit comments

Comments
 (0)