news

Save Translation

The post's translation into locale, made or replaced: title, dek and bodyMd, refused for what the post's own save refuses (the same limits, the same parser, a {{price:x}} or {{game:x}} that names no game). Stamped with the English as it is now (its hash, and the words themselves as sourceAtSave), so a save makes it current.

sourceHash, optional: the English's source.hash the translator read. When the English has changed since, the save is a 409 rather than a translation of text the post no longer has marked current.

put/api/admin/news/{post_id}/translations/{locale}

Request

  • Base URL: https://api.getcheapgames.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.getcheapgames.com/api/admin/news/{post_id}/translations/{locale}
  • Auth: none declared

Path parameters

post_idinteger required
localestring required

Headers

authorizationstring

Request body

object required

Response

Successful Response

localestring required
titlestring required
dekstring required
bodyMdstring required
readingMinutesinteger required
status'current' | 'outdated' required
updatedAtstring date-time required

Changes

No recorded changes to this operation across all 3 revisions of this API.