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] Questions regarding the REST API

Michael Dorf mdorf at stanford.edu
Thu Feb 28 15:40:11 PST 2019


Hi John,

Thank you, that’s a great catch! Indeed, the error response should have a consistent output, and what you’re seeing is a bug. I’ve logged it here:

https://github.com/ncbo/ontologies_api/issues/55

Thanks again for your report. We very much appreciate it!

Michael



On Feb 28, 2019, at 3:54 AM, John Zobolas <john.zobolas at ntnu.no<mailto:john.zobolas at ntnu.no>> wrote:

{

  *   "status": 401,
  *   "error": "You must provide a valid API Key. Your API Key can be obtained by logging in at bioportal.bioontology.org/account<http://bioportal.bioontology.org/account>"

}
which is different than the "standard" you mention:
{

  *
-
"errors": [
     *   "The search query must be provided via /search?q=<query>[&page=<pagenum>&pagesize=<pagesize>]"
],
  *   "status": 400

}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/bioontology-support/attachments/20190228/8393ce4a/attachment.html>


More information about the bioontology-support mailing list