All I know about accessing myopenhab over REST is this. I don’t think it’s what you’re asking, but posting in case it helps.