Updating an Article

PATCH /article/:article_id

Arguments

Required?

article_id
String

Yes

title
String

No

category_id
String

No

user_id
String

No

body
String

No

is_private
Boolean

No

is_published
Boolean

No

description
String

No

short_version
String

No

slug
String

No

tags
String Array

No

multilingual
ArticleMultilingual Array

No

Example response:

{
"article": Article
}

Updating Multilingual Content

The multilingual array can contain any translations you want to update. Here's the properties available on each ArticleMultilingual object:

Arguments

Required?

language_code
String

Yes

title
String

No

body
String

No

description
String

No

short_version
String

No

slug
String

No

tags
String Array

No

is_live
Boolean

No

You only need to pass the fields that you want to update. So this is a perfectly acceptable request:

PATCH /article/:article_id {
multilingual: [
language_code: "de",
title: "New german title"
]
}

That would just update the German title of your article, leaving all the other properties as they were before.


How did we do?