From 2f1b3d4ae282eab1e5e1a930e0dfc9eb8a6d66d9 Mon Sep 17 00:00:00 2001 From: Vasyl Sovyak Date: Mon, 30 Oct 2023 09:54:10 +0200 Subject: [PATCH] feat: Strings translations APIs: add new parameters support (#168) --- src/CrowdinApiClient/Api/StringTranslationApi.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/CrowdinApiClient/Api/StringTranslationApi.php b/src/CrowdinApiClient/Api/StringTranslationApi.php index 447689e7..be294b91 100644 --- a/src/CrowdinApiClient/Api/StringTranslationApi.php +++ b/src/CrowdinApiClient/Api/StringTranslationApi.php @@ -23,6 +23,8 @@ class StringTranslationApi extends AbstractApi * @param int $projectId * @param array $params * integer $params[fileId] Must be used together with languageId
+ * string $params[labelIds]
+ * string $params[excludeLabelIds]
* integer $params[stringId] Must be used together with languageId
* string $params[languageId] Must be used together with stringId or fileId
* integer $params[translationId] If specified, fileId, stringId and languageId are ignored
@@ -224,6 +226,8 @@ public function delete(int $projectId, int $translationId) * integer $params[stringId] Must be used together with languageId
* string $params[languageId] Must be used together with stringId
* integer $params[translationId] If specified, stringId and languageId are ignored
+ * string $params[labelIds]
+ * string $params[excludeLabelIds]
* integer $params[limit]
* integer $params[offset] * @return ModelCollection