Trigger an offline data sync (admin)

POST/api/v1/airgap/sync

Parameters

This endpoint does not accept parameters.

Responses

202Sync initiated

Request

curl -X POST "https://api.knowledgetree.dev/api/v1/airgap/sync" \
  -H "Authorization: Bearer $KT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "sync_type": "plugin_registry", "source_path": "/mnt/usb/kt-sync" }'

Response

202Sync initiated
Example response not yet documented.