Created
October 5, 2010 05:25
-
-
Save anonymous/611044 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -H "Accept: application/json" http://localhost:9292/_ruote/processes/20100916-behataraso | |
==> | |
{ "process": { | |
"definition_revision": "0.1", | |
"wfid": "20100916-behataraso", | |
"definition_name": "test", | |
"original_tree": [ "define", { "name": "test", "revision": "0.1" }, [ | |
[ "sequence", { }, [ | |
[ "error", { "偽物": null }, [ ] ], | |
[ "bob", { "task": "sell car" }, [ ] ] ] ] ] | |
], | |
"variables": { }, | |
"errors": 1, | |
"tags": [ ], | |
"type": "process", | |
"workitems": 0, | |
"last_active": "2010-09-16 04:40:20.518406 UTC", | |
"links": [ | |
{ "href": "/_ruote/processes/20100916-behataraso", | |
"rel": "self" }, | |
{ "href": "/_ruote/processes/20100916-behataraso", | |
"rel": "http://ruote.rubyforge.org/rels.html#process" }, | |
{ "href": "/_ruote/expressions/20100916-behataraso", | |
"rel": "http://ruote.rubyforge.org/rels.html#process_expressions" }, | |
{ "href": "/_ruote/workitems/20100916-behataraso", | |
"rel": "http://ruote.rubyforge.org/rels.html#process_workitems" }, | |
{ "href": "/_ruote/errors/20100916-behataraso", | |
"rel": "http://ruote.rubyforge.org/rels.html#process_errors" }, | |
{ "href": "/_ruote/schedules/20100916-behataraso", | |
"rel": "http://ruote.rubyforge.org/rels.html#process_schedules" } | |
], | |
"detailed": true, | |
"current_tree": [ "define", { "name": "test", "revision": "0.1" }, [ | |
[ "sequence", { }, [ | |
[ "error", { "偽物": null }, [ ] ], | |
[ "bob", { "task": "sell car" }, [ ] ] ] ] ] | |
], | |
"launched_time": "2010-09-16 04:40:20.505769 UTC", | |
"expressions": 3, | |
"stored_workitems": 0 | |
}, | |
"links": [ | |
{ "href": "/_ruote", | |
"rel": "http://ruote.rubyforge.org/rels.html#root" }, | |
{ "href": "/_ruote/processes", | |
"rel": "http://ruote.rubyforge.org/rels.html#processes" }, | |
{ "href": "/_ruote/workitems", | |
"rel": "http://ruote.rubyforge.org/rels.html#workitems" }, | |
{ "href": "/_ruote/errors", | |
"rel": "http://ruote.rubyforge.org/rels.html#errors" }, | |
{ "href": "/_ruote/participants", | |
"rel": "http://ruote.rubyforge.org/rels.html#participants" }, | |
{ "href": "/_ruote/schedules", | |
"rel": "http://ruote.rubyforge.org/rels.html#schedules" }, | |
{ "href": "/_ruote/history", | |
"rel": "http://ruote.rubyforge.org/rels.html#history" }, | |
{ "href": "/_ruote/processes/20100916-behataraso", | |
"rel": "self" } ] } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment