Translation Memory
TM Segment Batch Operations
Required scopes: tm (Read and Write).
Perform batch operations on translation memory segments. Supports add (create new segment or append a record to an existing segment), remove (delete segment or delete a single record from a segment), and replace (update record text).
patch/tms/{tmId}/segments
Request
- Base URLhttps://api.crowdin.com/api/v2
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
tmIdinteger required
TM Identifier. Get via List TMs
Request body
Example request
[
{
"value": {
"records": [
{
"languageId": "uk",
"text": "Перекладений текст"
}
]
}
}
]Response
TM segments were successfully updated
Example response
{
"data": [
{
"data": {
"id": 4,
"records": [
{
"id": 1,
"languageId": "uk",
"text": "Перекладений текст",
"usageCount": 13,
"createdBy": 1,
"updatedBy": 1,
"createdAt": "2019-09-16T13:48:04+00:00",
"updatedAt": "2019-09-16T13:48:04+00:00"
}
]
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.