Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

URLMethodsParametersDescription

/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]/searchGET / POST

query: string; the string to be searched in the underlying service
field: string; source or target, 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]/downloadGET-Returns the uploaded TM file - if any.
/editor/languageresourceinstance/[ID]/importPOSTtmUpload: TM file uploaded as multipart/form-dataImports the given TM file into the chosen TMMT Language Resource instance
/editor/languageresourceinstance/[ID]/tasksGET / POST

GET:
id: ID of the task tmmt language resource assocation
taskGuid: TaskGuid of the associated task
taskName: name of the associated task
state: status of the associated task
lockingUser: user who is locking of the associated task - if any
taskNr: task nr of the associated task
tmmtIdlanguageResourceId: 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 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.

createddateMeta data, creation time stamp of the returned match/search result

creator

string

Meta data, creator of the returned match/search result

lastEditeddateMeta data, last edited time stamp of the returned match/search result
lastEditorstringMeta 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.

tmmtidlanguageResourceIdstring

The queried tmmtidLanguage Resource, just for reference.

 

Langauge-Resource Instance Resource Layout

...