Page tree

Versions Compared

Key

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

...

Proposals export for a TermCollection, as XLSX

Request

GET editor/languageresourceinstance/export

ParamscollectionId Required. Id of a TermCollection to be exported.

exportDate Optional.If given, should be a date in YYYY-MM-DD (or YYYY-MM-DD HH:MM:SS) format, so that only proposals happened after that date will be exported. 

Important: response for this endpoint comes with 'Content-Disposition: attachment' HTTP header to provide a direct download of an exported file.

Code Block
languagejs
titleResponse
collapsetrue
raw binary contents of an exported XLSX file

Important: If no proposals found, then the endpoint will respond with the following XML text

Code Block
languagejs
titleResponse
collapsetrue
<?xml version="1.0"?>
<response><message>No results where found.</message></response>



Check if given terms exist in any of accessible TermCollections

Request

GET editor/termcollection/searchtermexists

ParamssearchTerms Required. Should be given as JSON-encoded array structured in the following way:

targetLang Required. Should be given as rfc5646 language code representing a major language (e.g. 'en') or with sublanguage (e.g. 'en-US'), but keep in mind that sublanguage will be ignored.

Important: response for this endpoint comes with 'Content-Disposition: attachment' HTTP header to provide a direct download of an exported file.

Code Block
languagejs
titleResponse
collapsetrue
raw binary contents of an exported XLSX file