Skip to content

Trigger manual sync

POST
/git-repos/{id}/sync

Immediately syncs the git repo (pull + push). Returns when complete unless background is true.

Authorizations

BearerAuth

JWT token from login

Type
HTTP (bearer)
or
AccessToken

Personal access token. Value: Token <your-token>

Type
API Key (header: Authorization)

Parameters

Path Parameters

id*
Type
string
Required

Request Body

application/json
JSON
{
  
"background": false
}

Responses

Sync complete

application/json
JSON
{
  
"message": "string",
  
"summary": {
  
}
}

Playground

Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI