...
URL Parameters
The URL parameters are:
id | Specify either a document ID (such as 1000) or a job ID (such as c300). | string, Mandatory |
Body
The body must contain a JSON object with optional filters.
...
If you specify filters then you will receive the components of the filtered segments.
changed | Mandatory date. The method filters components and languages where any segment in the language was modified at or after this date. For example you will then receive all components and translations that are newly completed since recently. Note: The date must be at maximum 7 days into the past. Example:
| datetime, Mandatory | ||
metric | Identifies which languages in a component shall be returned. The options are:
If not specified then StatusNotOk is used. Example: Select those components and languages where translation were finished between changed and now:
| string?, Optional | ||
invert | When false (default), the metric operates as described above. If true then the method returns the languages that do not satisfy the metric requirement. Example: Select those components and languages that were edited since changed but remain unfinished:
| bool?, Optional | ||
locales | Optional list of locales. If not specified, the system uses all Flex document target languages. With this property you can restrict the results to a subset of languages. The list can also contain the source language. Example:
| string[]?, Optional | ||
components | Optional list of component IDs. By default this is null. If specified, the method will only dig into these components. Example to filter translations bookmarked in either gray or blue:
Note: You can specify up to 500 elements. | string[]?, Optional | ||
component | Optional filter on components using a prefix, suffix, infix, wildcard or regex pattern. See String filter (Filter) for details. Example to filter all components starting with “frontend.”. It captures “frontend.ux”, “frontend.page1.js” etc.
| object?, Optional | ||
callbackurl, callback |
Specify a URL which will be called upon success or failure of operation. This makes polling for |
Code Block |
---|
"callbackurl": "http://callmeback.mycompany.com?operationid=22222&mydata=abcde" |
operation status unnecessary. See Callbacks (with asynchronous operations) | Optional |
RESULTS
Wait for results
The API method returns an Asynchronous operation result:
...