Currently the /redirect endpoint uses the tsv file at https://cdn.humanatlas.io/digital-objects/reference-entity-ids.tsv to get DOI redirection information for IU DOI resources. The URL pointing to this file is set in the app.cfg file with the REDIRECTION_INFO_URL variable.
We need to redirect more resource DOIs that are not in this file. To enable redirection of more DOIs read from a second tsv file, formatted (columns) exactly like the existing tsv file, located at https://raw.githubusercontent.com/hubmapconsortium/entity-api/refs/heads/main/doi-redirect/doi-redirects.tsv. This file should be added to the app.cfg under the name SECONDARY_REDIRECTION_INFO_URL.
Currently the
/redirectendpoint uses the tsv file athttps://cdn.humanatlas.io/digital-objects/reference-entity-ids.tsvto get DOI redirection information for IU DOI resources. The URL pointing to this file is set in the app.cfg file with theREDIRECTION_INFO_URLvariable.We need to redirect more resource DOIs that are not in this file. To enable redirection of more DOIs read from a second tsv file, formatted (columns) exactly like the existing tsv file, located at
https://raw.githubusercontent.com/hubmapconsortium/entity-api/refs/heads/main/doi-redirect/doi-redirects.tsv. This file should be added to the app.cfg under the nameSECONDARY_REDIRECTION_INFO_URL.