98 lines
2.0 KiB
Markdown
98 lines
2.0 KiB
Markdown
[Skip to content](https://coolify.io/docs/api-reference/api/operations/load-repositories#VPContent)
|
||
|
||
Return to top
|
||
|
||
Load Repositories for a GitHub App[](https://coolify.io/docs/api-reference/api/operations/load-repositories#load-repositories-for-a-github-app)
|
||
|
||
=================================================================================================================================================
|
||
|
||
GET
|
||
|
||
/github-apps/{github\_app\_id}/repositories
|
||
|
||
Fetch repositories from GitHub for a given GitHub app.
|
||
|
||
Authorizations[](https://coolify.io/docs/api-reference/api/operations/load-repositories#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-repositories#parameters)
|
||
|
||
-------------------------------------------------------------------------------------------------
|
||
|
||
### Path Parameters
|
||
|
||
github\_app\_id\*
|
||
|
||
GitHub App ID
|
||
|
||
Type
|
||
|
||
integer
|
||
|
||
Required
|
||
|
||
Responses[](https://coolify.io/docs/api-reference/api/operations/load-repositories#responses)
|
||
|
||
-----------------------------------------------------------------------------------------------
|
||
|
||
200400401404
|
||
|
||
Repositories loaded successfully.
|
||
|
||
Content-Type
|
||
|
||
application/json
|
||
|
||
SchemaJSON
|
||
|
||
JSON
|
||
|
||
{
|
||
|
||
"repositories": \[\
|
||
\
|
||
{\
|
||
\
|
||
}\
|
||
\
|
||
\]
|
||
|
||
}
|
||
|
||
GET
|
||
|
||
/github-apps/{github\_app\_id}/repositories
|
||
|
||
Playground[](https://coolify.io/docs/api-reference/api/operations/load-repositories#playground)
|
||
|
||
-------------------------------------------------------------------------------------------------
|
||
|
||
Authorization
|
||
|
||
bearerAuth
|
||
|
||
Variables
|
||
|
||
Key
|
||
|
||
Value
|
||
|
||
github\_app\_id\*
|
||
|
||
Try it out
|
||
|
||
Samples[](https://coolify.io/docs/api-reference/api/operations/load-repositories#samples)
|
||
|
||
-------------------------------------------------------------------------------------------
|
||
|
||
Powered by [VitePress OpenAPI](https://github.com/enzonotario/vitepress-openapi)
|