Originally, there was no authentication check, and the frontend repo fetched export metadata directly using axiosInstance. After adding support for version=:draft and authentication to this API, an use case makes more sense to simplify frontend infrastructure code, better reuse and better test boundary
Related Dataverse PR: IQSS/dataverse#11398 IQSS/dataverse-frontend#1007
Originally, there was no authentication check, and the frontend repo fetched
export metadatadirectly using axiosInstance. After adding support forversion=:draftand authentication to this API, an use case makes more sense to simplify frontend infrastructure code, better reuse and better test boundaryRelated Dataverse PR: IQSS/dataverse#11398 IQSS/dataverse-frontend#1007