complete common api