Design Specs: REST web service

From WormBaseWiki
Jump to navigationJump to search

User may download the widget data in different formats

JSON, XML, YAML, HTML(this is now same as YAML but with hyperlink, should consider change in future)  

There is a 'download' button inside each widget, or you could go directly to the url eg.

http://xshi.wormbase.org/rest/widget/gene/WBGene00006763/overview?content-type=xml

or specify the header content-type.


In the long term, we will have a page that documents the API.