@@ -228,8 +228,8 @@ private function addFile(string $domain, string $content): ?array
228228 $ storageId = $ this ->addStorage ($ domain , $ content );
229229
230230 /**
231- * @see https://support .crowdin.com/api/v2/#operation/api.projects.files.getMany (Crowdin API)
232- * @see https://support .crowdin.com/enterprise/api/#operation/api.projects.files.getMany (Crowdin Enterprise API)
231+ * @see https://developer .crowdin.com/api/v2/#operation/api.projects.files.getMany (Crowdin API)
232+ * @see https://developer .crowdin.com/enterprise/api/v2 /#operation/api.projects.files.getMany (Crowdin Enterprise API)
233233 */
234234 $ response = $ this ->client ->request ('POST ' , 'files ' , [
235235 'json ' => [
@@ -252,8 +252,8 @@ private function updateFile(int $fileId, string $domain, string $content): ?arra
252252 $ storageId = $ this ->addStorage ($ domain , $ content );
253253
254254 /**
255- * @see https://support .crowdin.com/api/v2/#operation/api.projects.files.put (Crowdin API)
256- * @see https://support .crowdin.com/enterprise/api/#operation/api.projects.files.put (Crowdin Enterprise API)
255+ * @see https://developer .crowdin.com/api/v2/#operation/api.projects.files.put (Crowdin API)
256+ * @see https://developer .crowdin.com/enterprise/api/v2 /#operation/api.projects.files.put (Crowdin Enterprise API)
257257 */
258258 $ response = $ this ->client ->request ('PUT ' , 'files/ ' .$ fileId , [
259259 'json ' => [
@@ -275,8 +275,8 @@ private function uploadTranslations(int $fileId, string $domain, string $content
275275 $ storageId = $ this ->addStorage ($ domain , $ content );
276276
277277 /*
278- * @see https://support .crowdin.com/api/v2/#operation/api.projects.translations.postOnLanguage (Crowdin API)
279- * @see https://support .crowdin.com/enterprise/api/#operation/api.projects.translations.postOnLanguage (Crowdin Enterprise API)
278+ * @see https://developer .crowdin.com/api/v2/#operation/api.projects.translations.postOnLanguage (Crowdin API)
279+ * @see https://developer .crowdin.com/enterprise/api/v2 /#operation/api.projects.translations.postOnLanguage (Crowdin Enterprise API)
280280 */
281281 return $ this ->client ->request ('POST ' , 'translations/ ' .str_replace ('_ ' , '- ' , $ locale ), [
282282 'json ' => [
@@ -289,8 +289,8 @@ private function uploadTranslations(int $fileId, string $domain, string $content
289289 private function exportProjectTranslations (string $ languageId , int $ fileId ): ResponseInterface
290290 {
291291 /*
292- * @see https://support .crowdin.com/api/v2/#operation/api.projects.translations.exports.post (Crowdin API)
293- * @see https://support .crowdin.com/enterprise/api/#operation/api.projects.translations.exports.post (Crowdin Enterprise API)
292+ * @see https://developer .crowdin.com/api/v2/#operation/api.projects.translations.exports.post (Crowdin API)
293+ * @see https://developer .crowdin.com/enterprise/api/v2 /#operation/api.projects.translations.exports.post (Crowdin Enterprise API)
294294 */
295295 return $ this ->client ->request ('POST ' , 'translations/exports ' , [
296296 'json ' => [
@@ -303,17 +303,17 @@ private function exportProjectTranslations(string $languageId, int $fileId): Res
303303 private function downloadSourceFile (int $ fileId ): ResponseInterface
304304 {
305305 /*
306- * @see https://support .crowdin.com/api/v2/#operation/api.projects.files.download.get (Crowdin API)
307- * @see https://support .crowdin.com/enterprise/api/#operation/api.projects.files.download.get (Crowdin Enterprise API)
306+ * @see https://developer .crowdin.com/api/v2/#operation/api.projects.files.download.get (Crowdin API)
307+ * @see https://developer .crowdin.com/enterprise/api/v2 /#operation/api.projects.files.download.get (Crowdin Enterprise API)
308308 */
309309 return $ this ->client ->request ('GET ' , sprintf ('files/%d/download ' , $ fileId ));
310310 }
311311
312312 private function listStrings (int $ fileId , int $ limit , int $ offset ): array
313313 {
314314 /**
315- * @see https://support .crowdin.com/api/v2/#operation/api.projects.strings.getMany (Crowdin API)
316- * @see https://support .crowdin.com/enterprise/api/#operation/api.projects.strings.getMany (Crowdin Enterprise API)
315+ * @see https://developer .crowdin.com/api/v2/#operation/api.projects.strings.getMany (Crowdin API)
316+ * @see https://developer .crowdin.com/enterprise/api/v2 /#operation/api.projects.strings.getMany (Crowdin Enterprise API)
317317 */
318318 $ response = $ this ->client ->request ('GET ' , 'strings ' , [
319319 'query ' => [
@@ -335,17 +335,17 @@ private function listStrings(int $fileId, int $limit, int $offset): array
335335 private function deleteString (int $ stringId ): ResponseInterface
336336 {
337337 /*
338- * @see https://support .crowdin.com/api/v2/#operation/api.projects.strings.delete (Crowdin API)
339- * @see https://support .crowdin.com/enterprise/api/#operation/api.projects.strings.delete (Crowdin Enterprise API)
338+ * @see https://developer .crowdin.com/api/v2/#operation/api.projects.strings.delete (Crowdin API)
339+ * @see https://developer .crowdin.com/enterprise/api/v2 #operation/api.projects.strings.delete (Crowdin Enterprise API)
340340 */
341341 return $ this ->client ->request ('DELETE ' , 'strings/ ' .$ stringId );
342342 }
343343
344344 private function addStorage (string $ domain , string $ content ): int
345345 {
346346 /**
347- * @see https://support .crowdin.com/api/v2/#operation/api.storages.post (Crowdin API)
348- * @see https://support .crowdin.com/enterprise/api/#operation/api.storages.post (Crowdin Enterprise API)
347+ * @see https://developer .crowdin.com/api/v2/#operation/api.storages.post (Crowdin API)
348+ * @see https://developer .crowdin.com/enterprise/api/v2 /#operation/api.storages.post (Crowdin Enterprise API)
349349 */
350350 $ response = $ this ->client ->request ('POST ' , '../../storages ' , [
351351 'headers ' => [
@@ -367,8 +367,8 @@ private function getFileList(): array
367367 $ result = [];
368368
369369 /**
370- * @see https://support .crowdin.com/api/v2/#operation/api.projects.files.getMany (Crowdin API)
371- * @see https://support .crowdin.com/enterprise/api/#operation/api.projects.files.getMany (Crowdin Enterprise API)
370+ * @see https://developer .crowdin.com/api/v2/#operation/api.projects.files.getMany (Crowdin API)
371+ * @see https://developer .crowdin.com/enterprise/api/v2 /#operation/api.projects.files.getMany (Crowdin Enterprise API)
372372 */
373373 $ response = $ this ->client ->request ('GET ' , 'files ' );
374374
0 commit comments