Files
Proxmox-Coolify-Manager/coolify_skill/references/ops/load-branches.md
T

122 lines
2.1 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[Skip to content](https://coolify.io/docs/api-reference/api/operations/load-branches#VPContent)
Return to top
Load Branches for a GitHub Repository[](https://coolify.io/docs/api-reference/api/operations/load-branches#load-branches-for-a-github-repository)
===================================================================================================================================================
GET
/github-apps/{github\_app\_id}/repositories/{owner}/{repo}/branches
Fetch branches from GitHub for a given repository.
Authorizations[](https://coolify.io/docs/api-reference/api/operations/load-branches#authorizations)
-----------------------------------------------------------------------------------------------------
bearerAuth
Go to `Keys & Tokens` / `API tokens` and create a new token. Use the token as the bearer token.
Type
HTTP (bearer)
Parameters[](https://coolify.io/docs/api-reference/api/operations/load-branches#parameters)
---------------------------------------------------------------------------------------------
### Path Parameters
github\_app\_id\*
GitHub App ID
Type
integer
Required
owner\*
Repository owner
Type
string
Required
repo\*
Repository name
Type
string
Required
Responses[](https://coolify.io/docs/api-reference/api/operations/load-branches#responses)
-------------------------------------------------------------------------------------------
200400401404
Branches loaded successfully.
Content-Type
application/json
SchemaJSON
JSON
{
"branches": \[\
\
{\
\
}\
\
\]
}
GET
/github-apps/{github\_app\_id}/repositories/{owner}/{repo}/branches
Playground[](https://coolify.io/docs/api-reference/api/operations/load-branches#playground)
---------------------------------------------------------------------------------------------
Authorization
bearerAuth
Variables
Key
Value
github\_app\_id\*
owner\*
repo\*
Try it out
Samples[](https://coolify.io/docs/api-reference/api/operations/load-branches#samples)
---------------------------------------------------------------------------------------
Powered by [VitePress OpenAPI](https://github.com/enzonotario/vitepress-openapi)