get uri workflow draft
/members/{member}/groups/{group}/uris/{uri}/workflow [GET]
| API Support | Available since | Last updated | Output |
|---|---|---|---|
| 6.2000 | 6.2000 | xml, json |
Description
Lists the workflow steps for a specified URI (optionally including drafts).
Parameters
| Name | Description | Required | Type | Default value |
|---|---|---|---|---|
| draft | if true include draft workflow for current member | no | boolean | false |
Permission
Only the member themselves who can view the URI or an administrator can invoke this service.
Response
The output has the following format:
<workflow status="Initiated"
[due="2012-03-10T18:00:00+10:00"]
[priority="High"]
[statuschanged="2012-03-08T12:34:00+10:00"]>
[<assignedto id="123" date="2012-03-09T..."> ... </assignedto>]
<uri id="789">...</uri>
<comment id="123"
contentrole="Workflow"
created="2012-03-08T12:34:00+10:00"
status="Initiated"
[due="2012-03-10T18:00:00+10:00"]
[priority="High"]
[draft="true"]>
<title>Cavern stolen!</title>
<author email="alibaba@fortythieves.com.au"> ... </author>
<assignedto id="123" date="2012-03-09T..."> ... </assignedto>
<content id="789" type="text/plain">Please review the treasure.</content>
</comment>
...
</workflow>Error handling
No specific errors expected for this generator.