Skip to content

Instantly share code, notes, and snippets.

Created October 5, 2010 05:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/611044 to your computer and use it in GitHub Desktop.
Save anonymous/611044 to your computer and use it in GitHub Desktop.
$ 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