This xBrowserSync service provides a REST API that xBrowserSync clients can sync to. The available API methods are listed below.
For more information visit the xBrowserSync website or check out the API GitHub repo.
/bookmarks
Creates a new (empty) bookmark sync and returns the corresponding ID.
Post body example:
{
"version":"1.0.0"
}
Response example:
{
"id":"52758cb942814faa9ab255208025ae59",
"lastUpdated":"2016-07-06T12:43:16.866Z",
"version":"1.0.0"
}
/bookmarks/{id}
Retrieves the bookmark sync corresponding to the provided sync ID.
Query params:
Response example:
{
"bookmarks":"DWCx6wR9ggPqPRrhU4O4oLN5P09oULX4Xt+ckxswtFNds...",
"lastUpdated":"2016-07-06T12:43:16.866Z",
"version":"1.0.0"
}
/bookmarks/{id}
Updates the bookmark sync data corresponding to the provided sync ID with the provided encrypted bookmarks data.
Query params:
Post body example:
{
"bookmarks":"DWCx6wR9ggPqPRrhU4O4oLN5P09oULX4Xt+ckxswtFNds...",
"lastUpdated":"2016-07-06T12:43:16.866Z",
}
Response example:
{
"lastUpdated":"2016-07-06T12:43:16.866Z"
}
/bookmarks/{id}/lastUpdated
Retrieves the bookmark sync last updated timestamp corresponding to the provided sync ID.
Query params:
Response example:
{
"lastUpdated":"2016-07-06T12:43:16.866Z"
}
/bookmarks/{id}/version
Retrieves the bookmark sync version number of the xBrowserSync client used to create the bookmarks sync corresponding to the provided sync ID.
Query params:
Response example:
{
"version":"1.0.0"
}
/info
Retrieves information describing the xBrowserSync service.
Response example:
{
"maxSyncSize":204800,
"message":"",
"status":1,
"version":"1.0.0"
}