Bandum API (runs on your machine): sync
Sync the copy from GitHub
This page is generated from
openapi.yamlbynpm run gen, so do not edit it by hand. Authentication is described on the overview page.
/v1/syncSync all repos now (do not wait for the schedule)
Responses
| Code | Description | Type |
|---|---|---|
| 202 | Sync queued; see the result at /v1/repos | application/json · object |
| 401 | Not signed in | application/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"