html structures resource api