Status - All Locales

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

Returns 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]",
            "fileType": "[fileType]",
            "lastUploaded": "[YYYY-MM-DDThh:mm:ssZ]",
            "totalCount": "2",
            "parserVersion": "3",
            "hasInstructions": "true",
            "items": [{
                "localeId": "de-DE",
                "authorizedStringCount": "[number]",
                "completedStringCount": "[number]",
                "authorizedWordCount": "[number]",
                "excludedWordCount": "[number]"
            }]
        }
    }
}

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.

fileType

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

lastUploaded

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

totalCount

Total number of locales status is returned for.

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.

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.

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