Tighten use of api_base in rest_minimal