added persistence 'findByID' to the api.js file
(cherry picked from commit e0146a4)