Skip to main content

handle_sync

Function handle_sync 

Source
pub async fn handle_sync(
    req: HttpRequest,
    state: Data<AppState>,
) -> Result<HttpResponse, HaystackError>
Expand description

POST /api/federation/sync

Triggers sync_all() on all connectors. Returns a grid with name, result (entity count or error string), and ok (Bool).