Skip to main content
POST
Import segments

Authorizations

Authorization
string
header
required

Get a token from auth/login endpoint and then pass it in the Authorization HTTP header in every subsequent API call. For more information visit our help center.

Headers

Content-Length
integer<int64>

Content length of the uploaded file

Content-Disposition
string
required

must match pattern ((inline|attachment); )?filename\*=UTF-8''(.+)

Path Parameters

transMemoryUid
string
required

Translation memory UID

Query Parameters

strictLangMatching
boolean
default:false

Require exact locale match for import (default: false)

stripNativeCodes
boolean
default:true

Strip native TM codes from imported segments (default: true)

excludeNotConfirmedSegments
boolean
default:false

Skip unconfirmed segments during import (default: false)

Body

The body is of type object.

Response

OK

Result of a TM segment import with counts of accepted, created, updated and skipped segments

acceptedSegmentsCount
integer<int32>

Number of segments accepted by the import

createdSegmentsCount
integer<int32>

Number of new segments created during import

skippedSegmentsCount
integer<int32>

Number of segments skipped during import

updatedSegmentsCount
integer<int32>

Number of existing segments updated during import