Skip to content

Save a hand-edited update translation​

PUT
/fundraisers/{id}/updates/{updateId}/translations/{lang}

Creates or overwrites an update's translation in lang as source: "human", so no automatic pass overwrites it. Campaign owner only. Audit-logged. Refused in the update's own language. When the update has a title, the translation must carry one too.

Authorizations​

BearerAuth

In the browser, authentication rides on the httpOnly session cookies set by /cognito/signin or the Google / Apple sign-in at /cognito/oauth/{provider}. For scripts and for Swagger UI testing, paste an API key (fh_live_…, created with POST /api-keys); a Cognito JWT is accepted too. Sign-in does not return a token in its body.

Type
HTTP (bearer)

Parameters​

Path Parameters

id*

The campaign's UUID.

Type
string
Required
Format
"uuid"
updateId*
Type
string
Required
Format
"uuid"
lang*
Type
string
Required
Valid values
"en""ru""uk""es"

Request Body​

application/json
JSON
{
"title": "string",
"content": "string"
}

Responses​

The saved row

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​

Powered by VitePress OpenAPI

Built with VitePress