Skip to main content

Get translations in project

GET 

/v2/projects/:projectId/translations

Get translations in project

Request

Path Parameters

    projectId int64required

Query Parameters

    cursor string

    Cursor to get next data

    filterState string[]

    Translation state in the format: languageTag,state. You can use this parameter multiple times.

    When used with multiple states for same language it is applied with logical OR.

    When used with multiple languages, it is applied with logical AND.

    languages string[]

    Languages to be contained in response.

    To add multiple languages, repeat this param (eg. ?languages=en&languages=de)

    Example: en
    search string

    String to search in key name or translation text

    filterKeyName string[]

    Selects key with provided names. Use this param multiple times to fetch more keys.

    filterKeyId int64[]

    Selects key with provided ID. Use this param multiple times to fetch more keys.

    filterUntranslatedAny boolean

    Selects only keys for which the translation is missing in any returned language. It only filters for translations included in returned languages.

    filterTranslatedAny boolean

    Selects only keys, where translation is provided in any language

    filterUntranslatedInLang string

    Selects only keys where the translation is missing for the specified language. The specified language must be included in the returned languages. Otherwise, this filter doesn't apply.

    Example: en-US
    filterTranslatedInLang string

    Selects only keys, where translation is provided in specified language

    Example: en-US
    filterHasScreenshot boolean

    Selects only keys with screenshots

    filterHasNoScreenshot boolean

    Selects only keys without screenshots

    filterNamespace string[]

    Filter namespaces.

    To filter default namespace, set to empty string.

    filterTag string[]

    Selects only keys with provided tag

    filterOutdatedLanguage string[]

    Selects only keys, where translation in provided langs is in outdated state

    Example: en-US
    filterNotOutdatedLanguage string[]

    Selects only keys, where translation in provided langs is not in outdated state

    Example: en-US
    filterRevisionId int64[]

    Selects only key affected by activity with specidfied revision ID

    Example: 1234567
    filterFailedKeysOfJob int64

    Select only keys which were not successfully translated by batch job with provided id

    filterTaskNumber int64[]

    Select only keys which are in specified task

    filterTaskKeysNotDone boolean

    Filter task keys which are not done

    filterTaskKeysDone boolean

    Filter task keys which are done

    page integer

    Default value: 0

    Zero-based page index (0..N)

    size integer

    Possible values: >= 1

    Default value: 20

    The size of the page to be returned

    sort string[]

    Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

Responses

OK

Schema
    _embedded object
    keys object[]
  • Array [
  • contextPresent booleanrequired

    There is a context available for this key

    keyDescription string

    The namespace of the key

    keyId int64required

    Id of key record

    keyIsPlural booleanrequired

    Is this key a plural?

    keyName stringrequired

    Name of key

    keyNamespace string

    The namespace of the key

    keyNamespaceId int64

    The namespace id of the key

    keyPluralArgName string

    The placeholder name for plural parameter

    keyTags object[]required

    Tags of key

  • Array [
  • id int64required
    name stringrequired
  • ]
  • screenshotCount int64required

    Count of screenshots provided for the key

    screenshots object[]

    Key screenshots. Not provided when API key hasn't screenshots.view scope permission.

  • Array [
  • createdAt date-time
    fileUrl stringrequired
    filename stringrequired

    File name, which may be downloaded from the screenshot path.

    When images are secured. Encrypted timestamp is appended to the filename.

    height int32
    id int64required
    keyReferences object[]required
  • Array [
  • keyId int64required
    keyName stringrequired
    keyNamespace string
    originalText string
    position object
    height int32required
    width int32required
    x int32required
    y int32required
  • ]
  • location string
    middleSized string
    middleSizedUrl string
    thumbnail stringrequired

    Thumbnail file name, which may be downloaded from the screenshot path.

    When images are secured. Encrypted timestamp is appended to the filename.

    thumbnailUrl stringrequired
    width int32
  • ]
  • tasks object[]

    Tasks related to this key

  • Array [
  • done booleanrequired
    languageId int64required
    languageTag stringrequired
    number int64required
    type stringrequired

    Possible values: [TRANSLATE, REVIEW]

    userAssigned booleanrequired
  • ]
  • translations objectrequired

    Translations object

    property name* TranslationViewModel

    Translations object

    auto booleanrequired

    Was translated using Translation Memory or Machine translation service?

    commentCount int64required

    Count of translation comments

    fromTranslationMemory booleanrequired

    Was translation memory used to translate this?

    id int64required

    Id of translation record

    mtProvider string

    Possible values: [GOOGLE, AWS, DEEPL, AZURE, BAIDU, TOLGEE]

    Which machine translation service was used to auto translate this

    outdated booleanrequired

    Whether base language translation was changed after this translation was updated

    state stringrequired

    Possible values: [UNTRANSLATED, TRANSLATED, REVIEWED, DISABLED]

    State of translation

    text string

    Translation text

    unresolvedCommentCount int64required

    Count of unresolved translation comments

  • ]
  • nextCursor string

    Cursor to get next data

    page object
    number int64
    size int64
    totalElements int64
    totalPages int64
    selectedLanguages object[]required

    Provided languages data

  • Array [
  • base booleanrequired

    Whether is base language of project

    flagEmoji string

    Language flag emoji as UTF-8 emoji

    id int64required
    name stringrequired

    Language name in english

    originalName string

    Language name in this language

    tag stringrequired

    Language tag according to BCP 47 definition

  • ]
Loading...