API Gateway: Managing replication for the OTK database