API config now makes use of oc_config