External DocumentationTo learn more, visit the GitHub documentation.
Parameters
| Parameter | Description |
|---|---|
| Owner | The organization or person who owns the repository. github.com// |
| Page | Page number of the results to fetch. |
| Per Page | The number of results per page (max 100). |
| Repo | Name of the repository owned by the owner. github.com// |
| Return All Pages | Automatically fetch all resources, page by page. |
Example Output
[
{
"name": "<string>",
"commit": {
"sha": "<string>",
"url": "<string>"
},
"protected": false,
"protection": {
"enabled": false,
"required_status_checks": {
"enforcement_level": "<string>",
"contexts": [],
"checks": []
}
},
"protection_url": "<string>"
},
{
"name": "<string>",
"commit": {
"sha": "<string>",
"url": "<string>"
},
"protected": false,
"protection": {
"enabled": false,
"required_status_checks": {
"enforcement_level": "<string>",
"contexts": [],
"checks": []
}
},
"protection_url": "<string>"
}
]