simple view for api