public function SmartlingApi::getStatus in TMGMT Translator Smartling 8
Retrieves status about file translation progress.
Parameters
string $fileUri: Value that uniquely identifies the file.
string $locale: A locale identifier as specified in project setup.
array $params:
Return value
array Data about request file.
Throws
\Drupal\tmgmt_smartling\Smartling\SmartlingApiException
See also
http://docs.smartling.com/pages/API/FileAPI/Status/
File
- src/
Smartling/ SmartlingApi.php, line 264
Class
Namespace
Drupal\tmgmt_smartling\SmartlingCode
public function getStatus($fileUri, $locale, $params = []) {
$params['fileUri'] = $fileUri;
$params['locale'] = $locale;
return $this
->sendRequest('file/status', $params, 'GET');
}