This module provides util functions to build ReviewBoard requests.
The current implementation for this small project is maybe an overkill, but it
provides constants for URL path elements and
simplifies building API calls.
The call format is method (path1 . path2 . path3) [form var]
, for example the API GET call to
/api/json/reviewrequests/5/delete/ can be executed by calling
get (reviewrequests (Just 5) . delete) []
The current approach to handle request may change if I find a way
to automatically generate API calls from ReviewBoard code.
|