#22988 Added the ability to publish with ids. Switched to Batch calls.