Skip to content

Bandum API (runs on your machine): sync ​

Sync the copy from GitHub

This page is generated from openapi.yaml by npm run gen, so do not edit it by hand. Authentication is described on the overview page.

POST/v1/sync

Sync all repos now (do not wait for the schedule)

Responses ​

CodeDescriptionType
202Sync queued; see the result at /v1/reposapplication/json · object
401Not signed inapplication/problem+json · object

Example response ​

json
{
  "repos": [
    "string"
  ]
}

Call with curl ​

bash
curl -X POST "http://localhost:8070/v1/sync" \
  -H "Authorization: Bearer $BANDUM_LOCAL_KEY"