Got it working with new LocalWiki API v4.