* Start of a JSON API to get information about a specific build.

E.g. http://server/build/1341335/api/get-info returns a JSON 
  record containing information about the build.
This commit is contained in:
Eelco Dolstra
2011-09-15 08:27:17 +00:00
parent d72538e641
commit d8a7ca67f4
5 changed files with 28 additions and 11 deletions

View File

@ -43,7 +43,13 @@ __PACKAGE__->config(
},
},
},
}
},
'View::JSON' => {
expose_stash => qr/^json/,
},
'Plugin::Session' => {
expires => 3600 * 24 * 2,
},
);
__PACKAGE__->setup();