public function FileApi::getStatusForAllLocales in TMGMT Translator Smartling 8.2
Same name in this branch
- 8.2 api-sdk-php/src/File/FileApi.php \Smartling\File\FileApi::getStatusForAllLocales()
- 8.2 vendor/smartling/api-sdk-php/src/File/FileApi.php \Smartling\File\FileApi::getStatusForAllLocales()
Same name and namespace in other branches
- 8.4 vendor/smartling/api-sdk-php/src/File/FileApi.php \Smartling\File\FileApi::getStatusForAllLocales()
- 8.3 vendor/smartling/api-sdk-php/src/File/FileApi.php \Smartling\File\FileApi::getStatusForAllLocales()
Retrieves status about file translation progress for all locales.
Parameters
string $fileUri: Value that uniquely identifies the file.
ParameterInterface $params: Additional parameters that might be added later
Return value
array Data about request file. Data about request file.
Throws
See also
http://docs.smartling.com/pages/API/v2/FileAPI/Status/All-Locales/
File
- vendor/
smartling/ api-sdk-php/ src/ File/ FileApi.php, line 236
Class
- FileApi
- Class FileApi
Namespace
Smartling\FileCode
public function getStatusForAllLocales($fileUri, ParameterInterface $params = null) {
$params = is_null($params) ? [] : $params
->exportToArray();
$params['fileUri'] = $fileUri;
$requestData = $this
->getDefaultRequestData('query', $params);
return $this
->sendRequest("/file/status", $requestData, self::HTTP_METHOD_GET);
}