Publishes a content object.
id
Id of the content we want to publish.
input
Fields required to publish content.
Returns ContentPublish .