added endpoint for sfos file at api/things, fixed view page