...
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 | 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 | Imports the given TM file into the chosen TMMT Language Resource instance |
/editor/languageresourceinstance/[ID]/tasks | GET / POST | GET: POST: | Gives some status information about the tasks associated to a specific TMMTLanguage Resource. Triggers a reimport of the chosen tasks into the TM. |
...
Name | Type | Info |
attributes | string | Additional meta data of the returned match/search result, empty if not available. |
created | date | Meta data, creation time stamp of the returned match/search result |
creator | string | Meta data, creator of the returned match/search result |
lastEdited | date | Meta data, last edited time stamp of the returned match/search result |
lastEditor | string | Meta data, last editor of the returned match/search result |
matchrate | integer | matchrate of a found match, 0 for search results. |
source | string | The found source text. |
state | string | "loaded" wenn all is OK, "servererror" when we got an error in the queried service. |
target | string | The found target text. |
tmmtidlanguageResourceId | string | The queried tmmtidLanguage Resource, just for reference. |
Langauge-Resource Instance Resource Layout
...