Skip to main content

Start a SnapRAID sync

POST 

/parity/sync

Required role: admin. Only an account or token with the admin role can call this operation.

Example request
curl --request POST \
--header "Authorization: Bearer $HOSERVA_TOKEN" \
--header "Content-Type: application/json" \
--data @body.json \
"https://$HOSERVA_HOST:8008/api/v1/parity/sync"

Queues a sync job through the threshold guard. A non-dry-run sync past a tripped guard requires confirm: true after reviewing the diff. Refused with 409 on_battery while the on-battery hold is active — scheduled syncs are held until power returns.

Request​

Responses​

The queued or running sync job.