Update Blog Translation
PUT
/api/v1/posts/id/{id}/translations/{lang}
Authorizations
SessionAuth
Session ID for authenticated requests
Type
API Key (header: X-Session-ID)
Parameters
Path Parameters
id*
Type
Requiredstring
lang*
Type
Requiredstring
Request Body
application/json
JSON "additionalProperties": "string"
{
}
Responses
Translation updated
Update a blog translation.
Auth: session + owner/admin.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | Post id |
lang | path | string | Yes | Language code |
Request Body
json
{
"title": "Hola mundo (actualizado)",
"body": "# Hola actualizado"
}Response 200
json
{
"data": { "id": "post_2", "lang": "es", "updated": true },
"user_context": { "authenticated": true },
"meta": {}
}Response Errors
400invalid translation payload401missing session403not owner/admin404translation not found
Notes
- Use this for translation fixes and editorial updates.
- Keep the language code explicit in the route.