Dear Team,
the API (https://www.xialab.ca/api/mapcompounds) does not seem to respond to the inputType argument.
At the moment, I can only retrieve mappings if inputType is ‘name’. (Actually, if I specify none at all, or give e.g. input.name =“hmdb” it remains to give the same result, all with status code 200)
This was topic here before, but never answered. On top it is based on the old API, hence I opted for opening a new topic.
Details for reproducing:
When providing the following query:
curl -X POST \
https://www.xialab.ca/api/mapcompounds \
-H 'Content-Type: application/json' \
-H 'cache-control: no-cache' \
-d '{
"queryList": "HMDB0000002;HMDB0170765" ,
"inputType": "hmdb"
}'
I’m able to connect (status code 200) but retrieve only NA’s :
{
"Query": [ "HMDB0000002", "HMDB0170765" ],
"Match": [ "NA", "NA" ],
"HMDB": [ "NA", "NA" ],
"PubChem": [ "NA", "NA" ],
"ChEBI": [ "NA", "NA" ],
"KEGG": [ "NA", "NA" ],
"METLIN": [ "NA", "NA" ],
"SMILES": [ "NA", "NA" ],
"Comment": [ "0", "0" ]
}
Thanks for your help!
Best,
Lea