Difference between revisions of "Design Specs: REST web service"

From WormBaseWiki
Jump to navigationJump to search
 
Line 7: Line 7:
 
  http://xshi.wormbase.org/rest/widget/gene/WBGene00006763/overview?content-type=xml
 
  http://xshi.wormbase.org/rest/widget/gene/WBGene00006763/overview?content-type=xml
 
   
 
   
or specify the header content-type
+
or specify the header content-type.
 +
 
 +
 
 +
In the long term, we will have a page that documents the API.

Latest revision as of 22:41, 27 January 2011

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.