Status (/v1/file/status)

This v1 API method is scheduled for deprecation October 1, 2017. Where possible, use File API v2

Parameters

apiKey (required)

The API Key for your account. Available in the Smartling dashboard at Project Settings>API.

projectId (required)

The unique ID for your project. Available in the Smartling dashboard at Project Settings>API.

fileUri (required)

Value that uniquely identifies the file.

locale (required)

A locale identifier as specified in project setup. You can find the list of locales for your project on the Smartling dashboard at https://dashboard.smartling.com/settings/api.

Returns
{
    "fileUri": "[/myproject/i18n/admin_ui.properties]",
    "stringCount": "[number]",
    "wordCount": "[number]",
    "approvedStringCount": "[number]",
    "completedStringCount": "[number]",
    "lastUploaded": "[YYYY-MM-DDThh:mm:ss]",
    "fileType": "[fileType]"
}

fileUri

A unique identifier for the uploaded file.

stringCount

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

wordCount

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

approvedStringCount

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

completedStringCount

The number of published strings 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

Examples