Skip to content

Commit

Permalink
Merge pull request #33680 from github/repo-sync
Browse files Browse the repository at this point in the history
Repo sync
  • Loading branch information
docs-bot authored Jun 24, 2024
2 parents 58b4020 + a8a3228 commit c3bc6e3
Show file tree
Hide file tree
Showing 22 changed files with 2,202 additions and 11 deletions.
14 changes: 14 additions & 0 deletions content/rest/users/attestations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: REST API endpoints for artifact attestations
shortTitle: Attestations
intro: Use the REST API to manage artifact attestations.
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
fpt: '*'
ghec: '*'
topics:
- API
autogenerated: rest
allowTitleToDifferFromFilename: true
---

<!-- Content after this section is automatically generated -->
9 changes: 6 additions & 3 deletions content/rest/users/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
title: REST API endpoints for users
shortTitle: Users
allowTitleToDifferFromFilename: true
intro: Use the REST API to get public and private information about authenticated users.
intro: >-
Use the REST API to get public and private information about authenticated
users.
redirect_from:
- /v3/users
- /rest/reference/users
Expand All @@ -13,14 +15,15 @@ versions:
topics:
- API
children:
- /users
- /attestations
- /blocking
- /emails
- /followers
- /gpg-keys
- /keys
- /ssh-signing-keys
- /social-accounts
- /ssh-signing-keys
- /users
autogenerated: rest
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3452,6 +3452,30 @@
}
]
},
"attestations": {
"title": "Attestations",
"displayTitle": "Repository permissions for \"Attestations\"",
"permissions": [
{
"category": "repos",
"slug": "create-an-attestation",
"subcategory": "repos",
"verb": "post",
"requestPath": "/repos/{owner}/{repo}/attestations",
"additional-permissions": false,
"access": "write"
},
{
"category": "repos",
"slug": "list-attestations",
"subcategory": "repos",
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/attestations/{subject_digest}",
"additional-permissions": false,
"access": "read"
}
]
},
"checks": {
"title": "Checks",
"displayTitle": "Repository permissions for \"Checks\"",
Expand Down
24 changes: 24 additions & 0 deletions src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json
Original file line number Diff line number Diff line change
Expand Up @@ -2962,6 +2962,12 @@
"verb": "delete",
"requestPath": "/orgs/{org}"
},
{
"slug": "list-attestations",
"subcategory": "orgs",
"verb": "get",
"requestPath": "/orgs/{org}/attestations/{subject_digest}"
},
{
"slug": "list-users-blocked-by-an-organization",
"subcategory": "blocking",
Expand Down Expand Up @@ -4148,6 +4154,18 @@
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/activity"
},
{
"slug": "create-an-attestation",
"subcategory": "repos",
"verb": "post",
"requestPath": "/repos/{owner}/{repo}/attestations"
},
{
"slug": "list-attestations",
"subcategory": "repos",
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/attestations/{subject_digest}"
},
{
"slug": "get-all-autolinks-of-a-repository",
"subcategory": "autolinks",
Expand Down Expand Up @@ -4878,6 +4896,12 @@
"verb": "get",
"requestPath": "/users/{username}"
},
{
"slug": "list-attestations",
"subcategory": "attestations",
"verb": "get",
"requestPath": "/users/{username}/attestations/{subject_digest}"
},
{
"slug": "list-followers-of-a-user",
"subcategory": "followers",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4212,6 +4212,34 @@
}
]
},
"attestations": {
"title": "Attestations",
"displayTitle": "Repository permissions for \"Attestations\"",
"permissions": [
{
"category": "repos",
"slug": "create-an-attestation",
"subcategory": "repos",
"verb": "post",
"requestPath": "/repos/{owner}/{repo}/attestations",
"access": "write",
"user-to-server": true,
"server-to-server": true,
"additional-permissions": false
},
{
"category": "repos",
"slug": "list-attestations",
"subcategory": "repos",
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/attestations/{subject_digest}",
"access": "read",
"user-to-server": true,
"server-to-server": true,
"additional-permissions": false
}
]
},
"checks": {
"title": "Checks",
"displayTitle": "Repository permissions for \"Checks\"",
Expand Down
24 changes: 24 additions & 0 deletions src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2482,6 +2482,12 @@
"verb": "delete",
"requestPath": "/orgs/{org}"
},
{
"slug": "list-attestations",
"subcategory": "orgs",
"verb": "get",
"requestPath": "/orgs/{org}/attestations/{subject_digest}"
},
{
"slug": "list-users-blocked-by-an-organization",
"subcategory": "blocking",
Expand Down Expand Up @@ -3680,6 +3686,18 @@
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/activity"
},
{
"slug": "create-an-attestation",
"subcategory": "repos",
"verb": "post",
"requestPath": "/repos/{owner}/{repo}/attestations"
},
{
"slug": "list-attestations",
"subcategory": "repos",
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/attestations/{subject_digest}"
},
{
"slug": "get-all-autolinks-of-a-repository",
"subcategory": "autolinks",
Expand Down Expand Up @@ -4200,6 +4218,12 @@
"verb": "get",
"requestPath": "/users/{username}"
},
{
"slug": "list-attestations",
"subcategory": "attestations",
"verb": "get",
"requestPath": "/users/{username}/attestations/{subject_digest}"
},
{
"slug": "list-followers-of-a-user",
"subcategory": "followers",
Expand Down
24 changes: 24 additions & 0 deletions src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2962,6 +2962,12 @@
"verb": "delete",
"requestPath": "/orgs/{org}"
},
{
"slug": "list-attestations",
"subcategory": "orgs",
"verb": "get",
"requestPath": "/orgs/{org}/attestations/{subject_digest}"
},
{
"slug": "list-users-blocked-by-an-organization",
"subcategory": "blocking",
Expand Down Expand Up @@ -4148,6 +4154,18 @@
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/activity"
},
{
"slug": "create-an-attestation",
"subcategory": "repos",
"verb": "post",
"requestPath": "/repos/{owner}/{repo}/attestations"
},
{
"slug": "list-attestations",
"subcategory": "repos",
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/attestations/{subject_digest}"
},
{
"slug": "get-all-autolinks-of-a-repository",
"subcategory": "autolinks",
Expand Down Expand Up @@ -4878,6 +4896,12 @@
"verb": "get",
"requestPath": "/users/{username}"
},
{
"slug": "list-attestations",
"subcategory": "attestations",
"verb": "get",
"requestPath": "/users/{username}/attestations/{subject_digest}"
},
{
"slug": "list-followers-of-a-user",
"subcategory": "followers",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4112,6 +4112,30 @@
}
]
},
"attestations": {
"title": "Attestations",
"displayTitle": "Repository permissions for \"Attestations\"",
"permissions": [
{
"category": "repos",
"slug": "create-an-attestation",
"subcategory": "repos",
"verb": "post",
"requestPath": "/repos/{owner}/{repo}/attestations",
"additional-permissions": false,
"access": "write"
},
{
"category": "repos",
"slug": "list-attestations",
"subcategory": "repos",
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/attestations/{subject_digest}",
"additional-permissions": false,
"access": "read"
}
]
},
"checks": {
"title": "Checks",
"displayTitle": "Repository permissions for \"Checks\"",
Expand Down
24 changes: 24 additions & 0 deletions src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json
Original file line number Diff line number Diff line change
Expand Up @@ -3206,6 +3206,12 @@
"verb": "delete",
"requestPath": "/orgs/{org}"
},
{
"slug": "list-attestations",
"subcategory": "orgs",
"verb": "get",
"requestPath": "/orgs/{org}/attestations/{subject_digest}"
},
{
"slug": "get-the-audit-log-for-an-organization",
"subcategory": "orgs",
Expand Down Expand Up @@ -4476,6 +4482,18 @@
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/activity"
},
{
"slug": "create-an-attestation",
"subcategory": "repos",
"verb": "post",
"requestPath": "/repos/{owner}/{repo}/attestations"
},
{
"slug": "list-attestations",
"subcategory": "repos",
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/attestations/{subject_digest}"
},
{
"slug": "get-all-autolinks-of-a-repository",
"subcategory": "autolinks",
Expand Down Expand Up @@ -5280,6 +5298,12 @@
"verb": "get",
"requestPath": "/users/{username}"
},
{
"slug": "list-attestations",
"subcategory": "attestations",
"verb": "get",
"requestPath": "/users/{username}/attestations/{subject_digest}"
},
{
"slug": "list-followers-of-a-user",
"subcategory": "followers",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5060,6 +5060,34 @@
}
]
},
"attestations": {
"title": "Attestations",
"displayTitle": "Repository permissions for \"Attestations\"",
"permissions": [
{
"category": "repos",
"slug": "create-an-attestation",
"subcategory": "repos",
"verb": "post",
"requestPath": "/repos/{owner}/{repo}/attestations",
"access": "write",
"user-to-server": true,
"server-to-server": true,
"additional-permissions": false
},
{
"category": "repos",
"slug": "list-attestations",
"subcategory": "repos",
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/attestations/{subject_digest}",
"access": "read",
"user-to-server": true,
"server-to-server": true,
"additional-permissions": false
}
]
},
"checks": {
"title": "Checks",
"displayTitle": "Repository permissions for \"Checks\"",
Expand Down
Loading

0 comments on commit c3bc6e3

Please sign in to comment.