Developer:CurationEventsResource

From myExperiment
Jump to: navigation, search

Index of curation events

URI: GET http://www.myexperiment.org/curation-events.xml

Example output:

<curation-events>
  <curation-event uri="http://www.myexperiment.org/curation-event.xml?id=1">tutorial / example</curation-event>
  <curation-event uri="http://www.myexperiment.org/curation-event.xml?id=2">tutorial / example</curation-event>
  <curation-event uri="http://www.myexperiment.org/curation-event.xml?id=3">example data</curation-event>
  <curation-event uri="http://www.myexperiment.org/curation-event.xml?id=4">runnable</curation-event>
  <curation-event uri="http://www.myexperiment.org/curation-event.xml?id=5">whole solution</curation-event>
  ...
</curation-events>


Create curation events

Planned.


Read curation event

URI: GET http://www.myexperiment.org/curation-event.xml?id=1

Example output:

<?xml version="1.0"?>
<curation-event uri="http://www.myexperiment.org/curation-event.xml?id=1">
  <id>1</id>
  <user uri="http://www.myexperiment.org/user.xml?id=30" resource="http://www.myexperiment.org/users/30">#<User:0x2aaab85fe870></user>
  <object>
    <workflow resource="http://www.myexperiment.org/workflows/996" uri="http://www.myexperiment.org/workflow.xml?id=996" version="1">A workflow version of the EMBOSS tutorial</workflow>
  </object>
  <category>tutorial / example</category>
  <details/>
  <created-at>Thu Jan 21 11:43:26 +0000 2010</created-at>
</curation-event>


Update curation event

Not implemented as there is nothing to update.


Delete curation event

Planned.


Elements for curation event

  • id - the id of the curation event
  • user - the user who performed the curation event
  • object - the object being curated in the curation event (e.g. a workflow)
  • category - the category the curation event has categorised the object as being in. (E.g. a workflow categorised as a 'tutorial / example).
  • details - further detail about the curation event's categorisation of the object
  • created-at - the date/time the curation event was created
  • updated-at - the date/time the curation event was last modified