Overview#
Initialize synchronization between a Storage device and Privicore to ensure data consistency and update device state.Synchronize Device#
Endpoint: POST /storage/sync-deviceContent-Type: application/x-www-form-urlencodedRequest Parameters#
| Parameter | Type | Required | Description |
|---|
deviceIdentifier | string | Yes | The unique identifier of the Storage device to synchronize |
Use Case#
Use this endpoint to trigger synchronization for a Storage device. Synchronization:Verifies data integrity between Privicore and the Storage device
Updates the device with any new encrypted data it may have missed
Reconciles discrepancies in stored data
Reports device storage status and capacity to Privicore
A Storage device comes back online after extended offline periods
You suspect data inconsistencies between devices
Manual verification of storage state is required
Device has been reconnected after network issues
Synchronization is initiated by Privicore and coordinated via RabbitMQ
The device must be online and connected to receive sync commands
Large sync operations may take time depending on data volume
Regular synchronization helps maintain data integrity across distributed storage