Update API to do -all- the logic
Move whole GET request into own API