api consistency improvements

working on more consistent data access setup across
the different endpoints