As a SkySync Admin, I would like the ability to create or rebuild the SkySync database. This is applicable to Microsoft SQL Server installations.
Overview
It is possible to set up SkySync using the REST API. This page provides sample calls you will use.
Test database connection
POST /v1/admin/db/test {"provider":"sqlserver","connection":"Server=server;Database=SkySyncV4dbname;Integrated Security=true;","embedded":"false"}
set database connection
PATCH /v1/admin/db {"provider":"sqlserver","connection":"Server=server;Database=SkySyncV4dbname;Integrated Security=true;","embedded":"false"}
create and/or update database
POST /v1/admin/db/upgrade
soft reset
POST /v1/admin/restart
get reset and application status
GET /v1/admin/status
get skysync service configuration
GET /v1/admin/config
activate license
POST /v1/licensing/activate?usage=true {"key":"myKey"}
accept eula
PATCH /v1/admin/config/acceptEula
create admin user
POST /v1/users {"login":"admin","password":"Passw0rd!"}