api for the snowbase app