Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[bioontology-support] Issues with Batch service

Paolo Ciccarese paolo.ciccarese at gmail.com
Fri Aug 22 11:43:28 PDT 2014


Hi,
is there any reason why the following curl (with a proper apikey) would not
work?
The payload is exactly the same that is displayed in the example in the
documentation
http://data.bioontology.org/documentation#nav_batch

curl -i -X POST http://data.bioontology.org/batch \
-H "Authorization: apikey token=blah" \
-d '{"http://www.w3.org/2002/07/owl#Class":{"collection":[{"ontology":"
http://data.bioontology.org/ontologies/BRO"},{"ontology":"
http://data.bioontology.org/ontologies/BRO"},{"ontology":"
http://data.bioontology.org/ontologies/BRO
"}],"include":"prefLabel,synonym,semanticTypes"}}'

It is returning a 422
{"errors":["Batch endpoint only support calls to owl:Class
resources"],"status":422}

I have also groovy code doing the same and getting back the same message.

Best,
Paolo


-- 
Dr. Paolo Ciccarese
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/bioontology-support/attachments/20140822/a58abb38/attachment.html>


More information about the bioontology-support mailing list