API breaks for 'meddraSocCode' in drugWarnings

This used to be a valid parameter in API calls for drug warnings, now it throws an error for an incorrect request. Easy to fix on the user end, but maybe prevent errors in existing code. Thank you for the great work.

drugWarnings {
warningType
description
toxicityClass
meddraSocCode
year
references {
id
source
url
}
}

Dear Jan,
thank you for reaching out to us!

We have deliberately removed the meddraSocCode API endpoint because we now map the drug warning to an EFO term.
You can find more information here.

Best wishes,

Annalisa

1 Like