27 Jan 2012 02:10
Re: Adding things to the API
Hi Robert, Not sure what the answer to the skinning question is, Don may have a better idea. If there is stuff in the database, I am sure it can be exposed in the API. How Taverna and other applications might be able to make use of this will need to be discussed further. Semantic links in packs can be requested with a URL like the following: http://www.myexperiment.org/pack.xml?id=198&elements=relationships This will return somthing like: <pack uri="http://www.myexperiment.org/pack.xml?id=198" resource="http://www.myexperiment.org/packs/198"> <relationships> <relationship uri="http://www.myexperiment.org/relationship.xml?id=6"/> <relationship uri="http://www.myexperiment.org/relationship.xml?id=7"/> </relationships> </pack> You can then do GET/POST/DELETE using relationship.xml URI. See http://wiki.myexperiment.org/index.php/Developer:RelationshipsResource for more details. Tags (taggings) for packs have been available for some time, see http://wiki.myexperiment.org/index.php/Developer:TaggingsResource. Obviously, you'd change the subject of the tagging to a pack rather than a workflow as shown on the wiki page cited. A comprehensive listing of what the API can currently do is available at(Continue reading)
RSS Feed