Publish an article
  • Updated on 16 Apr 2019
  • 1 minute to read
  • Contributors
  • Print
  • Share
  • Dark
    Light

Publish an article

  • Print
  • Share
  • Dark
    Light

POST/articles/{id}/publish

Publishes an article with an id


Header

Parameter Type Description
api_token string REST API key you can get it from Settings > API.

Route Parameters

Parameters highlighted in bold are mandatory

Parameter Type Description
id string Id of the article

Body Parameters

Parameters highlighted in bold are mandatory

Parameter Type Description
version_number number The version number to be published. Minimum Value 1
user_id string The id of the user that will be marked as an author of this publish

Sample Request

{
    "version_number": 1,
    "user_id": "5ae331f74e60146b233558c6"
}

Response

Status
200 OK
Was this article helpful?