Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type HistoryAPI = Get `[HTML, JSON]` History :| ((Capture "version" Version :> VersionAPI) :| (("diff" :> (QueryParam "from" Version :> (QueryParam "to" Version :> Get `[HTML, JSON]` DiffPage))) :| ("revert" :> (ReqBody `[FormUrlEncoded, JSON]` RevReq :> Post `[HTML, JSON]` PrettyPage)))) Source
type VersionAPI = PageViewAPI :| (ReqBody `[FormUrlEncoded, JSON]` NewBody :> Post `[HTML, JSON]` PrettyPage) Source
type PageAPI = PageViewAPI :| ("history" :> HistoryAPI) Source