Help:Web Services

From EcoliWiki
Jump to: navigation, search

EcoliWiki web services are designed to help monitor the content of EcoliWiki without having to log in

Recent changes RSS feed

EcoliWiki has the standard mediawiki Recent Changes rss and atom feeds. How useful these are is not clear.



The is_edited service allows remote sites to monitor whether a page on the wiki has been revised by a user. It excludes bot edits.


  • send an identifier or a page title
    • id: takes a GO id as GO:xxxxx (optional)
    • page: the title of a page in the GONUTS wiki. Page queries use SQL LIKE to find matches in the page title (See example).
    • exclude (optional) excludes entries where the number of revisions is <= excluded.
    You should only send id OR page. If you pass both id and page, the service should still work, but it may decide which to return based on the order in which it sees the parameters.
  • date: a date in the format YYYYMMDD
  • help: redirect to this page. Passing a help parameter overrides any other parts of the query and redirects here

A valid query uses either id or page. The date parameter is optional.


Query a page or group of pages

Returns revision data for the lacZ:Gene page in EcoliWiki: <xml><?xml version="1.0" encoding="UTF-8"?>

<message status="ok" description="normal">
        <last>20100217 05:39:25Z</last>

You can use % as a wildcard:

Query pages annotated to a GO id

Returns <xml> <?xml version="1.0" encoding="UTF-8"?> <message status="ok" description="normal"> <metadata>


</metadata> <revision_data>

     <last>20090929 19:02:31Z</last>

</revision_data> <revision_data>

     <last>20100304 17:11:01Z</last>

</revision_data> </message> </xml>