Is it possible to get "Job work progress" information through API v2?
In the UI you can get info on the Job work progress by clicking the icon with the three little bars.
Is it possible to get this information (number of translated segments, total number of segments, etc.) through API v2?
Regards,
Thijs
-
Hi Thijs,
For a given document and target language, you can fetch total words, translated words etc.:
https://documents.wordbee.com/pages/viewpage.action?pageId=4096926
However, you need to pass a document id. If you have a job id only without the document id or ids, you can find these with:
https://documents.wordbee.com/pages/viewpage.action?pageId=4097231
In both methods you would specify a job "scope" such as this for codyt:
{"type":"Job","jobid": 9927,"jobcdyt":true}We regularly add new methods to API 2. One upcoming is for fetching word count details.
Kind regards,
Stephan
0 -
Thanks, I'll look into this!
0 -
Btw, any action in the new editor calls into API 2. By pressing F12 e.g. in Google you can find out which API 2 method is called with which action. However, in general only the documented methods should be used, undocumented methods might get deprecated.
Regards,
Stephan
0
Please sign in to leave a comment.
Comments
3 comments