added configuration in Api