Because of the dataset access changes to protect study data, endpoints under /studies have the @Authorized annotation. Even if we don't use the user's identity, it means the clear-metadata-cache endpoint can no longer be called from a browser because it requires the Auth-Key header. e.g. this will work:
We need to move this to its own top-level URL i.e. eda/clear-study-metadata-cache; doing so will require a docker-compose update to route the new path.
Because of the dataset access changes to protect study data, endpoints under /studies have the @Authorized annotation. Even if we don't use the user's identity, it means the clear-metadata-cache endpoint can no longer be called from a browser because it requires the Auth-Key header. e.g. this will work:
curl -H "Auth-Key:220698270" https://qa.restricted.clinepidb.org/eda/studies/clear-metadata-cache
We need to move this to its own top-level URL i.e. eda/clear-study-metadata-cache; doing so will require a docker-compose update to route the new path.