Skip to content

Developer:TypesResource

Finn Bacall edited this page May 19, 2017 · 1 revision

Table of Contents

Index of types

URI: GET http://www.myexperiment.org/types.xml

Example output:

<?xml version="1.0"?>
<types>
  <type resource="http://www.myexperiment.org/content_types/1" uri="http://www.myexperiment.org/type.xml?id=1">Taverna 1</type>
  <type resource="http://www.myexperiment.org/content_types/2" uri="http://www.myexperiment.org/type.xml?id=2">Taverna 2</type>
  <type resource="http://www.myexperiment.org/content_types/3" uri="http://www.myexperiment.org/type.xml?id=3">Trident (XOML)</type>
  <type resource="http://www.myexperiment.org/content_types/4" uri="http://www.myexperiment.org/type.xml?id=4">Trident (Package)</type>
  <type resource="http://www.myexperiment.org/content_types/5" uri="http://www.myexperiment.org/type.xml?id=5">Chemistry Plan</type>
  ...
</types>

Create type

Planned.

Read type

URI: GET http://www.myexperiment.org/type.xml?id=1

Example output:

<?xml version="1.0"?>
<type uri="http://www.myexperiment.org/type.xml?id=1" resource="http://www.myexperiment.org/content_types/1">
  <id>1</id>
  <title>Taverna 1</title>
  <description>&amp;lt;p&amp;gt;Taverna is an open source family of tools for designing and executing workflows, created by the myGrid project and funded by OMII UK, the EPSRC, BBRC, ESRC, JISC and Microsoft.&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;The family consists of the Taverna Engine (the workhorse), and the Taverna Workbench (desktop client) and Taverna Server (remote workflow execution server) that sit on top of the Engine. See &amp;lt;a href="http://www.taverna.org.uk/"&amp;gt;http://www.taverna.org.uk/&amp;lt;/a&amp;gt; for further information.&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;The Taverna 1 Workbench is an earlier version of the workbench which is still available for download. Taverna 1 workflow descriptions are produced and consumed by this version of the workbench. They are in an XML format also known as SCUFL.&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;Note that the latest version of the workbench is Taverna 2 and is the recommended version. Most Taverna 1 workflows can also be read using the Taverna 2 workbench.&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;Users of the Taverna 1 workbench can access myExperiment from the workbench using a &#x201C;plugin&#x201D; which can be downloaded within the workbench.  The plugin allows users to browse, download and open workflows from myExperiment within Taverna.&amp;lt;/p&amp;gt;</description>
  <mime-type>application/vnd.taverna.scufl+xml</mime-type>
  <created-at>Thu May 21 10:32:57 +0100 2009</created-at>
</type>

Update type

Planned.

Delete type

Planned.

Elements for type

  • id - the id of the type
  • title - the title of the type (e.g. Taverna 1)
  • description - a description of the type
  • mime-type - the actual mime type of the type (e.g. application/vnd.taverna.scufl+xml)
  • created-at - the date/time the type was created
  • updated-at - the date/time the type was last modified