Status - Single Locale / Extended Response

GET - /files-api/v2/projects/{projectId}/locales/{localeId}/file/status

Returns detailed status information on a specific file.

Parameters

fileUri (required)

Value that uniquely identifies the file.

Returns
{
    "response": {
        "code": "SUCCESS",
        "data": {
            "fileUri": "[/myproject/i18n/admin_ui.properties]",
            "totalStringCount": "[number]",
            "totalWordCount": "[number]",
            "authorizedStringCount": "[number]",
            "completedStringCount": "[number]",
            "excludedStringCount": "[number]",
            "completedWordCount": "[number]",
            "authorizedWordCount": "[number]",
            "excludedWordCount": "[number]",
            "lastUploaded": "[YYYY-MM-DDThh:mm:ssZ]",
            "fileType": "[fileType]",
            "parserVersion": "3",
            "hasInstructions": "true"
        }
    }
}

fileUri

A unique identifier for the uploaded file.

totalStringCount

The number of strings in the uploaded file, minus any excluded content.

totalWordCount

The number of words in the uploaded file, minus any excluded content.

authorizedStringCount

The number of strings in the uploaded file that are authorized (available for translation).

completedStringCount

The number of published strings in the uploaded file.

excludedStringCount

The number of excluded strings in the uploaded file.

completedWordCount

The number of published words in the uploaded file.

authorizedWordCount

The number of words in the uploaded file that are authorized (available for translation).

excludedWordCount

The number of excluded words in the uploaded file.

lastUploaded

The time and date of the last upload: YYYY-MM-DDThh:mm:ss

fileType

The type of file: android, ios, gettext, javaProperties, xliff, yaml, etc

parserVersion

Records the version of Smartling's File Parser used to parse the file.

hasInstructions

Boolean - records whether translator instructions have been captured for the file.

Examples