doc for api package