Newer Version Available
Publish the Master Version of an Article
Publishes the master version of an article. The publishing actions are defined by the field change you request on the resource. To publish a minor version, use "publishStatus":"Online". To publish a major version, use "publishStatus":"Online" and "versionNumber":"NextVersion". To schedule a publication date, use "publishScheduleDate" : <date>.
- URI
-
1/services/data/v25.0/knowledgeManagement/articleVersions/masterVersions/<versionId> - Formats
- JSON, XML
- HTTP Method
- PATCH
- Authentication
- Authorization: OAuth accesstoken
- Parameters
-
Parameter Description publishStatus Publishing status of the article. Use online. versionNumber Version of the article. publishScheduleDate Date to publish the article. - Example request body
- Publish a minor version:
1{ 2"publishStatus":"Online" 3} - Publish a major version:
1{ 2"publishStatus":"Online" 3"versionNumber":"NextVersion" 4} - Schedule for publication (using GMT date format):
1{ 2"publishScheduleDate" : "2012-05-19T07:00:00.000+0000" 3} - Example response body
- HTTP status code 204 is returned when an existing record is updated.