Adds publishings API endpoints