Developer:TagsResource

From myExperiment
Jump to: navigation, search

Tags Resource

Index of tags

URL: GET http://www.myexperiment.org/tags.xml

Example output:

<?xml version='1.0' encoding='UTF-8'?>
<tags>
  <tag uri='http://www.myexperiment.org/tag.xml?id=1' resource='http://www.myexperiment.org/tags/1'>3D structure</tag>
  <tag uri='http://www.myexperiment.org/tag.xml?id=2' resource='http://www.myexperiment.org/tags/2'>additive genetic effects</tag>
  <tag uri='http://www.myexperiment.org/tag.xml?id=3' resource='http://www.myexperiment.org/tags/3'>adenine</tag>
  <tag uri='http://www.myexperiment.org/tag.xml?id=5' resource='http://www.myexperiment.org/tags/5'>AIDA</tag>
  <tag uri='http://www.myexperiment.org/tag.xml?id=6' resource='http://www.myexperiment.org/tags/6'>algorithm</tag>
  ...
</tags>


Create tag

Planned.


Read tag

URL: http://www.myexperiment.org/tag.xml?id=38

Example output:

<?xml version="1.0" encoding="UTF-8" ?> 
<tag uri="http://www.myexperiment.org/tag.xml?id=38" resource="http://www.myexperiment.org/tags/38">
  <name>BioAID</name> 
  <count>20</count> 
</tag>


Update tag

Planned.


Delete tag

Planned.


Elements for tag

  • id - the id of the tag
  • name - the actual word / phrase the tag represents
  • count - the number of times the tag has been used
  • taggings - a list of instances where the tag has been used (tagging resources)
  • tagged - a list of resources that have been tagged by the tag (e.g. workflows, files, groups, etc.)