Skip to content

Commit 0d8e8c6

Browse files
docs-botSarah Edwardsgracepark
authored
Update OpenAPI Description (#44596)
Co-authored-by: Sarah Edwards <skedwards88@github.com> Co-authored-by: Grace Park <gracepark@github.com>
1 parent 02611c8 commit 0d8e8c6

59 files changed

Lines changed: 201632 additions & 201745 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

content/rest/index.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
---
22
title: GitHub REST API documentation
33
shortTitle: REST API
4-
intro: 'To create integrations, retrieve data, and automate your workflows, build with the {% data variables.product.prodname_dotcom %} REST API.'
4+
intro: >-
5+
To create integrations, retrieve data, and automate your workflows, build with
6+
the {% data variables.product.prodname_dotcom %} REST API.
57
introLinks:
68
quickstart: /rest/quickstart
79
overview: /rest/guides/getting-started-with-the-rest-api
@@ -34,9 +36,6 @@ versions:
3436
ghae: '*'
3537
ghec: '*'
3638
children:
37-
- /quickstart
38-
- /overview
39-
- /guides
4039
- /actions
4140
- /activity
4241
- /announcement-banners
@@ -60,6 +59,7 @@ children:
6059
- /gists
6160
- /git
6261
- /gitignore
62+
- /guides
6363
- /interactions
6464
- /issues
6565
- /licenses
@@ -69,10 +69,12 @@ children:
6969
- /migrations
7070
- /oauth-authorizations
7171
- /orgs
72+
- /overview
7273
- /packages
7374
- /pages
7475
- /projects
7576
- /pulls
77+
- /quickstart
7678
- /rate-limit
7779
- /reactions
7880
- /releases
@@ -83,7 +85,6 @@ children:
8385
- /security-advisories
8486
- /teams
8587
- /users
86-
- /webhooks
8788
autogenerated: rest
8889
---
8990

content/rest/repos/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ children:
2424
- /rule-suites
2525
- /rules
2626
- /tags
27+
- /webhooks
2728
autogenerated: rest
2829
---
2930

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
---
22
title: Repository webhooks
3+
shortTitle: Webhooks
34
intro: Use the REST API to create and manage webhooks for your repositories.
4-
allowTitleToDifferFromFilename: true
5-
versions:
5+
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
66
fpt: '*'
7-
ghes: '*'
87
ghae: '*'
98
ghec: '*'
9+
ghes: '*'
1010
topics:
1111
- API
12-
children:
13-
- /repo-config
14-
- /repo-deliveries
15-
- /repos
16-
redirect_from:
17-
- /rest/reference/webhooks
1812
autogenerated: rest
13+
allowTitleToDifferFromFilename: true
14+
redirect_from:
15+
- /rest/webhooks/repo-deliveries
16+
- /rest/webhooks/repo-config
17+
- /rest/webhooks/repos
18+
- /rest/webhooks
1919
---
2020

2121
## About repository webhooks

content/rest/webhooks/repo-config.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

content/rest/webhooks/repo-deliveries.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

content/rest/webhooks/repos.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6795,108 +6795,108 @@
67956795
"displayTitle": "Repository permissions for \"Webhooks\"",
67966796
"permissions": [
67976797
{
6798-
"category": "webhooks",
6798+
"category": "repos",
67996799
"slug": "list-repository-webhooks",
6800-
"subcategory": "repos",
6800+
"subcategory": "webhooks",
68016801
"verb": "get",
68026802
"requestPath": "/repos/{owner}/{repo}/hooks",
68036803
"additional-permissions": [],
68046804
"access": "read"
68056805
},
68066806
{
6807-
"category": "webhooks",
6807+
"category": "repos",
68086808
"slug": "create-a-repository-webhook",
6809-
"subcategory": "repos",
6809+
"subcategory": "webhooks",
68106810
"verb": "post",
68116811
"requestPath": "/repos/{owner}/{repo}/hooks",
68126812
"additional-permissions": [],
68136813
"access": "write"
68146814
},
68156815
{
6816-
"category": "webhooks",
6816+
"category": "repos",
68176817
"slug": "get-a-repository-webhook",
6818-
"subcategory": "repos",
6818+
"subcategory": "webhooks",
68196819
"verb": "get",
68206820
"requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}",
68216821
"additional-permissions": [],
68226822
"access": "read"
68236823
},
68246824
{
6825-
"category": "webhooks",
6825+
"category": "repos",
68266826
"slug": "update-a-repository-webhook",
6827-
"subcategory": "repos",
6827+
"subcategory": "webhooks",
68286828
"verb": "patch",
68296829
"requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}",
68306830
"additional-permissions": [],
68316831
"access": "write"
68326832
},
68336833
{
6834-
"category": "webhooks",
6834+
"category": "repos",
68356835
"slug": "delete-a-repository-webhook",
6836-
"subcategory": "repos",
6836+
"subcategory": "webhooks",
68376837
"verb": "delete",
68386838
"requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}",
68396839
"additional-permissions": [],
68406840
"access": "write"
68416841
},
68426842
{
6843-
"category": "webhooks",
6843+
"category": "repos",
68446844
"slug": "get-a-webhook-configuration-for-a-repository",
6845-
"subcategory": "repo-config",
6845+
"subcategory": "webhooks",
68466846
"verb": "get",
68476847
"requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/config",
68486848
"additional-permissions": [],
68496849
"access": "read"
68506850
},
68516851
{
6852-
"category": "webhooks",
6852+
"category": "repos",
68536853
"slug": "update-a-webhook-configuration-for-a-repository",
6854-
"subcategory": "repo-config",
6854+
"subcategory": "webhooks",
68556855
"verb": "patch",
68566856
"requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/config",
68576857
"additional-permissions": [],
68586858
"access": "write"
68596859
},
68606860
{
6861-
"category": "webhooks",
6861+
"category": "repos",
68626862
"slug": "list-deliveries-for-a-repository-webhook",
6863-
"subcategory": "repo-deliveries",
6863+
"subcategory": "webhooks",
68646864
"verb": "get",
68656865
"requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries",
68666866
"additional-permissions": [],
68676867
"access": "read"
68686868
},
68696869
{
6870-
"category": "webhooks",
6870+
"category": "repos",
68716871
"slug": "get-a-delivery-for-a-repository-webhook",
6872-
"subcategory": "repo-deliveries",
6872+
"subcategory": "webhooks",
68736873
"verb": "get",
68746874
"requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}",
68756875
"additional-permissions": [],
68766876
"access": "read"
68776877
},
68786878
{
6879-
"category": "webhooks",
6879+
"category": "repos",
68806880
"slug": "redeliver-a-delivery-for-a-repository-webhook",
6881-
"subcategory": "repo-deliveries",
6881+
"subcategory": "webhooks",
68826882
"verb": "post",
68836883
"requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts",
68846884
"additional-permissions": [],
68856885
"access": "write"
68866886
},
68876887
{
6888-
"category": "webhooks",
6888+
"category": "repos",
68896889
"slug": "ping-a-repository-webhook",
6890-
"subcategory": "repos",
6890+
"subcategory": "webhooks",
68916891
"verb": "post",
68926892
"requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/pings",
68936893
"additional-permissions": [],
68946894
"access": "read"
68956895
},
68966896
{
6897-
"category": "webhooks",
6897+
"category": "repos",
68986898
"slug": "test-the-push-repository-webhook",
6899-
"subcategory": "repos",
6899+
"subcategory": "webhooks",
69006900
"verb": "post",
69016901
"requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/tests",
69026902
"additional-permissions": [],

0 commit comments

Comments
 (0)