Project Settings
This request you can see information regarding translation memories and termbases added to project for a specific language pair.
GET : /api/projectserver/v2/projects/{projectId}/files/{languageFileId}/settings
How make the set up in Studio
- In Studio create a new project in "Translation Resources" step add Server Base translation memory
- Go to "Trados GroupShare" step, check "Publish on server" and select the server and the location to publish the project.
How to get the projectId from GroupShare
After the project was successfully published in GroupShare:
- Go to Projects view press F12 to open the Developer Console
- Click on Network tab
- Click on first Url from the list, make sure in the right side your have selected Preview tab
- In the list search for the object which has the same name as your project and copy the ProjectId
How to get the LanguageFileId
In order to the id for the file language we need to make another call using the ProjectId we obtained at the previous step:
GET /api/projectserver/v2/projects/{projectId}/files
From the response body take the value for "UniqueId",that value is the LanguageFileId. (make sure you take the id form target files, and not from source file)
Using the ProjectId and LanguageFileId obtained previously /settings response should look like this