BSV blockchainBSV blockchain

GASP — provide a foreign sync response

POST/requestSyncResponse

Used by a peer overlay node to request a sync response. The engine’s provideForeignSyncResponse method handles the request. The topic to sync is provided in the x-bsv-topic header.

Header Parameters

x-bsv-topicstringrequired

The topic name being synced.

Response

Sync response from the engine.

Bad request — validation error or missing required field.

statusstring
messagestring
codestring

Stable machine-readable error code (see specs/errors.md).

Unexpected internal error.

statusstring
messagestring
codestring

Stable machine-readable error code (see specs/errors.md).

Request
curl -X POST "https://{fqdn}/requestSyncResponse" \
  -H "Content-Type: application/json" \
  -H "x-bsv-topic: <x-bsv-topic>" \
  -d '{}'
Response
{}