Gets edits.
URL
(GET) /resources/segments/textedits
PARAMETERS
The message body contains a JSON object:
scope | The scope of segments. See Scope (Object). NOTE: This method supports these scopes only: Project, Job or DocumentSet. Example: "scope": { "type": "Project", "projectid": 3343 } | object, Mandatory |
query | An optional query object. To filter the segments of the scope. Example for drilling down on a single document: { "documents": [{ "did": 9800 }] }} | object?, Optional |
groupby | Optional, default is Global. Internally the system calculates text edits segment by segment. Instead of returning information on every single edit (which may be a lot), the individual data is grouped, i.e. aggregated. For example, with ByUser, one gets the total edits by user over the specified scope and query.
| string?, Optional |
aggregationMode | Optional. default is SingleActionPerUser.
| string?, Optional |
dateFrom | Optional. Count edits at or after this date only. If set, then we only considers edits done at or after this date. This property is useful to calculate edits for periods of time, such as for a full month. This can be used for customized costing of work by user. | datetime?, Optional |
dateTo | Optional. Count edits before this date only. If set, then we only considers edits done before this date. | datetime?, Optional |
srcDefault | Optional. Usage depends on the scope:
With other resources, you may want to override a default selection:
| string?, Optional |
trgs | Optional list of target locales for which to calculate edits. If not specified then edits are calculated for ALL locales of the scope. | string[]?, Optional |
Await creation of text edits report
This API method executes asynchronously.
- It immediately returns a reference for the operation in trm.requestid, and an operation status in trm.status.
- As long as the status is not Finished or Failed, you need to poll the system with the trm.requestid value. See Asynchronous operation for how to do this.
- Ultimately upon completion the operation status includes the custom.filetoken value which lets you download the JSON result:
{ "trm": { "requestid": 559, "status": "Finished", ... }, "custom": { "filetoken": "026171df25c641d0b04316a28cf3cca1" } }
Download text edits report
When the operation has terminated, download the JSON report with the filetoken and this API method:
(GET) /api/media/get/{filetoken}
The JSON has these properties:
EXAMPLES
N/A