apidoc: finish api discovery