basic api access to db.distro collection