Add 'directPublication' action on REST document result