finish API doc