mock apis for client devices