S2-7 Add search to the api