API version 0.1
Table of Contents
Try it out
Method:
GET
POST
PUT
DELETE
URI:
Index requests
GET /announcements.xml
Example curl request:
curl http://www.myexperiment.org/announcements.xml
<?xml version="1.0"?>
<announcements>
<announcement resource="http://www.myexperiment.org/announcements/1" uri="http://www.myexperiment.org/announcement.xml?id=1">New announcements feature!</announcement>
<announcement resource="http://www.myexperiment.org/announcements/2" uri="http://www.myexperiment.org/announcement.xml?id=2">New reviews feature!</announcement>
<announcement resource="http://www.myexperiment.org/announcements/3" uri="http://www.myexperiment.org/announcement.xml?id=3">New updates and additions</announcement>
<announcement resource="http://www.myexperiment.org/announcements/4" uri="http://www.myexperiment.org/announcement.xml?id=4">Updated Group sharing!</announcement>
<announcement resource="http://www.myexperiment.org/announcements/5" uri="http://www.myexperiment.org/announcement.xml?id=5">myExperiment mentioned in Nature magazine!</announcement>
<announcement resource="http://www.myexperiment.org/announcements/6" uri="http://www.myexperiment.org/announcement.xml?id=6">myExperiment in IEEE Intelligent Systems</announcement>
<announcement resource="http://www.myexperiment.org/announcements/7" uri="http://www.myexperiment.org/announcement.xml?id=7">Performance improvements</announcement>
<announcement resource="http://www.myexperiment.org/announcements/8" uri="http://www.myexperiment.org/announcement.xml?id=8">myExperiment server upgrade</announcement>
<announcement resource="http://www.myexperiment.org/announcements/9" uri="http://www.myexperiment.org/announcement.xml?id=9">myExperiment server upgrade</announcement>
<announcement resource="http://www.myexperiment.org/announcements/10" uri="http://www.myexperiment.org/announcement.xml?id=10">REST API</announcement>
<announcement resource="http://www.myexperiment.org/announcements/11" uri="http://www.myexperiment.org/announcement.xml?id=11">Looking inside your workflow</announcement>
<announcement resource="http://www.myexperiment.org/announcements/12" uri="http://www.myexperiment.org/announcement.xml?id=12">Improved look and feel</announcement>
<announcement resource="http://www.myexperiment.org/announcements/13" uri="http://www.myexperiment.org/announcement.xml?id=13">Packs - collect things together and share them!</announcement>
<announcement resource="http://www.myexperiment.org/announcements/14" uri="http://www.myexperiment.org/announcement.xml?id=14">wiki.myexperiment.org new and improved for developers</announcement>
<announcement resource="http://www.myexperiment.org/announcements/15" uri="http://www.myexperiment.org/announcement.xml?id=15">New myExperiment and WHIP plugin for Taverna</announcement>
<announcement resource="http://www.myexperiment.org/announcements/16" uri="http://www.myexperiment.org/announcement.xml?id=16">myExperiment has 1000 registered users</announcement>
<announcement resource="http://www.myexperiment.org/announcements/17" uri="http://www.myexperiment.org/announcement.xml?id=17">Significant changes to Biomart filters and attributes! Please check your workflows!</announcement>
<announcement resource="http://www.myexperiment.org/announcements/18" uri="http://www.myexperiment.org/announcement.xml?id=18">myExperiment design paper published</announcement>
</announcements>
GET /files.xml
Example curl request:
curl http://www.myexperiment.org/files.xml
<?xml version="1.0"?>
<files>
<file resource="http://www.myexperiment.org/files/5" uri="http://www.myexperiment.org/file.xml?id=5">Viking boat</file>
<file resource="http://www.myexperiment.org/files/6" uri="http://www.myexperiment.org/file.xml?id=6"/>
<file resource="http://www.myexperiment.org/files/7" uri="http://www.myexperiment.org/file.xml?id=7"/>
<file resource="http://www.myexperiment.org/files/10" uri="http://www.myexperiment.org/file.xml?id=10">sample</file>
<file resource="http://www.myexperiment.org/files/11" uri="http://www.myexperiment.org/file.xml?id=11">pdf file test</file>
<file resource="http://www.myexperiment.org/files/16" uri="http://www.myexperiment.org/file.xml?id=16">White noise</file>
<file resource="http://www.myexperiment.org/files/17" uri="http://www.myexperiment.org/file.xml?id=17">Introduction to NCeSS Data Mining Pilot Project</file>
<file resource="http://www.myexperiment.org/files/20" uri="http://www.myexperiment.org/file.xml?id=20">Just testing ignore me.</file>
<file resource="http://www.myexperiment.org/files/22" uri="http://www.myexperiment.org/file.xml?id=22">Output from FLOSS Communication Centralization Workflow</file>
<file resource="http://www.myexperiment.org/files/23" uri="http://www.myexperiment.org/file.xml?id=23">Identifyr logo</file>
<file resource="http://www.myexperiment.org/files/24" uri="http://www.myexperiment.org/file.xml?id=24">Smiles Search of ChemSpider</file>
<file resource="http://www.myexperiment.org/files/25" uri="http://www.myexperiment.org/file.xml?id=25">Taverna tutorial</file>
<file resource="http://www.myexperiment.org/files/26" uri="http://www.myexperiment.org/file.xml?id=26">Taverna tutorial</file>
<file resource="http://www.myexperiment.org/files/28" uri="http://www.myexperiment.org/file.xml?id=28">From biologist to web service to Taverna to myExperiment to biologist</file>
<file resource="http://www.myexperiment.org/files/29" uri="http://www.myexperiment.org/file.xml?id=29">Using Taverna and webservices as tools to revive a database</file>
</files>
GET /groups.xml
Example curl request:
curl http://www.myexperiment.org/groups.xml
<?xml version="1.0"?>
<groups>
<group resource="http://www.myexperiment.org/groups/1" uri="http://www.myexperiment.org/group.xml?id=1">GNU</group>
<group resource="http://www.myexperiment.org/groups/3" uri="http://www.myexperiment.org/group.xml?id=3">experimental project</group>
<group resource="http://www.myexperiment.org/groups/4" uri="http://www.myexperiment.org/group.xml?id=4">Rooting unrooted trees</group>
<group resource="http://www.myexperiment.org/groups/5" uri="http://www.myexperiment.org/group.xml?id=5">Discovering what this is all about</group>
<group resource="http://www.myexperiment.org/groups/6" uri="http://www.myexperiment.org/group.xml?id=6">Amsterdam</group>
<group resource="http://www.myexperiment.org/groups/7" uri="http://www.myexperiment.org/group.xml?id=7">Mark's Project</group>
<group resource="http://www.myexperiment.org/groups/8" uri="http://www.myexperiment.org/group.xml?id=8">Alan's project</group>
<group resource="http://www.myexperiment.org/groups/9" uri="http://www.myexperiment.org/group.xml?id=9">myExperiment Hackers</group>
<group resource="http://www.myexperiment.org/groups/11" uri="http://www.myexperiment.org/group.xml?id=11">Bioinformatics Analysis of Intron Retention Signals in C.neoformans spp</group>
<group resource="http://www.myexperiment.org/groups/12" uri="http://www.myexperiment.org/group.xml?id=12">workshop</group>
<group resource="http://www.myexperiment.org/groups/13" uri="http://www.myexperiment.org/group.xml?id=13">dangerous and secret experiment that will change the world</group>
<group resource="http://www.myexperiment.org/groups/14" uri="http://www.myexperiment.org/group.xml?id=14">EGEE</group>
<group resource="http://www.myexperiment.org/groups/15" uri="http://www.myexperiment.org/group.xml?id=15">Weight loss</group>
<group resource="http://www.myexperiment.org/groups/16" uri="http://www.myexperiment.org/group.xml?id=16">Chytrid</group>
<group resource="http://www.myexperiment.org/groups/18" uri="http://www.myexperiment.org/group.xml?id=18">BioRange_NL</group>
<group resource="http://www.myexperiment.org/groups/19" uri="http://www.myexperiment.org/group.xml?id=19">BioAssist_NL</group>
<group resource="http://www.myexperiment.org/groups/20" uri="http://www.myexperiment.org/group.xml?id=20">Annotation of biological resources</group>
<group resource="http://www.myexperiment.org/groups/21" uri="http://www.myexperiment.org/group.xml?id=21">CombiUgi</group>
<group resource="http://www.myexperiment.org/groups/22" uri="http://www.myexperiment.org/group.xml?id=22">Test project</group>
<group resource="http://www.myexperiment.org/groups/23" uri="http://www.myexperiment.org/group.xml?id=23">try it out</group>
<group resource="http://www.myexperiment.org/groups/24" uri="http://www.myexperiment.org/group.xml?id=24">NESS Work Package 4.1</group>
<group resource="http://www.myexperiment.org/groups/25" uri="http://www.myexperiment.org/group.xml?id=25">Social experiment #45</group>
<group resource="http://www.myexperiment.org/groups/26" uri="http://www.myexperiment.org/group.xml?id=26">test project</group>
<group resource="http://www.myexperiment.org/groups/28" uri="http://www.myexperiment.org/group.xml?id=28">myproject</group>
<group resource="http://www.myexperiment.org/groups/29" uri="http://www.myexperiment.org/group.xml?id=29">enki - research with electric fish</group>
</groups>
GET /packs.xml
Example curl request:
curl http://www.myexperiment.org/packs.xml
<?xml version="1.0"?>
<packs>
<pack resource="http://www.myexperiment.org/packs/1" uri="http://www.myexperiment.org/pack.xml?id=1">Microarray data analysis using R</pack>
<pack resource="http://www.myexperiment.org/packs/2" uri="http://www.myexperiment.org/pack.xml?id=2">web services info</pack>
<pack resource="http://www.myexperiment.org/packs/3" uri="http://www.myexperiment.org/pack.xml?id=3">Everything You Need To Know About myExperiment...</pack>
<pack resource="http://www.myexperiment.org/packs/6" uri="http://www.myexperiment.org/pack.xml?id=6">EBI Web Services</pack>
<pack resource="http://www.myexperiment.org/packs/7" uri="http://www.myexperiment.org/pack.xml?id=7">pack1</pack>
<pack resource="http://www.myexperiment.org/packs/8" uri="http://www.myexperiment.org/pack.xml?id=8">Testing123</pack>
<pack resource="http://www.myexperiment.org/packs/9" uri="http://www.myexperiment.org/pack.xml?id=9">Testing456</pack>
<pack resource="http://www.myexperiment.org/packs/10" uri="http://www.myexperiment.org/pack.xml?id=10">Workflow discovery benchmarks</pack>
<pack resource="http://www.myexperiment.org/packs/11" uri="http://www.myexperiment.org/pack.xml?id=11">Paul Fisher workflows for benchmarks PR and CA2</pack>
<pack resource="http://www.myexperiment.org/packs/12" uri="http://www.myexperiment.org/pack.xml?id=12">Peter Li workflows for benchmarks PR and CA2 </pack>
<pack resource="http://www.myexperiment.org/packs/13" uri="http://www.myexperiment.org/pack.xml?id=13">PCR</pack>
<pack resource="http://www.myexperiment.org/packs/14" uri="http://www.myexperiment.org/pack.xml?id=14">Taverna 1.7.1 starter pack</pack>
<pack resource="http://www.myexperiment.org/packs/17" uri="http://www.myexperiment.org/pack.xml?id=17">e-science tool pack</pack>
<pack resource="http://www.myexperiment.org/packs/18" uri="http://www.myexperiment.org/pack.xml?id=18">AIDA toolbox</pack>
<pack resource="http://www.myexperiment.org/packs/19" uri="http://www.myexperiment.org/pack.xml?id=19">Newcastle NeuroScience</pack>
<pack resource="http://www.myexperiment.org/packs/20" uri="http://www.myexperiment.org/pack.xml?id=20">Provenance challenge</pack>
<pack resource="http://www.myexperiment.org/packs/21" uri="http://www.myexperiment.org/pack.xml?id=21">acetanilide comparison study (test)</pack>
</packs>
Example curl request:
curl http://www.myexperiment.org/tags.xml
<?xml version="1.0"?>
<tags>
<tag resource="http://www.myexperiment.org/tags/1" uri="http://www.myexperiment.org/tag.xml?id=1">3D structure</tag>
<tag resource="http://www.myexperiment.org/tags/2" uri="http://www.myexperiment.org/tag.xml?id=2">additive genetic effects</tag>
<tag resource="http://www.myexperiment.org/tags/3" uri="http://www.myexperiment.org/tag.xml?id=3">adenine</tag>
<tag resource="http://www.myexperiment.org/tags/5" uri="http://www.myexperiment.org/tag.xml?id=5">AIDA</tag>
<tag resource="http://www.myexperiment.org/tags/6" uri="http://www.myexperiment.org/tag.xml?id=6">algorithm</tag>
<tag resource="http://www.myexperiment.org/tags/8" uri="http://www.myexperiment.org/tag.xml?id=8">all-alpha</tag>
<tag resource="http://www.myexperiment.org/tags/9" uri="http://www.myexperiment.org/tag.xml?id=9">all-beta</tag>
<tag resource="http://www.myexperiment.org/tags/10" uri="http://www.myexperiment.org/tag.xml?id=10">allele</tag>
<tag resource="http://www.myexperiment.org/tags/11" uri="http://www.myexperiment.org/tag.xml?id=11">allogeneic</tag>
<tag resource="http://www.myexperiment.org/tags/12" uri="http://www.myexperiment.org/tag.xml?id=12">alternative splicing</tag>
<tag resource="http://www.myexperiment.org/tags/13" uri="http://www.myexperiment.org/tag.xml?id=13">amino acid</tag>
<tag resource="http://www.myexperiment.org/tags/14" uri="http://www.myexperiment.org/tag.xml?id=14">amplification</tag>
<tag resource="http://www.myexperiment.org/tags/15" uri="http://www.myexperiment.org/tag.xml?id=15">analysis</tag>
<tag resource="http://www.myexperiment.org/tags/16" uri="http://www.myexperiment.org/tag.xml?id=16">animal model</tag>
<tag resource="http://www.myexperiment.org/tags/17" uri="http://www.myexperiment.org/tag.xml?id=17">annotation</tag>
<tag resource="http://www.myexperiment.org/tags/18" uri="http://www.myexperiment.org/tag.xml?id=18">anticipation</tag>
<tag resource="http://www.myexperiment.org/tags/19" uri="http://www.myexperiment.org/tag.xml?id=19">antisense</tag>
<tag resource="http://www.myexperiment.org/tags/20" uri="http://www.myexperiment.org/tag.xml?id=20">antoon</tag>
<tag resource="http://www.myexperiment.org/tags/21" uri="http://www.myexperiment.org/tag.xml?id=21">apoptosis</tag>
<tag resource="http://www.myexperiment.org/tags/22" uri="http://www.myexperiment.org/tag.xml?id=22">array</tag>
<tag resource="http://www.myexperiment.org/tags/23" uri="http://www.myexperiment.org/tag.xml?id=23">arrayed library</tag>
<tag resource="http://www.myexperiment.org/tags/24" uri="http://www.myexperiment.org/tag.xml?id=24">assembly</tag>
<tag resource="http://www.myexperiment.org/tags/25" uri="http://www.myexperiment.org/tag.xml?id=25">autoradiography</tag>
<tag resource="http://www.myexperiment.org/tags/26" uri="http://www.myexperiment.org/tag.xml?id=26">autosomal dominant</tag>
<tag resource="http://www.myexperiment.org/tags/27" uri="http://www.myexperiment.org/tag.xml?id=27">autosome</tag>
</tags>
GET /users.xml
Example curl request:
curl http://www.myexperiment.org/users.xml
<?xml version="1.0"?>
<users>
<user resource="http://www.myexperiment.org/users/1" uri="http://www.myexperiment.org/user.xml?id=1">Matt Lee</user>
<user resource="http://www.myexperiment.org/users/2" uri="http://www.myexperiment.org/user.xml?id=2">David Withers</user>
<user resource="http://www.myexperiment.org/users/3" uri="http://www.myexperiment.org/user.xml?id=3">Rob Myers</user>
<user resource="http://www.myexperiment.org/users/4" uri="http://www.myexperiment.org/user.xml?id=4">Wm. John Sullivan</user>
<user resource="http://www.myexperiment.org/users/5" uri="http://www.myexperiment.org/user.xml?id=5">Stian Soiland-Reyes</user>
<user resource="http://www.myexperiment.org/users/6" uri="http://www.myexperiment.org/user.xml?id=6">Duncan Hull</user>
<user resource="http://www.myexperiment.org/users/7" uri="http://www.myexperiment.org/user.xml?id=7">Patrick Lamplé</user>
<user resource="http://www.myexperiment.org/users/8" uri="http://www.myexperiment.org/user.xml?id=8">Anthony Underwood</user>
<user resource="http://www.myexperiment.org/users/9" uri="http://www.myexperiment.org/user.xml?id=9">Dr. Jun Zhao. Pseudo Scientist</user>
<user resource="http://www.myexperiment.org/users/10" uri="http://www.myexperiment.org/user.xml?id=10">Mark Borkum</user>
<user resource="http://www.myexperiment.org/users/11" uri="http://www.myexperiment.org/user.xml?id=11">Shara Gnaneshan</user>
<user resource="http://www.myexperiment.org/users/12" uri="http://www.myexperiment.org/user.xml?id=12">Pierre Lindenbaum</user>
<user resource="http://www.myexperiment.org/users/13" uri="http://www.myexperiment.org/user.xml?id=13">Katy Wolstencroft</user>
<user resource="http://www.myexperiment.org/users/14" uri="http://www.myexperiment.org/user.xml?id=14">M. Scott Marshall</user>
<user resource="http://www.myexperiment.org/users/15" uri="http://www.myexperiment.org/user.xml?id=15">Ross Gardler</user>
<user resource="http://www.myexperiment.org/users/16" uri="http://www.myexperiment.org/user.xml?id=16">David De Roure</user>
<user resource="http://www.myexperiment.org/users/17" uri="http://www.myexperiment.org/user.xml?id=17">Steve Pettifer</user>
<user resource="http://www.myexperiment.org/users/18" uri="http://www.myexperiment.org/user.xml?id=18">Marco Roos</user>
<user resource="http://www.myexperiment.org/users/19" uri="http://www.myexperiment.org/user.xml?id=19">Morris Swertz</user>
<user resource="http://www.myexperiment.org/users/20" uri="http://www.myexperiment.org/user.xml?id=20">Simon Jupp</user>
<user resource="http://www.myexperiment.org/users/21" uri="http://www.myexperiment.org/user.xml?id=21">Simon Waters</user>
<user resource="http://www.myexperiment.org/users/22" uri="http://www.myexperiment.org/user.xml?id=22">Don Cruickshank</user>
<user resource="http://www.myexperiment.org/users/23" uri="http://www.myexperiment.org/user.xml?id=23">David De Roure 2.0</user>
<user resource="http://www.myexperiment.org/users/24" uri="http://www.myexperiment.org/user.xml?id=24">J. Random Scientist</user>
<user resource="http://www.myexperiment.org/users/25" uri="http://www.myexperiment.org/user.xml?id=25">Carole Goble</user>
</users>
GET /workflows.xml
Example curl request:
curl http://www.myexperiment.org/workflows.xml
<?xml version="1.0"?>
<workflows>
<workflow resource="http://www.myexperiment.org/workflows/4" uri="http://www.myexperiment.org/workflow.xml?id=4">EBI InterProScan</workflow>
<workflow resource="http://www.myexperiment.org/workflows/5" uri="http://www.myexperiment.org/workflow.xml?id=5">DOI2PMID</workflow>
<workflow resource="http://www.myexperiment.org/workflows/6" uri="http://www.myexperiment.org/workflow.xml?id=6">Genome annotation pipeline demonstrator workflow for Nucleic Acids Research</workflow>
<workflow resource="http://www.myexperiment.org/workflows/7" uri="http://www.myexperiment.org/workflow.xml?id=7">Fetch Dragon images from BioMoby v2</workflow>
<workflow resource="http://www.myexperiment.org/workflows/10" uri="http://www.myexperiment.org/workflow.xml?id=10">HUMAN Microarray CEL file to candidate pathways</workflow>
<workflow resource="http://www.myexperiment.org/workflows/12" uri="http://www.myexperiment.org/workflow.xml?id=12">Transcribe a DNA sequence into an RNA sequence</workflow>
<workflow resource="http://www.myexperiment.org/workflows/13" uri="http://www.myexperiment.org/workflow.xml?id=13">KEGG pathways common to both QTL and microarray based investigations</workflow>
<workflow resource="http://www.myexperiment.org/workflows/14" uri="http://www.myexperiment.org/workflow.xml?id=14">Cow-Human Ortholog Pathways and Gene annotations for QTL Phenotype</workflow>
<workflow resource="http://www.myexperiment.org/workflows/15" uri="http://www.myexperiment.org/workflow.xml?id=15">Entrez Gene to KEGG Pathway</workflow>
<workflow resource="http://www.myexperiment.org/workflows/16" uri="http://www.myexperiment.org/workflow.xml?id=16">Mouse Pathways and Gene annotations for QTL Phenotype</workflow>
<workflow resource="http://www.myexperiment.org/workflows/17" uri="http://www.myexperiment.org/workflow.xml?id=17">Remove duplicate strings</workflow>
<workflow resource="http://www.myexperiment.org/workflows/18" uri="http://www.myexperiment.org/workflow.xml?id=18">Back translate a protein sequence into a dna sequence</workflow>
<workflow resource="http://www.myexperiment.org/workflows/19" uri="http://www.myexperiment.org/workflow.xml?id=19">Pathways from Diff Expressed Genes</workflow>
<workflow resource="http://www.myexperiment.org/workflows/20" uri="http://www.myexperiment.org/workflow.xml?id=20">Remove null values</workflow>
<workflow resource="http://www.myexperiment.org/workflows/21" uri="http://www.myexperiment.org/workflow.xml?id=21">BLASTP with simplified results returned</workflow>
<workflow resource="http://www.myexperiment.org/workflows/22" uri="http://www.myexperiment.org/workflow.xml?id=22">Simpliy a BLAST text file</workflow>
<workflow resource="http://www.myexperiment.org/workflows/23" uri="http://www.myexperiment.org/workflow.xml?id=23">BLAST using DDBJ service</workflow>
<workflow resource="http://www.myexperiment.org/workflows/25" uri="http://www.myexperiment.org/workflow.xml?id=25">Perform a search through NCBI eUtils eSearch</workflow>
<workflow resource="http://www.myexperiment.org/workflows/26" uri="http://www.myexperiment.org/workflow.xml?id=26">Parse UniProt text file</workflow>
<workflow resource="http://www.myexperiment.org/workflows/27" uri="http://www.myexperiment.org/workflow.xml?id=27">Perfrom a text based search through PubMed</workflow>
<workflow resource="http://www.myexperiment.org/workflows/28" uri="http://www.myexperiment.org/workflow.xml?id=28">Gene annotation pipeline for the Graves disease scenario</workflow>
<workflow resource="http://www.myexperiment.org/workflows/30" uri="http://www.myexperiment.org/workflow.xml?id=30">ProteinSynonymsToQuery</workflow>
<workflow resource="http://www.myexperiment.org/workflows/31" uri="http://www.myexperiment.org/workflow.xml?id=31">DiscoverProteinLink</workflow>
</workflows>
REST (Create/Read/Update/Destroy) requests
GET /announcement.xml
Element
Example
Read by default
id
1
no
author
Don Cruickshank
yes
title
Free beer!
yes
text
Here's some virtual beer!
yes
created-at
Mon Nov 05 17:27:25 +0000 2007
yes
updated-at
Mon Nov 05 17:27:25 +0000 2007
no
Note: You can specify which elements to get by using the
elements query option.
Example curl request:
curl http://www.myexperiment.org/announcement.xml?id=1
<?xml version="1.0"?>
<announcement uri="http://www.myexperiment.org/announcement.xml?id=1" resource="http://www.myexperiment.org/announcements/1">
<id>1</id>
<author uri="http://www.myexperiment.org/user.xml?id=70" resource="http://www.myexperiment.org/users/70">Jiten Bhagat</author>
<title>New announcements feature!</title>
<text><p>myExperiment now has a new Announcements feature that allows myExperiment admins to keep you informed on progress and other relevant news.</p>
<p>You can subscribe to the <a href="http://www.myexperiment.org/announcements.rss">Announcements RSS feed</a> (and soon we will have email notifications).</p>
<p>Don't forget to give us <a href="http://www.myexperiment.org/feedback">feedback</a>!</p></text>
<created-at>Fri Jan 25 15:15:17 +0000 2008</created-at>
<updated-at>Mon Jan 28 10:50:01 +0000 2008</updated-at>
</announcement>
GET /citation.xml
Element
Example
Read by default
accessed-at
Mon Nov 05 17:27:25 +0000 2007
no
authors
Smith, J. And S. Jones
yes
created-at
Mon Nov 05 17:27:25 +0000 2007
yes
id
1
no
isbn
978-3-16-148410-0
yes
issn
3297:2007
yes
publication
Furniture Monthly
yes
published-at
Mon Nov 05 17:27:25 +0000 2007
yes
title
Tensile strength of wardrobe doors
yes
updated-at
Mon Nov 05 17:27:25 +0000 2007
no
uri
yes
annotator
yes
workflow
yes
Note: You can specify which elements to get by using the
elements query option.
Example curl request:
curl http://www.myexperiment.org/citation.xml?id=1
<?xml version="1.0"?>
<citation uri="http://www.myexperiment.org/citation.xml?id=1" resource="http://www.myexperiment.org/workflows/59/citations/1">
<accessed-at/>
<authors>Lycaon</authors>
<created-at>Sun Oct 07 17:20:10 +0100 2007</created-at>
<id>1</id>
<isbn/>
<issn/>
<publication/>
<published-at>Sun Oct 07 00:00:00 +0100 2007</published-at>
<title>QRCode Generator</title>
<updated-at>Sun Oct 07 17:20:10 +0100 2007</updated-at>
<uri>http://lycaon.rolan.jp/cgi-bin/WebObjects/WebQRCodeApp.woa/wa/qrCodeGenerate</uri>
<annotator uri="http://www.myexperiment.org/user.xml?id=10" resource="http://www.myexperiment.org/users/10">Mark Borkum</annotator>
<workflow uri="http://www.myexperiment.org/workflow.xml?id=59" resource="http://www.myexperiment.org/workflows/59">QR code (matrix code) generator</workflow>
</citation>
Element
Example
Read by default
id
1
no
title
My two cents
yes
author
22
yes
comment
Looks great!
yes
created-at
Wed Oct 03 18:35:47 +0100 2007
yes
Note: You can specify which elements to get by using the
elements query option.
Example curl request:
curl http://www.myexperiment.org/comment.xml?id=1
<?xml version="1.0"?>
<comment uri="http://www.myexperiment.org/comment.xml?id=1" resource="http://www.myexperiment.org/blogs/1/comments/1">
<id>1</id>
<title/>
<author uri="http://www.myexperiment.org/user.xml?id=1" resource="http://www.myexperiment.org/users/1">Matt Lee</author>
<comment>Have a good one! I'm feeling like death.</comment>
<created-at>Wed Oct 03 18:36:31 +0100 2007</created-at>
</comment>
GET /download.xml
Element
Example
Read by default
id
no
item
yes
user
yes
Note: You can specify which elements to get by using the
elements query option.
Example curl request:
curl http://www.myexperiment.org/download.xml?id=
GET /experiment.xml
Element
Example
Read by default
id
4
no
owner
yes
title
yes
description
yes
jobs
no
created-at
yes
updated-at
no
Note: You can specify which elements to get by using the
elements query option.
Example curl request:
curl http://www.myexperiment.org/experiment.xml?id=4
<?xml version="1.0"?>
<experiment uri="http://www.myexperiment.org/experiment.xml?id=4" resource="http://www.myexperiment.org/experiments/4">
<id>4</id>
<owner uri="http://www.myexperiment.org/user.xml?id=18" resource="http://www.myexperiment.org/users/18">Marco Roos</owner>
<title>Experiment_20080410-1607_Marco Roos</title>
<description/>
<jobs>
<job uri="http://www.myexperiment.org/job.xml?id=6" resource="http://www.myexperiment.org/experiments/4/jobs/6">Job_20080410-1606_Marco Roos</job>
</jobs>
<created-at>Thu Apr 10 16:07:30 +0100 2008</created-at>
<updated-at>Thu Apr 10 16:07:30 +0100 2008</updated-at>
</experiment>
GET /file.xml
Element
Example
Read by default
id
1
no
title
An arbitrary file
yes
description
This is a test file. It's just the letters "abc", however all file transfers are performed in base64 encoding to handle binary data.
yes
uploader
22
yes
content-type
text/plain
yes
content
YWJjCg==
no
created-at
Mon Nov 05 17:27:25 +0000 2007
yes
updated-at
Mon Nov 05 17:27:25 +0000 2007
no
license-type
by-nd
yes
credits
no
attributions
no
Note: You can specify which elements to get by using the
elements query option.
Example curl request:
curl http://www.myexperiment.org/file.xml?id=1
<?xml version="1.0"?>
<file uri="http://www.myexperiment.org/file.xml?id=1" resource="http://www.myexperiment.org/files/1">
<id>1</id>
<title/>
<description/>
<uploader uri="http://www.myexperiment.org/user.xml?id=121" resource="http://www.myexperiment.org/users/121">Danius Michaelides</uploader>
<content-type>text/plain
</content-type>
<content encoding="base64" type="binary">
YWJjCg==
</content>
<created-at>Mon Nov 05 17:27:25 +0000 2007</created-at>
<updated-at>Mon Nov 05 17:27:25 +0000 2007</updated-at>
<license-type>by-nd</license-type>
<credits/>
<attributions/>
</file>
GET /group.xml
Element
Example
Read by default
id
9
no
auto-accept
0
yes
created-at
Mon Jul 23 17:02:58 +0100 2007
yes
description
Fri Jan 11 21:54:11 +0000 2008
yes
title
myExperiment Hackers
yes
updated-at
Fri Jan 11 21:54:11 +0000 2008
no
owner
Jits
yes
members
no
shared-items
no
Note: You can specify which elements to get by using the
elements query option.
Example curl request:
curl http://www.myexperiment.org/group.xml?id=9
<?xml version="1.0"?>
<group uri="http://www.myexperiment.org/group.xml?id=9" resource="http://www.myexperiment.org/groups/9">
<id>9</id>
<auto-accept>false</auto-accept>
<created-at>Mon Jul 23 17:02:58 +0100 2007</created-at>
<description><p>This is the official group for all code contributors to the myExperiment software</p></description>
<title>myExperiment Hackers</title>
<updated-at>Fri Jan 11 21:54:11 +0000 2008</updated-at>
<owner uri="http://www.myexperiment.org/user.xml?id=70" resource="http://www.myexperiment.org/users/70">Jiten Bhagat</owner>
<members>
<member uri="http://www.myexperiment.org/user.xml?id=70" resource="http://www.myexperiment.org/users/70">Jiten Bhagat</member>
<member uri="http://www.myexperiment.org/user.xml?id=979" resource="http://www.myexperiment.org/users/979">Sergey</member>
<member uri="http://www.myexperiment.org/user.xml?id=990" resource="http://www.myexperiment.org/users/990">Tom Eveleigh</member>
<member uri="http://www.myexperiment.org/user.xml?id=30" resource="http://www.myexperiment.org/users/30">Alan Williams</member>
<member uri="http://www.myexperiment.org/user.xml?id=43" resource="http://www.myexperiment.org/users/43">Paul Fisher</member>
<member uri="http://www.myexperiment.org/user.xml?id=62" resource="http://www.myexperiment.org/users/62">Franck Tanoh</member>
<member uri="http://www.myexperiment.org/user.xml?id=81" resource="http://www.myexperiment.org/users/81">David De Roure 3.0</member>
<member uri="http://www.myexperiment.org/user.xml?id=23" resource="http://www.myexperiment.org/users/23">David De Roure 2.0</member>
<member uri="http://www.myexperiment.org/user.xml?id=25" resource="http://www.myexperiment.org/users/25">Carole Goble</member>
<member uri="http://www.myexperiment.org/user.xml?id=10" resource="http://www.myexperiment.org/users/10">Mark Borkum</member>
<member uri="http://www.myexperiment.org/user.xml?id=26" resource="http://www.myexperiment.org/users/26">David R Newman</member>
<member uri="http://www.myexperiment.org/user.xml?id=2" resource="http://www.myexperiment.org/users/2">David Withers</member>
<member uri="http://www.myexperiment.org/user.xml?id=16" resource="http://www.myexperiment.org/users/16">David De Roure</member>
<member uri="http://www.myexperiment.org/user.xml?id=22" resource="http://www.myexperiment.org/users/22">Don Cruickshank</member>
</members>
<shared-items>
<pack resource="http://www.myexperiment.org/packs/3" uri="http://www.myexperiment.org/pack.xml?id=3">Everything You Need To Know About myExperiment...</pack>
<pack resource="http://www.myexperiment.org/packs/14" uri="http://www.myexperiment.org/pack.xml?id=14">Taverna 1.7.1 starter pack</pack>
</shared-items>
</group>
GET /job.xml
Element
Example
Read by default
id
20
no
owner
yes
title
yes
description
yes
experiment
yes
runnable
yes
runner
yes
status
yes
inputs
no
outputs
no
created-at
yes
updated-at
no
submitted-at
yes
started-at
yes
completed-at
yes
status-at
yes
Note: You can specify which elements to get by using the
elements query option.
Example curl request:
curl http://www.myexperiment.org/job.xml?id=20
<?xml version="1.0"?>
<job uri="http://www.myexperiment.org/job.xml?id=20" resource="http://www.myexperiment.org/experiments/14/jobs/20">
<id>20</id>
<owner uri="http://www.myexperiment.org/user.xml?id=18" resource="http://www.myexperiment.org/users/18">Marco Roos</owner>
<title>Job_20080516-1102_Marco Roos</title>
<description/>
<experiment uri="http://www.myexperiment.org/experiment.xml?id=14" resource="http://www.myexperiment.org/experiments/14">Experiment_20080516-1047_Marco Roos</experiment>
<runnable uri="http://www.myexperiment.org/workflow.xml?id=154" resource="http://www.myexperiment.org/workflows/154">BioAID_ProteinDiscovery_filterOnHumanUniprot_perDoc_html</runnable>
<runner uri="http://www.myexperiment.org/runner.xml?id=5" resource="http://www.myexperiment.org/runners/5">aida runner</runner>
<status>CANCELLED</status>
<created-at>Fri May 16 11:02:44 +0100 2008</created-at>
<updated-at>Fri May 16 11:10:20 +0100 2008</updated-at>
<submitted-at>Fri May 16 11:03:12 +0100 2008</submitted-at>
<started-at>Fri May 16 12:03:12 +0100 2008</started-at>
<completed-at>Fri May 16 12:07:02 +0100 2008</completed-at>
<status-at>Fri May 16 11:10:20 +0100 2008</status-at>
</job>
GET /message.xml
Element
Example
Read by default
id
26
no
body
The 5th of November.
yes
created-at
Mon Jul 23 17:02:58 +0100 2007
yes
from
David De Roure
yes
to
Don Cruickshank
yes
read-at
Mon Jul 23 17:02:58 +0100 2007
yes
reply-id
yes
subject
Remember remember
yes
Note: You can specify which elements to get by using the
elements query option.
Example curl request:
curl http://www.myexperiment.org/message.xml?id=26
<?xml version="1.0"?>
<message uri="http://www.myexperiment.org/message.xml?id=26" resource="http://www.myexperiment.org/messages/26">
<id>26</id>
<body>The 5th of November</body>
<created-at>Mon Nov 05 20:38:01 +0000 2007</created-at>
<from uri="http://www.myexperiment.org/user.xml?id=16" resource="http://www.myexperiment.org/users/16">David De Roure</from>
<to uri="http://www.myexperiment.org/user.xml?id=22" resource="http://www.myexperiment.org/users/22">Don Cruickshank</to>
<read-at>Tue Dec 11 18:01:14 +0000 2007</read-at>
<reply-id/>
<subject>remember remember</subject>
</message>
GET /picture.xml
Element
Example
Read by default
data
YWJjCg==
yes
id
38
no
Note: You can specify which elements to get by using the
elements query option.
Example curl request:
curl http://www.myexperiment.org/picture.xml?id=38
<?xml version="1.0"?>
<picture uri="http://www.myexperiment.org/picture.xml?id=38" resource="http://www.myexperiment.org/users/22/pictures/38">
<data encoding="base64" type="binary">
/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEB
AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/
2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB
AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/wAARCAHgAeADASIAAhEBAxEB/8QA
HwAAAAYDAQEBAAAAAAAAAAAABAUGBwgJAAMKAgEL/8QAWRAAAQMCBAQCBQkE
BgcFBwALAQIDEQQFAAYSIQcTMUEiUQgUMmFxFSMzQlJygZGxCaGywSQ0Q2KC
8BZTY3OS0eEXJYOiwjVEVHSTs/EKNmQ3o7RGdYSF0//EAB4BAAEEAwEBAQAA
AAAAAAAAAAYDBAUHAAECCAkK/8QARxEAAQMCBAQEBAMGBAQEBwEBAQIDEQQh
AAUSMQYTQVEHImFxFDKBkaGx4QgjQsHR8BUkUmJyouLxCRYzkiU0Q1NjgtLC
sv/aAAwDAQACEQMRAD8A7uMZjMZgoxR+Mx9T1HxH64+Y+p6j4j9cZjadx7j8
...
</data>
<id>38</id>
</picture>
GET /rating.xml
Element
Example
Read by default
id
1
no
owner
22
yes
rating
4
yes
created-at
Wed Oct 03 18:35:47 +0100 2007
yes
Note: You can specify which elements to get by using the
elements query option.
Example curl request:
curl http://www.myexperiment.org/rating.xml?id=1
<?xml version="1.0"?>
<rating uri="http://www.myexperiment.org/rating.xml?id=1" resource="http://www.myexperiment.org/workflows/6/ratings/1">
<id>1</id>
<owner uri="http://www.myexperiment.org/user.xml?id=2" resource="http://www.myexperiment.org/users/2">David Withers</owner>
<rating>4</rating>
<created-at>Wed Oct 03 18:36:31 +0100 2007</created-at>
</rating>
GET /review.xml
Element
Example
Read by default
id
2
no
title
My review
yes
review
This is my review.
yes
author
22
yes
created-at
Wed Oct 03 18:35:47 +0100 2007
yes
updated-at
Wed Oct 03 18:35:47 +0100 2007
no
Note: You can specify which elements to get by using the
elements query option.
Example curl request:
curl http://www.myexperiment.org/review.xml?id=2
<?xml version="1.0"?>
<review uri="http://www.myexperiment.org/review.xml?id=2" resource="http://www.myexperiment.org/workflows/171/reviews/2">
<id>2</id>
<title/>
<review><p>This is a great workflow.</p></review>
<author uri="http://www.myexperiment.org/user.xml?id=664" resource="http://www.myexperiment.org/users/664">Hubert</author>
<created-at>Fri Mar 07 12:35:22 +0000 2008</created-at>
<updated-at>Fri Mar 07 12:35:22 +0000 2008</updated-at>
</review>
GET /runner.xml
Element
Example
Read by default
id
4
no
owner
yes
title
yes
description
yes
url
yes
username
no
password
no
created-at
yes
updated-at
no
Note: You can specify which elements to get by using the
elements query option.
Example curl request:
curl http://www.myexperiment.org/runner.xml?id=4
<?xml version="1.0"?>
<runner uri="http://www.myexperiment.org/runner.xml?id=4" resource="http://www.myexperiment.org/runners/4">
<id>4</id>
<owner uri="http://www.myexperiment.org/group.xml?id=74" resource="http://www.myexperiment.org/groups/74">Science Coherence</owner>
<title>Testing 234</title>
<description>Velakor FeedsVelakor FeedsVelakor Feeds</description>
<url>www.google.com</url>
<username>EsCa</username>
<created-at>Sat Mar 29 23:47:31 +0000 2008</created-at>
<updated-at>Sat Mar 29 23:47:31 +0000 2008</updated-at>
</runner>
GET /tag.xml
Element
Example
Read by default
id
1
no
name
BioAid
yes
count
18
yes
taggings
no
Note: You can specify which elements to get by using the
elements query option.
Example curl request:
curl http://www.myexperiment.org/tag.xml?id=1
<?xml version="1.0"?>
<tag uri="http://www.myexperiment.org/tag.xml?id=1" resource="http://www.myexperiment.org/tags/1">
<id>1</id>
<name>3D structure</name>
<count>0</count>
<taggings/>
</tag>
GET /user.xml
Element
Example
Read by default
id
1
no
created-at
Mon Jul 23 09:14:48 +0100 2007
yes
updated-at
Wed Feb 06 15:53:52 +0000 2008
no
name
Don Cruickshank
yes
openid-url
don.cruickshank.example.com
no
username
dgc
no
description
I am a myExperiment developer.
yes
email
dgc@ecs.soton.ac.uk
yes
avatar
38
yes
city
yes
country
yes
website
http://www.ecs.soton.ac.uk/people/dgc
yes
friends
no
groups
no
workflows
no
experiments
no
jobs
no
runners
no
Note: You can specify which elements to get by using the
elements query option.
Example curl request:
curl http://www.myexperiment.org/user.xml?id=1
<?xml version="1.0"?>
<user uri="http://www.myexperiment.org/user.xml?id=1" resource="http://www.myexperiment.org/users/1">
<id>1</id>
<created-at>Fri Jul 20 13:49:53 +0100 2007</created-at>
<updated-at>Thu Nov 15 19:05:04 +0000 2007</updated-at>
<name>Matt Lee</name>
<description>I hack on myExperiment</description>
<email>mattl@myexperiment.org</email>
<avatar uri="http://www.myexperiment.org/picture.xml?id=5" resource="http://www.myexperiment.org/users/1/pictures/5"/>
<city/>
<country/>
<website>http://myexperiment.org/</website>
<friends>
<friend uri="http://www.myexperiment.org/user.xml?id=30" resource="http://www.myexperiment.org/users/30">Alan Williams</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=42" resource="http://www.myexperiment.org/users/42">Alex Voss</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=37" resource="http://www.myexperiment.org/users/37">Andrew Gibson</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=34" resource="http://www.myexperiment.org/users/34">Andrew Harrison</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=36" resource="http://www.myexperiment.org/users/36">Angela Luijf</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=8" resource="http://www.myexperiment.org/users/8">Anthony Underwood</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=61" resource="http://www.myexperiment.org/users/61">Antoon Goderis</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=25" resource="http://www.myexperiment.org/users/25">Carole Goble</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=82" resource="http://www.myexperiment.org/users/82">Catherine De Roure</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=31" resource="http://www.myexperiment.org/users/31">David Aanensen</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=16" resource="http://www.myexperiment.org/users/16">David De Roure</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=23" resource="http://www.myexperiment.org/users/23">David De Roure 2.0</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=81" resource="http://www.myexperiment.org/users/81">David De Roure 3.0</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=26" resource="http://www.myexperiment.org/users/26">David R Newman</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=2" resource="http://www.myexperiment.org/users/2">David Withers</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=22" resource="http://www.myexperiment.org/users/22">Don Cruickshank</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=51" resource="http://www.myexperiment.org/users/51">Douglas B. Kell</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=9" resource="http://www.myexperiment.org/users/9">Dr. Jun Zhao. Pseudo Scientist</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=6" resource="http://www.myexperiment.org/users/6">Duncan Hull</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=62" resource="http://www.myexperiment.org/users/62">Franck Tanoh</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=38" resource="http://www.myexperiment.org/users/38">Frank Gibson</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=54" resource="http://www.myexperiment.org/users/54">Gavin Baker</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=45" resource="http://www.myexperiment.org/users/45">Giovanni Dall'Olio</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=41" resource="http://www.myexperiment.org/users/41">Hong Chang Bum</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=80" resource="http://www.myexperiment.org/users/80">J. Dai Scientist</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=71" resource="http://www.myexperiment.org/users/71">Jean-Claude Bradley</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=67" resource="http://www.myexperiment.org/users/67">Jim Craig</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=13" resource="http://www.myexperiment.org/users/13">Katy Wolstencroft</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=33" resource="http://www.myexperiment.org/users/33">Lucy Bridges</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=14" resource="http://www.myexperiment.org/users/14">M. Scott Marshall</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=18" resource="http://www.myexperiment.org/users/18">Marco Roos</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=10" resource="http://www.myexperiment.org/users/10">Mark Borkum</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=19" resource="http://www.myexperiment.org/users/19">Morris Swertz</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=69" resource="http://www.myexperiment.org/users/69">Paolo Romano</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=47" resource="http://www.myexperiment.org/users/47">Paul Dobson</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=43" resource="http://www.myexperiment.org/users/43">Paul Fisher</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=15" resource="http://www.myexperiment.org/users/15">Ross Gardler</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=20" resource="http://www.myexperiment.org/users/20">Simon Jupp</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=21" resource="http://www.myexperiment.org/users/21">Simon Waters</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=5" resource="http://www.myexperiment.org/users/5">Stian Soiland-Reyes</friend>
<friend uri="http://www.myexperiment.org/user.xml?id=60" resource="http://www.myexperiment.org/users/60">Tomasz Gubala</friend>
</friends>
<groups>
<group uri="http://www.myexperiment.org/group.xml?id=3" resource="http://www.myexperiment.org/groups/3">experimental project</group>
<group uri="http://www.myexperiment.org/group.xml?id=5" resource="http://www.myexperiment.org/groups/5">Discovering what this is all about</group>
<group uri="http://www.myexperiment.org/group.xml?id=25" resource="http://www.myexperiment.org/groups/25">Social experiment #45</group>
<group uri="http://www.myexperiment.org/group.xml?id=1" resource="http://www.myexperiment.org/groups/1">GNU</group>
</groups>
<workflows/>
<experiments/>
<jobs/>
<runners/>
</user>
GET /workflow.xml
Element
Example
Read by default
id
173
no
title
Genome annotation pipeline demonstrator workflow for Nucleic Acids Research
yes
description
Part of a workflow by Hannah Tipney, adapted by Duncan Hull using GenScan, RepeatMasker and BLAST. http://dx.doi.org/10.1093/nar/gkl320
yes
uploader
Duncan Hull
yes
created-at
Wed Oct 03 18:35:47 +0100 2007
yes
updated-at
Wed Oct 03 18:35:47 +0100 2007
no
preview
yes
thumbnail
no
thumbnail-big
no
svg
yes
license-type
by-nd
yes
content-uri
yes
content-type
scufl
yes
content
no
name
no
tags
yes
versions
no
reviews
no
comments
no
ratings
no
credits
no
attributions
no
citations
no
Note: You can specify which elements to get by using the
elements query option.
Example curl request:
curl http://www.myexperiment.org/workflow.xml?id=173
<?xml version="1.0"?>
<workflow uri="http://www.myexperiment.org/workflow.xml?id=173" resource="http://www.myexperiment.org/workflows/173" version="2">
<id>173</id>
<title>Unique tags</title>
<description>This workflow takes a comma separated list of tags and removes duplicate entries. Tags may have multiple words in them. An example string is "carrots,handbags,carrots,cheese".</description>
<uploader uri="http://www.myexperiment.org/user.xml?id=22" resource="http://www.myexperiment.org/users/22">Don Cruickshank</uploader>
<created-at>Tue Mar 11 16:52:42 +0000 2008</created-at>
<updated-at>Tue Mar 11 16:53:13 +0000 2008</updated-at>
<preview>http://www.myexperiment.org/workflow/image/173/unique_tags_18054_2.png</preview>
<thumbnail>http://www.myexperiment.org/workflow/image/173/thumb/unique_tags_18054_2.png</thumbnail>
<thumbnail-big>http://www.myexperiment.org/workflow/image/173/medium/unique_tags_18054_2.png</thumbnail-big>
<svg>http://www.myexperiment.org/workflow/svg/173/unique_tags_18054_2.svg</svg>
<license-type>by-sa</license-type>
<content-uri>http://www.myexperiment.org/workflows/173/download/unique_tags_18054.xml</content-uri>
<content-type>application/vnd.taverna.scufl+xml</content-type>
<content encoding="base64" type="binary">
PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzOnNj
dWZsIHhtbG5zOnM9Imh0dHA6Ly9vcmcuZW1ibC5lYmkuZXNjaWVuY2UveHNj
dWZsLzAuMWFscGhhIiB2ZXJzaW9uPSIwLjIiIGxvZz0iMCI+DQogIDxzOndv
cmtmbG93ZGVzY3JpcHRpb24gbHNpZD0idXJuOmxzaWQ6bmV0LnNmLnRhdmVy
bmE6d2ZEZWZpbml0aW9uOmIyYzk5MmQ5LWUxMTktNDRmOS05MTJiLWJiMGRm
ZjFhZDhhZCIgYXV0aG9yPSJEb24gQ3J1aWNrc2hhbmsiIHRpdGxlPSJVbmlx
dWUgdGFncyI+VGhpcyB3b3JrZmxvdyB0YWtlcyBhIGNvbW1hIHNlcGFyYXRl
ZCBsaXN0IG9mIHRhZ3MgYW5kIHJlbW92ZXMgZHVwbGljYXRlIGVudHJpZXMu
ICBUYWdzIG1heSBoYXZlIG11bHRpcGxlIHdvcmRzIGluIHRoZW0uICBBbiBl
eGFtcGxlIHN0cmluZyBpcyAiY2Fycm90cyxoYW5kYmFncyxjYXJyb3RzLGNo
...
</content>
<tags>
<tag uri="http://www.myexperiment.org/tag.xml?id=555" resource="http://www.myexperiment.org/tags/555">example</tag>
<tag uri="http://www.myexperiment.org/tag.xml?id=450" resource="http://www.myexperiment.org/tags/450">scampi</tag>
<tag uri="http://www.myexperiment.org/tag.xml?id=760" resource="http://www.myexperiment.org/tags/760">design pattern</tag>
</tags>
<versions>
<workflow resource="http://www.myexperiment.org/workflows/173?version=1" uri="http://www.myexperiment.org/workflow.xml?id=173&version=1" version="1">Unique tags</workflow>
<workflow resource="http://www.myexperiment.org/workflows/173?version=2" uri="http://www.myexperiment.org/workflow.xml?id=173&version=2" version="2">Unique tags</workflow>
</versions>
<reviews/>
<comments/>
<ratings>
<rating resource="http://www.myexperiment.org/workflows/173/ratings/109" uri="http://www.myexperiment.org/rating.xml?id=109">3</rating>
<rating resource="http://www.myexperiment.org/workflows/173/ratings/124" uri="http://www.myexperiment.org/rating.xml?id=124">4</rating>
</ratings>
<credits>
<user resource="http://www.myexperiment.org/users/22" uri="http://www.myexperiment.org/user.xml?id=22">Don Cruickshank</user>
</credits>
<attributions>
<file resource="http://www.myexperiment.org/files/5" uri="http://www.myexperiment.org/file.xml?id=5">Viking boat</file>
</attributions>
<citations/>
</workflow>
General search
The search facility is available from the following URL:
http://www.myexperiment.org/search.xml?query=bioaid
Particular types can be specified by the type query option:
http://www.myexperiment.org/search.xml?query=bioaid&type=workflow
Element selection
The elements within each REST response can be tailored to include only the
parts of the response of interest. This saves bandwidth and response time!
http://www.myexperiment.org/workflow.xml?id=20&elements=title,description
All elements can be returned too.
http://www.myexperiment.org/workflow.xml?id=20&all_elements=yes
Versions
For objects that have versions (e.g. Workflows), you may specify the
specific version to be worked on by including version in the URI
query. For example:
http://www.myexperiment.org/workflow.xml?id=20&version=1
Sorting
Index and search requests can be sorted. By default, these results are
sorted by ascending creation order but sorting by creation time
(created ), update time (updated ), title (title ) and
name (name ) is also possible. In addition, the results can be
returned in reverse order.
http://www.myexperiment.org/workflows.xml?sort=title
http://www.myexperiment.org/files.xml?sort=title&order=reverse
For the index requests, a default maximum of 25 results is shown. This can
be raised to 100 by using adding num to the query. A particular
page of results can be selected by adding page to the query.
http://www.myexperiment.org/workflows.xml?num=50&page=2
For indices of taggable items, the index can be filtered on a particular tag.
http://www.myexperiment.org/workflows.xml?tag=bioaid
API version
The version of the REST API that the server uses can be requested by
including api_version in the query.
http://www.myexperiment.org/workflows.xml?api_version=yes
Error responses
The general format of an error response from the REST API is an XML document
with an error element. The code attribute contains a number
that determines the class of error. The message attribute of the
error element contains a human readable message describing the error.
Example error response
<?xml version="1.0" encoding="UTF-8"?>
<error message="Resource not found" code="404"/>
Error messages
Message
Code
Resource not found 404
Not authorized 403
Resource not versioned 400
Resource version not found 404
Service unavailable 503