REST resources for the Snap web framework