Commit inicial - estructura base del proyecto
This commit is contained in:
@@ -0,0 +1,121 @@
|
||||
[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)
|
||||
Reference in New Issue
Block a user