Difference between revisions of "Design Specs: REST web service"
From WormBaseWiki
Jump to navigationJump to search (Created page with ' User may download the widget data in different formats (JSON, XML, YAML, HTML) There is a 'download' button inside each widget, or you could go directly to the url eg. ht…') |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
User may download the widget data in different formats | 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. | There is a 'download' button inside each widget, or you could go directly to the url eg. | ||
Line 8: | 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. | |
+ | |||
+ | |||
+ | 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.