Newer Version Available

This content describes an older version of this product. View Latest

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>.

Syntax

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.
Input
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       }
Output
HTTP status code 204 is returned when an existing record is updated.