DRY: use _API_ROOT directly in _get_endpoint