API Method: workflow enacting

HEAD /:user_id/workflow/:workflow_id

Tests whether the specified workflow is still being enacted (executed). This method can be polled to detect when the SubSift's workflow enacter has finished running the workflow. Do not poll more frequently than every minute. Returns a 200 OK HTTP status code if there are commands in the workflow still to be enacted. Otherwise returns 404 Not Found.

URL:

http://subsift.ilrt.bris.ac.uk/user_id/workflow/workflow_id.format

Formats (about return formats):

Irrelevant because no response body is returned.

HTTP Methods (about HTTP methods):

HEAD

Clients that can not issue HEAD requests can use GET with the added parameter _method=HEAD

Requires Authentication (about authentication):

true

Parameters:

Usage Examples:

cURL (about cURL):

curl -X HEAD -H "Token:mytoken" http://subsift.ilrt.bris.ac.uk/kdd09/workflow/myflow1.xml

Response (about return values):

A response header is returned with the result in the HTTP status. No response body is returned.