Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matecat QA report retrieved from the API does not contain important information that is available in the web based QA report #1895

Closed
dsorato opened this issue Jan 26, 2021 · 8 comments

Comments

@dsorato
Copy link

dsorato commented Jan 26, 2021

Hello,
The API response for the QA report is missing important information available only in the web version of the QA report.
image

segments': [{'original_translation': 'Nun einige Fragen zur Funktionsweise der Gesellschaft.', 'translation': 'Nun einige Fragen dazu, wie unsere Gesellschaft funktioniert.', 'id': '1636406005', 'source': 'Now some questions about the way society works.', 'status': 'APPROVED', 'edit_distance': 0, 'time_to_edit': 0, 'issues': [{'id': '2760028', 'created_at': '2020-09-25T10:19:25+02:00', 'category': 'Translation errors (mistranslation, additions or omissions)', 'category_options': '{"code":"TER","dqf_id":1}', 'severity': 'Neutral', 'start_offset': '0', 'end_offset': '0', 'target_text': None, 'comment': None, 'replies_count': '0', 'comments': []}], 'qa_checks': []}

For instance, the Time to Edit at revision level (only TTE at translation level is given by the API) and the word per second measurements. If this information is present in any of the other endpoints, please let me know.

@dsorato dsorato changed the title Matecat QA report retrieved from the API does not contain important inforation that is available in the web based QA report Matecat QA report retrieved from the API does not contain important information that is available in the web based QA report Jan 26, 2021
@Ostico
Copy link
Contributor

Ostico commented Jan 26, 2021

Hi @dsorato ,
which API are you calling?

@dsorato
Copy link
Author

dsorato commented Jan 26, 2021

Hello @Ostico
I'm calling the /api/v2/jobs/{id_job}/{password}/quality-report

@Ostico
Copy link
Contributor

Ostico commented Jan 26, 2021

Ok clear,
there is a new version of the API the V3, it is not disclosed and under internal testing/development. It is subject to change in the next future, so don't rely strongly on its format.
It is paginated.

You can try it with the above limitations:

https://www.matecat.com/api/v3/jobs/{id_job}/{password}/quality-report/segments

@dsorato
Copy link
Author

dsorato commented Jan 26, 2021

@Ostico I tried to use the endpoint you mentioned but more than half of the segments in the project are not being retrieved.

@dsorato
Copy link
Author

dsorato commented Jan 26, 2021

For instance, I have a job that has 268 segments, and all of them are correctly retrieved in the v2 of the API, but now in v3 I only get 10 of them

@Ostico
Copy link
Contributor

Ostico commented Jan 26, 2021

I don't know the specific job, but you have to run through pagination to get all segments.

@dsorato
Copy link
Author

dsorato commented Jan 26, 2021

Yes, I know. The segments are just not there
image

there should be 268 segments in this job but there are only 10. The v2 version has all of them
image

@Ostico
Copy link
Contributor

Ostico commented Jan 29, 2025

If this issue persists or you have new information to share, please feel free to reopen it or create a new one at your convenience. We’re more than happy to assist you further.

Thank you for your understanding and support.

@Ostico Ostico closed this as completed Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants