-
Print
-
DarkLight
POST/articles/{id}/{langcode}/publish
Publishes an article in respective language 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 |
langcode | string | Language code for multilingual (Default value is en) |
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?