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

API queries are failing #3

Closed appersonj closed 6 years ago

appersonj commented 7 years ago

e.g. :

curl --silent http://browser.ihtsdotools.org/api/snomed/en-edition/v20160131/concepts/195967001 => Concept not found for ConceptId = 195967001


tried for several CONCEPT IDS, all failed Note that, the same IDs ARE visible in:
'http://browser.ihtsdotools.org/?perspective=full&conceptId1=195967001'

rorydavidson commented 7 years ago

this is down to the version available at that URL. The second URL bypasses the version, but if you specify then it should be v20170131 and the URL is: http://browser.ihtsdotools.org/api/snomed/en-edition/v20170131/concepts/195967001.

We will update the documentation as well.

priyaranjan-tokachichu commented 6 years ago

The version now needs to be updated with v20180131. It would be nice to update the API with requiring the latest version without mentioning the version.

rorydavidson commented 6 years ago

I've updated the version. The API has the version currently, but we'll look into defaulting to the most recent version if no edition is provided.