-
Notifications
You must be signed in to change notification settings - Fork 7
Developer:CreditsResource
Finn Bacall edited this page May 19, 2017
·
1 revision
URI: GET http://www.myexperiment.org/credits.xml
Example output:
<?xml version="1.0"?> <credits> <credit uri="http://www.myexperiment.org/credit.xml?id=5"/> <credit uri="http://www.myexperiment.org/credit.xml?id=6"/> <credit uri="http://www.myexperiment.org/credit.xml?id=7"/> <credit uri="http://www.myexperiment.org/credit.xml?id=8"/> <credit uri="http://www.myexperiment.org/credit.xml?id=10"/> ... </credits>
Planned.
URL: GET http://www.myexperiment.org/credit.xml?id=349
Example output:
<?xml version="1.0"?> <credit uri="http://www.myexperiment.org/credit.xml?id=349"> <id>349</id> <creditor uri="http://www.myexperiment.org/user.xml?id=22" resource="http://www.myexperiment.org/users/22"/> <object> <workflow resource="http://www.myexperiment.org/workflows/173" uri="http://www.myexperiment.org/workflow.xml?id=173" version="2">Unique tags</workflow> </object> <created-at>Tue Mar 11 16:52:43 +0000 2008</created-at> </credit>
Not implemented as there is nothing to update.
Planned.
- id - the id of the credit
- creditor - the user who is being credited
- object - the object for which the user is being credited (e.g. workflow, file, etc.)
- created-at - the date/time the credit was created
- updated-at - the date/time the credit was last modified