IHTSDO / SNOMED-in-5-minutes

Easy-to-use tutorials for accessing SNOMED APIs within 5 min using various programming languages
Other
123 stars 56 forks source link

Examples now fail #18

Closed mgraauw closed 4 years ago

mgraauw commented 4 years ago

The example code fails. URL's like: https://browser.ihtsdotools.org/snowstorm/snomed-ct/v2/browser/MAIN/2019-07-31/concepts/109152007 which used to retrieve some json, now redirect to: https://browser.ihtsdotools.org/snowstorm/snomed-ct/swagger-ui.html Which has a field for an API key.

Apparently something server-side has changed which is not reflected in the examples here.

kaicode commented 4 years ago

Hi @mgraauw, thanks for spotting this. Yes, we just changed the API path of our public Snowstorm terminology server which serves these requests. The /v2 part of the path has been removed. The following is the new version of your example URL - https://browser.ihtsdotools.org/snowstorm/snomed-ct/browser/MAIN/2019-07-31/concepts/109152007

I will update all examples today.

mgraauw commented 4 years ago

Thanks for the incredibly speedy response! Yes, that helps.

kaicode commented 4 years ago

I've updated all examples in master. Please pull 👍 😸