openphacts / GLOBAL

Global project issues [private for now. owner lee harland]
3 stars 0 forks source link

/compound/members/pages & /compound/tree/pharmacology/pages API commands fail in 2.2 #388

Closed jakhag closed 7 years ago

jakhag commented 7 years ago

The ChEBI classification seems to be missing. The response from the calls is not consistent (404 for Compound Class Members, 500 for Compound Class Pharmacology: List and the Hierarchy calls)

Compound class members: list    404 Not Found  http://alpha.openphacts.org:3002/compound/members/pages?uri=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FCHEBI_24431&app_id=f91c5b2b&app_key=18a5d823d0e4933ac5fe22a3d52974c1

Compound class pharmacology: list       500 Internal Server Error             http://alpha.openphacts.org:3002/compound/tree/pharmacology/pages?uri=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FCHEBI_100&app_id=f91c5b2b&app_key=18a5d823d0e4933ac5fe22a3d52974c1

randykerber commented 7 years ago

These both seem to work. Can someone examine the answers to see if they look correct?

randykerber commented 7 years ago

Assuming results are OK -- closing.

jakhag commented 7 years ago

Tested them again, both links are working now.