...
URL | Methods | Parameters | Description |
---|---|---|---|
/editor/languageresourceinstance/[ID]/query | GET | segmentId:(integer); the id of the segment to be queried | returns a list with query results, format see below |
/editor/languageresourceinstance/[ID]/search | GET / POST | query:(string); the string to be searched in the underlying service
, determines which field should be searched in a TM limit : (integer) ; how many results should be returned | returns a list with search results, format see below |
/editor/languageresourceinstance/[ID]/download | GET | - | Returns the uploaded TM file - if any. |
/editor/languageresourceinstance/[ID]/import | POST | tmUpload:TM file uploaded as multipart/form-data Additional parameters for termcollection import: mergeTermsThe merging of terms into an existing term collection is controlled by this boolean parameter. The merge process is complex and completely described here. deleteTermsLastTouchedOlderThan (date format Y-m-d)Deletes all terms in all listed termCollections, that have a updated date older than the date configured for "deleteTermsLastTouchedOlderThan". Every term in a termCollection has a creation date, a modification date and an updated dated. The creation date and the modification date are taken from the dates as they appear in the TBX file. deleteTermsOlderThanCurrentImport (boolean)Deletes all terms in all listed termCollections, that have an "updated date" older than the start of the current import. To learn, what the "updated date" is, please read above possible values: true or false. deleteProposalsLastTouchedOlderThan (date format Y-m-d)Delete all proposals in a listed termCollections, that have a creation date older than this configs value. deleteProposalsOlderThanCurrentImport (boolean)Delete all proposals in a listed termCollections, that have a creation date older than the start of the current import. | Imports the given TM file into the chosen Language Resource instance |
/editor/languageresourceinstance/[ID]/tasks | GET / POST | GET: id:
ID of the task language resource assocationassociationtaskGuid: TaskGuid taskGuid (guid) TaskGuid of the associated task taskName (string) taskName: name of the associated task state (string) status of the associated task lockingUser (guid) lockingUser: user who is locking of the associated task - if any taskNr (string) task number of the associated task languageResourceId (integer) languageResourceId: associated TM ID POST: toReImport: an array of taskGuids. The chosen tasks segment data is reimported into the selected TM. | Gives some status information about the tasks associated to a specific Language Resource. Triggers a reimport of the chosen tasks into the TM. |
...