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
http://wiki.myexperiment.org/index.php/Developer:API. Apart from some
detail of exactly what elements can be selected for each entity (e.g.
relationships for packs), Don and I believe the API documentation is
about as complete as we can make it.
Regards
David Newman
On 26/01/2012 21:27, robert Stevens wrote:
All
How do we get Finn's extensions for skinning into the myExperiment
API? It would be good to have this functionality available in third
party applications - taverna myexperiment plugin, where one might wish
to set the skin for a workflow.
There's a similar question for the setting off and access to the
semantic links and tags now available in Packs. It would be good to
have methods for dealing with this sort of thing available for the
semantic additions to packs.
I think Finn has or wil soon add these things as feature requests to
the issue tracker, but some discussion might be in order.
Thanks
Robert Stevens
Reader in bioHealth Informatics
School of Computer Science
University of Manchester
Oxford Road
Manchester
United Kingdom
M13 9PL
address@hidden
Blog: http://robertdavidstevens.wordpress.com
Home: http://www.cs.man.ac.uk/~stevensr
+44 161 275 6251
KBO
_______________________________________________
Myexperiment-discuss mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/myexperiment-discuss