REST based publishing