actions

List repository Actions policies

List all Actions policies for a repository.

get/repos/{owner}/{repo}/actions/policies

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.

Query parameters

per_pageinteger

The number of results per page (max 100). For more information, see "Using pagination in the REST API."

pageinteger

The page number of the results to fetch. For more information, see "Using pagination in the REST API."

has_parentsboolean

Include policies configured at higher levels that apply to this repository

Response

Response

total_countinteger required

The total number of Actions policies.

Changes