common api