Skip to main content

 Services

Web services from /about to /webhooks

get uri workflow draft

/members/{member}/groups/{group}/uris/{uri}/workflow [GET]

Description

Lists the workflow steps for a specified URI (optionally including drafts).

Parameters

NameDescriptionRequiredTypeDefault value
draftif true include draft workflow for current membernobooleanfalse

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.

Created on , last edited on