Add first databas call to rest API