[PATCH 2/2] [frontend] enhance API documentation