Fix API so that a config key is a query parameter rather than a query path