Skip to content

Commit 0f100da

Browse files
authored
Fix broken links in report #2697 (#15921)
1 parent 7ce476d commit 0f100da

File tree

21 files changed

+138
-138
lines changed

21 files changed

+138
-138
lines changed

content/actions/reference/events-that-trigger-workflows.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ on:
232232

233233
#### `deployment`
234234

235-
Runs your workflow anytime someone creates a deployment, which triggers the `deployment` event. Deployments created with a commit SHA may not have a Git ref. For information about the REST API, see "[Deployments](/v3/repos/deployments/)."
235+
Runs your workflow anytime someone creates a deployment, which triggers the `deployment` event. Deployments created with a commit SHA may not have a Git ref. For information about the REST API, see "[Deployments](/rest/reference/repos#deployments)."
236236

237237
| Webhook event payload | Activity types | `GITHUB_SHA` | `GITHUB_REF` |
238238
| --------------------- | -------------- | ------------ | -------------|
@@ -247,7 +247,7 @@ on:
247247

248248
#### `deployment_status`
249249

250-
Runs your workflow anytime a third party provides a deployment status, which triggers the `deployment_status` event. Deployments created with a commit SHA may not have a Git ref. For information about the REST API, see "[Create a deployment status](/v3/repos/deployments/#create-a-deployment-status)."
250+
Runs your workflow anytime a third party provides a deployment status, which triggers the `deployment_status` event. Deployments created with a commit SHA may not have a Git ref. For information about the REST API, see "[Create a deployment status](/rest/reference/repos#create-a-deployment-status)."
251251

252252
| Webhook event payload | Activity types | `GITHUB_SHA` | `GITHUB_REF` |
253253
| --------------------- | -------------- | ------------ | -------------|
@@ -296,13 +296,13 @@ on:
296296

297297
#### `issue_comment`
298298

299-
Runs your workflow anytime the `issue_comment` event occurs. {% data reusables.developer-site.multiple_activity_types %} For information about the REST API, see "[Issue comments](/v3/issues/comments/)."
299+
Runs your workflow anytime the `issue_comment` event occurs. {% data reusables.developer-site.multiple_activity_types %} For information about the REST API, see "[Issue comments](/developers/webhooks-and-events/webhook-events-and-payloads#issue_comment)."
300300

301301
{% data reusables.github-actions.branch-requirement %}
302302

303303
| Webhook event payload | Activity types | `GITHUB_SHA` | `GITHUB_REF` |
304304
| --------------------- | -------------- | ------------ | -------------|
305-
| [`issue_comment`](/v3/activity/event_types/#issue_comment) | - `created`<br/>- `edited`<br/>- `deleted`<br/> | Last commit on default branch | Default branch |
305+
| [`issue_comment`](/rest/reference/activity#issue_comment) | - `created`<br/>- `edited`<br/>- `deleted`<br/> | Last commit on default branch | Default branch |
306306

307307
{% data reusables.developer-site.limit_workflow_to_activity_types %}
308308

@@ -376,7 +376,7 @@ on:
376376

377377
#### `page_build`
378378

379-
Runs your workflow anytime someone pushes to a {% data variables.product.product_name %} Pages-enabled branch, which triggers the `page_build` event. For information about the REST API, see "[Pages](/v3/repos/pages/)."
379+
Runs your workflow anytime someone pushes to a {% data variables.product.product_name %} Pages-enabled branch, which triggers the `page_build` event. For information about the REST API, see "[Pages](/rest/reference/repos#pages)."
380380

381381
{% data reusables.github-actions.branch-requirement %}
382382

content/developers/apps/creating-a-github-app-using-url-parameters.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Permission | Description
5454
[`checks`](/rest/reference/permissions-required-for-github-apps/#permission-on-checks) | Grants access to the [Checks API](/v3/checks/). Can be one of: `none`, `read`, or `write`.
5555
`content_references` | Grants access to the "[Create a content attachment](/v3/apps/installations/#create-a-content-attachment)" endpoint. Can be one of: `none`, `read`, or `write`.
5656
[`contents`](/rest/reference/permissions-required-for-github-apps/#permission-on-contents) | Grants access to various endpoints that allow you to modify repository contents. Can be one of: `none`, `read`, or `write`.
57-
[`deployments`](/rest/reference/permissions-required-for-github-apps/#permission-on-deployments) | Grants access to the [Deployments API](/v3/repos/deployments/). Can be one of: `none`, `read`, or `write`.
57+
[`deployments`](/rest/reference/permissions-required-for-github-apps/#permission-on-deployments) | Grants access to the [Deployments API](/rest/reference/repos#deployments). Can be one of: `none`, `read`, or `write`.
5858
[`emails`](/rest/reference/permissions-required-for-github-apps/#permission-on-emails) | Grants access to the [Emails API](/v3/users/emails/). Can be one of: `none`, `read`, or `write`.
5959
[`followers`](/rest/reference/permissions-required-for-github-apps/#permission-on-followers) | Grants access to the [Followers API](/v3/users/followers/). Can be one of: `none`, `read`, or `write`.
6060
[`gpg_keys`](/rest/reference/permissions-required-for-github-apps/#permission-on-gpg-keys) | Grants access to the [GPG Keys API](/v3/users/gpg_keys/). Can be one of: `none`, `read`, or `write`.
@@ -63,11 +63,11 @@ Permission | Description
6363
[`members`](/rest/reference/permissions-required-for-github-apps/#permission-on-members) | Grants access to manage an organization's members. Can be one of: `none`, `read`, or `write`.{% if currentVersion == "free-pro-team@latest" %}
6464
[`metadata`](/rest/reference/permissions-required-for-github-apps/#metadata-permissions) | Grants access to read-only endpoints that do not leak sensitive data. Can be `read` or `none`. Defaults to `read` when you set any permission, or defaults to `none` when you don't specify any permissions for the {% data variables.product.prodname_github_app %}.
6565
[`organization_administration`](/rest/reference/permissions-required-for-github-apps/#permission-on-organization-administration) | Grants access to "[Update an organization](/v3/orgs/#update-an-organization)" endpoint and the [Organization Interaction Restrictions API](/v3/interactions/orgs/#set-interaction-restrictions-for-an-organization). Can be one of: `none`, `read`, or `write`.{% endif %}
66-
[`organization_hooks`](/rest/reference/permissions-required-for-github-apps/#permission-on-organization-hooks) | Grants access to the [Organization Webhooks API](/v3/orgs/hooks/). Can be one of: `none`, `read`, or `write`.
66+
[`organization_hooks`](/rest/reference/permissions-required-for-github-apps/#permission-on-organization-hooks) | Grants access to the [Organization Webhooks API](/rest/reference/orgs#webhooks/). Can be one of: `none`, `read`, or `write`.
6767
`organization_plan` | Grants access to get information about an organization's plan using the "[Get an organization](/v3/orgs/#get-an-organization)" endpoint. Can be one of: `none` or `read`.
6868
[`organization_projects`](/rest/reference/permissions-required-for-github-apps/#permission-on-organization-projects) | Grants access to the [Projects API](/v3/projects/). Can be one of: `none`, `read`, `write`, or `admin`.{% if currentVersion == "free-pro-team@latest" %}
6969
[`organization_user_blocking`](/rest/reference/permissions-required-for-github-apps/#permission-on-organization-projects) | Grants access to the [Blocking Organization Users API](/v3/orgs/blocking/). Can be one of: `none`, `read`, or `write`.{% endif %}
70-
[`pages`](/rest/reference/permissions-required-for-github-apps/#permission-on-pages) | Grants access to the [Pages API](/v3/repos/pages/). Can be one of: `none`, `read`, or `write`.
70+
[`pages`](/rest/reference/permissions-required-for-github-apps/#permission-on-pages) | Grants access to the [Pages API](/rest/reference/repos#pages). Can be one of: `none`, `read`, or `write`.
7171
`plan` | Grants access to get information about a user's GitHub plan using the "[Get a user](/v3/users/#get-a-user)" endpoint. Can be one of: `none` or `read`.
7272
[`pull_requests`](/rest/reference/permissions-required-for-github-apps/#permission-on-pull-requests) | Grants access to various pull request endpoints. Can be one of: `none`, `read`, or `write`.
7373
[`repository_hooks`](/rest/reference/permissions-required-for-github-apps/#permission-on-repository-hooks) | Grants access to the [Repository Webhooks API](/v3/repos/hooks/). Can be one of: `none`, `read`, or `write`.

content/developers/apps/identifying-and-authorizing-users-for-github-apps.md

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -241,25 +241,25 @@ While most of your API interaction should occur using your server-to-server inst
241241

242242
##### Deployment Statuses
243243

244-
* [List deployment statuses](/v3/repos/deployments/#list-deployment-statuses)
245-
* [Create a deployment status](/v3/repos/deployments/#create-a-deployment-status)
246-
* [Get a deployment status](/v3/repos/deployments/#get-a-deployment-status)
244+
* [List deployment statuses](/rest/reference/repos#list-deployment-statuses)
245+
* [Create a deployment status](/rest/reference/repos#create-a-deployment-status)
246+
* [Get a deployment status](/rest/reference/repos#get-a-deployment-status)
247247

248248
##### Deployments
249249

250-
* [List deployments](/v3/repos/deployments/#list-deployments)
251-
* [Create a deployment](/v3/repos/deployments/#create-a-deployment)
252-
* [Get a deployment](/v3/repos/deployments/#get-a-deployment){% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "[email protected]" %}
253-
* [Delete a deployment](/v3/repos/deployments/#delete-a-deployment){% endif %}
250+
* [List deployments](/rest/reference/repos#list-deployments)
251+
* [Create a deployment](/rest/reference/repos#create-a-deployment)
252+
* [Get a deployment](/rest/reference/repos#get-a-deployment){% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "[email protected]" %}
253+
* [Delete a deployment](/rest/reference/repos#delete-a-deployment){% endif %}
254254

255255
##### Events
256256

257-
* [List public events for a network of repositories](/v3/activity/events/#list-public-events-for-a-network-of-repositories)
258-
* [List public organization events](/v3/activity/events/#list-public-organization-events)
257+
* [List public events for a network of repositories](/rest/reference/activity#list-public-events-for-a-network-of-repositories)
258+
* [List public organization events](/rest/reference/activity#list-public-organization-events)
259259

260260
##### Feeds
261261

262-
* [Get feeds](/v3/activity/feeds/#get-feeds)
262+
* [Get feeds](/rest/reference/activity#get-feeds)
263263

264264
##### Git Blobs
265265

@@ -388,12 +388,12 @@ While most of your API interaction should occur using your server-to-server inst
388388

389389
##### Organization Hooks
390390

391-
* [List organization webhooks](/v3/orgs/hooks/#list-organization-webhooks)
392-
* [Create an organization webhook](/v3/orgs/hooks/#create-an-organization-webhook)
393-
* [Get an organization webhook](/v3/orgs/hooks/#get-an-organization-webhook)
394-
* [Update an organization webhook](/v3/orgs/hooks/#update-an-organization-webhook)
395-
* [Delete an organization webhook](/v3/orgs/hooks/#delete-an-organization-webhook)
396-
* [Ping an organization webhook](/v3/orgs/hooks/#ping-an-organization-webhook)
391+
* [List organization webhooks](/rest/reference/orgs#webhooks/#list-organization-webhooks)
392+
* [Create an organization webhook](/rest/reference/orgs#webhooks/#create-an-organization-webhook)
393+
* [Get an organization webhook](/rest/reference/orgs#webhooks/#get-an-organization-webhook)
394+
* [Update an organization webhook](/rest/reference/orgs#webhooks/#update-an-organization-webhook)
395+
* [Delete an organization webhook](/rest/reference/orgs#webhooks/#delete-an-organization-webhook)
396+
* [Ping an organization webhook](/rest/reference/orgs#webhooks/#ping-an-organization-webhook)
397397

398398
{% if currentVersion == "free-pro-team@latest" %}
399399
##### Organization Invitations
@@ -616,7 +616,7 @@ While most of your API interaction should occur using your server-to-server inst
616616
* [Delete a repository](/v3/repos/#delete-a-repository)
617617
* [Compare two commits](/v3/repos/commits/#compare-two-commits)
618618
* [List repository contributors](/v3/repos/#list-repository-contributors)
619-
* [List forks](/v3/repos/forks/#list-forks)
619+
* [List forks](/rest/reference/repos#list-forks)
620620
* [Create a fork](/v3/repos/forks/#create-a-fork)
621621
* [List repository languages](/v3/repos/#list-repository-languages)
622622
* [List repository tags](/v3/repos/#list-repository-tags)
@@ -629,13 +629,13 @@ While most of your API interaction should occur using your server-to-server inst
629629

630630
##### Repository Activity
631631

632-
* [List stargazers](/v3/activity/starring/#list-stargazers)
633-
* [List watchers](/v3/activity/watching/#list-watchers)
634-
* [List repositories starred by a user](/v3/activity/starring/#list-repositories-starred-by-a-user)
635-
* [Check if a repository is starred by the authenticated user](/v3/activity/starring/#check-if-a-repository-is-starred-by-the-authenticated-user)
636-
* [Star a repository for the authenticated user](/v3/activity/starring/#star-a-repository-for-the-authenticated-user)
637-
* [Unstar a repository for the authenticated user](/v3/activity/starring/#unstar-a-repository-for-the-authenticated-user)
638-
* [List repositories watched by a user](/v3/activity/watching/#list-repositories-watched-by-a-user)
632+
* [List stargazers](/rest/reference/activity#list-stargazers)
633+
* [List watchers](/rest/reference/activity#list-watchers)
634+
* [List repositories starred by a user](/rest/reference/activity#list-repositories-starred-by-a-user)
635+
* [Check if a repository is starred by the authenticated user](/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user)
636+
* [Star a repository for the authenticated user](/rest/reference/activity#star-a-repository-for-the-authenticated-user)
637+
* [Unstar a repository for the authenticated user](/rest/reference/activity#unstar-a-repository-for-the-authenticated-user)
638+
* [List repositories watched by a user](/rest/reference/activity#list-repositories-watched-by-a-user)
639639

640640
{% if currentVersion == "free-pro-team@latest" %}
641641
##### Repository Automated Security Fixes
@@ -753,14 +753,14 @@ While most of your API interaction should occur using your server-to-server inst
753753

754754
##### Repository Pages
755755

756-
* [Get a GitHub Pages site](/v3/repos/pages/#get-a-github-pages-site)
757-
* [Create a GitHub Pages site](/v3/repos/pages/#create-a-github-pages-site)
758-
* [Update information about a GitHub Pages site](/v3/repos/pages/#update-information-about-a-github-pages-site)
759-
* [Delete a GitHub Pages site](/v3/repos/pages/#delete-a-github-pages-site)
760-
* [List GitHub Pages builds](/v3/repos/pages/#list-github-pages-builds)
761-
* [Request a GitHub Pages build](/v3/repos/pages/#request-a-github-pages-build)
762-
* [Get GitHub Pages build](/v3/repos/pages/#get-github-pages-build)
763-
* [Get latest pages build](/v3/repos/pages/#get-latest-pages-build)
756+
* [Get a GitHub Pages site](/rest/reference/repos#get-a-github-pages-site)
757+
* [Create a GitHub Pages site](/rest/reference/repos#create-a-github-pages-site)
758+
* [Update information about a GitHub Pages site](/rest/reference/repos#update-information-about-a-github-pages-site)
759+
* [Delete a GitHub Pages site](/rest/reference/repos#delete-a-github-pages-site)
760+
* [List GitHub Pages builds](/rest/reference/repos#list-github-pages-builds)
761+
* [Request a GitHub Pages build](/rest/reference/repos#request-a-github-pages-build)
762+
* [Get GitHub Pages build](/rest/reference/repos#get-github-pages-build)
763+
* [Get latest pages build](/rest/reference/repos#get-latest-pages-build)
764764

765765
{% if currentVersion != "free-pro-team@latest" %}
766766
##### Repository Pre Receive Hooks
@@ -773,17 +773,17 @@ While most of your API interaction should occur using your server-to-server inst
773773

774774
##### Repository Releases
775775

776-
* [List releases](/v3/repos/releases/#list-releases)
777-
* [Create a release](/v3/repos/releases/#create-a-release)
778-
* [Get a release](/v3/repos/releases/#get-a-release)
779-
* [Update a release](/v3/repos/releases/#update-a-release)
780-
* [Delete a release](/v3/repos/releases/#delete-a-release)
781-
* [List release assets](/v3/repos/releases/#list-release-assets)
782-
* [Get a release asset](/v3/repos/releases/#get-a-release-asset)
783-
* [Update a release asset](/v3/repos/releases/#update-a-release-asset)
784-
* [Delete a release asset](/v3/repos/releases/#delete-a-release-asset)
785-
* [Get the latest release](/v3/repos/releases/#get-the-latest-release)
786-
* [Get a release by tag name](/v3/repos/releases/#get-a-release-by-tag-name)
776+
* [List releases](/rest/reference/repos/#list-releases)
777+
* [Create a release](/rest/reference/repos/#create-a-release)
778+
* [Get a release](/rest/reference/repos/#get-a-release)
779+
* [Update a release](/rest/reference/repos/#update-a-release)
780+
* [Delete a release](/rest/reference/repos/#delete-a-release)
781+
* [List release assets](/rest/reference/repos/#list-release-assets)
782+
* [Get a release asset](/rest/reference/repos/#get-a-release-asset)
783+
* [Update a release asset](/rest/reference/repos/#update-a-release-asset)
784+
* [Delete a release asset](/rest/reference/repos/#delete-a-release-asset)
785+
* [Get the latest release](/rest/reference/repos/#get-the-latest-release)
786+
* [Get a release by tag name](/rest/reference/repos/#get-a-release-by-tag-name)
787787

788788
##### Repository Stats
789789

content/developers/webhooks-and-events/about-webhooks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ versions:
1111

1212
Webhooks allow you to build or set up integrations, such as [{% data variables.product.prodname_github_app %}s](/apps/building-github-apps/) or [{% data variables.product.prodname_oauth_app %}s](/apps/building-oauth-apps/), which subscribe to certain events on GitHub.com. When one of those events is triggered, we'll send a HTTP POST payload to the webhook's configured URL. Webhooks can be used to update an external issue tracker, trigger CI builds, update a backup mirror, or even deploy to your production server. You're only limited by your imagination.
1313

14-
Webhooks can be installed on{% if currentVersion != "free-pro-team@latest" %} a [{% data variables.product.prodname_ghe_server %} instance](/v3/enterprise-admin/global_webhooks/),{% endif %} an [organization][org-hooks], a specific [repository][repo-hooks], or a {% data variables.product.prodname_github_app %}. Once installed, the webhook will be sent each time one or more subscribed events occurs.
14+
Webhooks can be installed on{% if currentVersion != "free-pro-team@latest" %} a [{% data variables.product.prodname_ghe_server %} instance](/rest/reference/enterprise-admin#global-webhooks/),{% endif %} an [organization][org-hooks], a specific [repository][repo-hooks], or a {% data variables.product.prodname_github_app %}. Once installed, the webhook will be sent each time one or more subscribed events occurs.
1515

1616
You can create up to {% if currentVersion != "free-pro-team@latest" %}250{% else %}20{% endif %} webhooks for each event on each installation target {% if currentVersion != "free-pro-team@latest" %}({% data variables.product.prodname_ghe_server %} instance, specific organization, or specific repository).{% else %}(specific organization or specific repository).{% endif %}
1717

@@ -29,5 +29,5 @@ See "[Webhook event payloads](/webhooks/event-payloads)" for the list of availab
2929

3030
For more information about the `ping` event webhook payload, see the [`ping`](/webhooks/event-payloads/#ping) event.
3131

32-
[org-hooks]: /v3/orgs/hooks/
32+
[org-hooks]: /rest/reference/orgs#webhooks/
3333
[repo-hooks]: /v3/repos/hooks/

0 commit comments

Comments
 (0)