actions
Get artifact and log retention settings for a repository
Gets retention settings for checks, workflow runs, commit statuses, artifacts, and logs for a repository.
Checks include check suites, check runs, and check annotations. These settings also apply to checks and commit statuses created by third-party integrations, and are not limited to data created by GitHub Actions.
OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
get/repos/{owner}/{repo}/actions/permissions/artifact-and-log-retention
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/repos/{owner}/{repo}/actions/permissions/artifact-and-log-retention
- Auth: none declared
Path parameters
ownerstring required
The account owner of the repository. The name is not case sensitive.
repostring required
The name of the repository without the .git extension. The name is not case sensitive.
Response
Response
Changes
No operation changes recorded.