Skip to main content
PATCH
Update a string

Authorizations

x-api-key
string
header
required

Path Parameters

projectId
string
required
Maximum string length: 128
stringId
string<uuid>
required

Body

application/json
sourceText
string
Required string length: 1 - 100000
context
string | null
Maximum string length: 10000
maxLength
integer | null
Required range: 1 <= x <= 100000
hidden
boolean
keepApproved
boolean
default:false

Keep approved translations approved for this source text change, for a typo or punctuation fix. Not a change on its own.

customMetadata
object

Merged into the string's custom metadata: a string sets the key, null removes it, and keys you leave out are kept. A string holds at most 50 keys (400 invalid_custom_metadata).

Response

Updated string.

string
object
required