api endpoint config, proper json