min_api is specified in rest_client call