api and config mockup