public function FileApi::getStatusAllLocales in TMGMT Translator Smartling 8.4
Same name and namespace in other branches
- 8.2 api-sdk-php/src/File/FileApi.php \Smartling\File\FileApi::getStatusAllLocales()
- 8.2 vendor/smartling/api-sdk-php/src/File/FileApi.php \Smartling\File\FileApi::getStatusAllLocales()
- 8.3 vendor/smartling/api-sdk-php/src/File/FileApi.php \Smartling\File\FileApi::getStatusAllLocales()
retrieve all statuses about file translations progress
Parameters
$fileUri:
ParameterInterface $params:
Return value
array
Throws
File
- vendor/
smartling/ api-sdk-php/ src/ File/ FileApi.php, line 384
Class
- FileApi
- Class FileApi
Namespace
Smartling\FileCode
public function getStatusAllLocales($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);
}