Versions Compared

Key

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


Warning

This method has been deprecated in 2019 and is replaced with these API methods: resources/segments/reports


Generates an Excel report containing the revisions and comments per each filtered segment.

Note that the report prints information for a maximum of 10.000 segments.

URL

(POST) /resources/timeline/report

...

The parameters are a JSON object included in the request body:

scope

The scope object.

Mandatory
query
A
An optional query object. This allows to constrain the segments to include in the report.
Mandatory
Optional
slocThe source language.Mandatory
tlocThe target language. Revisions and comments are shown in this language only.Mandatory
mode

The type of report:

  • "revisions": Print segments with human revisions
  • "postedits": Print segments with human editing of machine or pretranslations
  • "all": Print all segments

By default the system uses "revisions".

Optional

...


RESULTS

A JSON with these properties:

...

filetoken

A token that lets you download the Excel file.

Then open a browser page and direct to media/get/{token}/stream to then download the Excel.

string

 

 

 

segmentsTotal number of segments in the report.int
rowsTotal number of Excel rows. Each row is one text version hence there are typically multiple rows per each segment.int