wikimusic-ssr-0.6.0.0
Safe HaskellSafe-Inferred
LanguageGHC2021

WikiMusic.SSR.Servant.ApiSpec

Documentation

type WikiMusicSSRServant = Get '[HTML] NoContent :<|> (("artists" :> (WithCookie :> (QueryParam "sort-order" Text :> (QueryParam "limit" Int :> (QueryParam "offset" Int :> GetHtml))))) :<|> (("artists" :> (WithCookie :> (Capture "identifier" UUID :> GetHtml))) :<|> (("artists" :> ("create" :> (WithCookie :> GetHtml))) :<|> (("artists" :> ("create" :> (WithCookie :> PostDataForm))) :<|> (("artists" :> ("like" :> (WithCookie :> (WithReferer :> (Capture "identifier" UUID :> PostNoFields))))) :<|> (("artists" :> ("dislike" :> (WithCookie :> (WithReferer :> (Capture "identifier" UUID :> PostNoFields))))) :<|> (("genres" :> (WithCookie :> (QueryParam "sort-order" Text :> (QueryParam "limit" Int :> (QueryParam "offset" Int :> GetHtml))))) :<|> (("genres" :> (WithCookie :> (Capture "identifier" UUID :> GetHtml))) :<|> (("genres" :> ("create" :> (WithCookie :> GetHtml))) :<|> (("songs" :> (WithCookie :> (QueryParam "sort-order" Text :> (QueryParam "limit" Int :> (QueryParam "offset" Int :> GetHtml))))) :<|> (("songs" :> (WithCookie :> (Capture "identifier" UUID :> GetHtml))) :<|> (("songs" :> ("create" :> (WithCookie :> GetHtml))) :<|> (("user-preferences" :> ("locale" :> (WithReferer :> CookieForm))) :<|> (("user-preferences" :> ("artist-sorting" :> (WithReferer :> CookieForm))) :<|> (("user-preferences" :> ("genre-sorting" :> (WithReferer :> CookieForm))) :<|> (("user-preferences" :> ("song-sorting" :> (WithReferer :> CookieForm))) :<|> (("user-preferences" :> ("dark-mode" :> (WithReferer :> CookieForm))) :<|> (("user-preferences" :> ("song-ascii-size" :> (WithReferer :> CookieForm))) :<|> (("user-preferences" :> ("palette" :> (WithReferer :> CookieForm))) :<|> (("login" :> (WithCookie :> GetHtml)) :<|> ("login" :> CookieForm))))))))))))))))))))) Source #