Skip to content

Update blog article

PUT
/blogs/{blog_id}/articles/{article_id}

Replaces the article's content or metadata with new values.

Authorizations

bearerToken|siteContext
bearerToken

Personal access token tied to a user account. Requires the X-Nimbu-Site header to scope requests.

TypeHTTP (bearer)
+
siteContext

Identifier of the site context when authenticating with a personal access token.

TypeAPI Key (header: X-Nimbu-Site)
or
siteToken

Site-scoped API token that already encodes the site context.

TypeHTTP (bearer)

Parameters

Path Parameters

blog_id*

Blog identifier

Typestring
Required
article_id*

Article identifier (id or slug)

Typestring
Required

Request Body

application/json
JSON
{
"title": "string",
"slug": "string",
"text_content": "string",
"text_excerpt": "string",
"status": "string",
"publish_at": "string",
"tags": [
"string"
]
}

Responses

article updated

application/json
JSON
{
"id": "string",
"url": "string",
"created_at": "string",
"updated_at": "string",
"publish_at": "string",
"status": "string",
"locales": [
"string"
],
"header": {
},
"thumbnail": {
},
"og_image": {
},
"og_fb_publisher": "string",
"og_tw_creator": "string",
"next_article": {
},
"previous_article": {
},
"author": "string",
"public_url": "string",
"fullpath": "string",
"slug": "string",
"title": "string",
"text_content": "string",
"text_excerpt": "string",
"seo_title": "string",
"seo_description": "string",
"seo_keywords": "string",
"tags": [
"string"
],
"slugified_tags": [
"string"
],
"additionalProperties": "string"
}

Playground

Authorization
Variables
Key
Value
Body

Samples

Part of Nimbu, built by Zenjoy.