Developer:GroupsResource

From myExperiment
Jump to: navigation, search

Groups Resource

Index of groups

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

Example output:

<?xml version='1.0' encoding='UTF-8'?>
<groups>
  <group uri='http://www.myexperiment.org/group.xml?id=1' resource='http://www.myexperiment.org/groups/1'>GNU</group>
  <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=4' resource='http://www.myexperiment.org/groups/4'>Rooting unrooted trees</group>
  ...
</groups>


Create group

Planned.


Read group

URL: GET http://www.myexperiment.org/group.xml?id=4

Example output:

<?xml version='1.0' encoding='UTF-8'?>
<group uri='http://www.myexperiment.org/group.xml?id=4' resource='http://www.myexperiment.org/groups/4'>
  <auto-accept>false</auto-accept>
  <created-at>Fri Jul 20 17:44:36 +0100 2007</created-at>
  <description>Assuming the following is true: In the absence of a good outgroup the root may be positioned by assuming approximately equal evolutionary rates over all the branches. In this way the root is put at the midpoint of the longest pathway between two OTUs. This way of rooting is called mid-point rooting. I am trying to implement a way of rooting an unrooted tree using ruby. Having been to BOSC2007 in Vienna I have found that tree objects have been implemented in bioruby to some extent. I will try to adapt my code to be able to added to the bioruby code base.</description>
  <title>Rooting unrooted trees</title>
  <owner uri='http://www.myexperiment.org/user.xml?id=8' resource='http://www.myexperiment.org/users/8'>Anthony Underwood</owner>
</group>


Update group

Planned.


Delete group

Planned.


Elements for group

  • id - the id of the group
  • new_member_policy - the policy for members joining the group (either by_request or open)
  • created-at - the date/time the group was created
  • description - a description of the group
  • title - the title of the group
  • updated-at - the date/time the group was last modified
  • owner - the user is reponsible for the group
  • members - a list of user that are member of the group
  • shared-items - a list of contributions (e.g. workflows, files, packs, etc.) that are explicitly shared within the group
  • tags - a list of tag resources describing the group
  • taggings - a list of tagging resources (i.e. resources that describe tag resources in the context of the group)
  • comments - a list of comments about the group