Developer:TaggingsResource

From myExperiment
Jump to: navigation, search

Index of taggings

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

Example output:

<?xml version="1.0"?>
<taggings>
  <tagging uri="http://www.myexperiment.org/tagging.xml?id=2">bioinformatics</tagging>
  <tagging uri="http://www.myexperiment.org/tagging.xml?id=3">bioinformatics</tagging>
  <tagging uri="http://www.myexperiment.org/tagging.xml?id=4">bioinformatics</tagging>
  <tagging uri="http://www.myexperiment.org/tagging.xml?id=5">bioinformatics</tagging>
  <tagging uri="http://www.myexperiment.org/tagging.xml?id=6">bioinformatics</tagging>
</taggings>


Create tagging

URI: POST http://www.myexperiment.org/tagging.xml

Example input:

<?xml version="1.0"?>
<tagging>
  <subject resource="http://www.myexperiment.org/workflows/4"/>
  <label>bioinformatics</label>
</tagging>


Example output:

<?xml version="1.0"?>
<tagging uri="http://www.myexperiment.org/tagging.xml?id=2">
  <id>2</id>
  <tag uri="http://www.myexperiment.org/tag.xml?id=39" resource="http://www.myexperiment.org/tags/39">bioinformatics</tag>
  <subject>
    <workflow resource="http://www.myexperiment.org/workflows/4" uri="http://www.myexperiment.org/workflow.xml?id=4" version="2">EBI InterProScan</workflow>
  </subject>
  <user resource="http://www.myexperiment.org/users/6" uri="http://www.myexperiment.org/user.xml?id=6">Duncan Hull</user>
  <created-at>Wed Oct 03 18:36:35 +0100 2007</created-at>
  <label>bioinformatics</label>
</tagging>


Read tagging

URI: GET http://www.myexperiment.org/tagging.xml?id=2

Example output:

<?xml version="1.0"?>
<tagging uri="http://www.myexperiment.org/tagging.xml?id=2">
  <id>2</id>
  <tag uri="http://www.myexperiment.org/tag.xml?id=39" resource="http://www.myexperiment.org/tags/39">bioinformatics</tag>
  <subject>
    <workflow resource="http://www.myexperiment.org/workflows/4" uri="http://www.myexperiment.org/workflow.xml?id=4" version="2">EBI InterProScan</workflow>
  </subject>
  <user resource="http://www.myexperiment.org/users/6" uri="http://www.myexperiment.org/user.xml?id=6">Duncan Hull</user>
  <created-at>Wed Oct 03 18:36:35 +0100 2007</created-at>
  <label>bioinformatics</label>
</tagging>


Update tagging

Planned.


Delete tagging

Planned.