how to domain API using OpenSRS