[ensembl-dev] Ensembl REST API | GET xrefs/name/:species/:name
Ramiro Magno
ramiro.magno at gmail.com
Mon Oct 21 10:02:40 BST 2019
Hi Devs,
Still regarding this endpoint:
https://rest.ensembl.org/documentation/info/xref_name
Should not the responses return errors on not available genes?
Example: Let's query for the human gene "EMBL":
curl 'https://rest.ensembl.org/xrefs/name/human/EMBL?content-type=application/json'
-i -H 'Accept: application/json'
HTTP/1.1 200 OK
Vary: Content-Type
Content-Type: application/json
Content-Length: 2
X-Runtime: 0.015372
X-RateLimit-Limit: 55000
X-RateLimit-Reset: 123
X-RateLimit-Period: 3600
X-RateLimit-Remaining: 54999
Vary: Origin
Date: Mon, 21 Oct 2019 08:57:57 GMT
[]⏎
Cheers!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20191021/e89cdffb/attachment.html>
More information about the Dev
mailing list