WeblateOrg / weblate

Web based localization tool with tight version control integration.
https://weblate.org/
GNU General Public License v3.0
4.35k stars 970 forks source link

The API changes 'Language requested' and 'Alert triggered' could provide more information #11807

Closed emmapeel2 closed 2 weeks ago

emmapeel2 commented 4 weeks ago

Describe the issue

I am trying to get some statistics and admin history from the API, and I miss the information about Language/Translation in the change for Language request.

Same with the change 'Alert triggered', it would be nice to have some explanation of the alert in the api change. What alert was triggered?

I already tried

Steps to reproduce the behavior

You can see a language being requested in the api here: https://hosted.weblate.org/api/changes/83108432/?format=json

I have data about the date, the user that requested it. But I miss the information about which language was actually requested.

If I go to the project 'Insights' search I can find the event and the language that was requested: https://hosted.weblate.org/changes/browse/tor/tor-browser/tor-browser-user-manual/?action=49&start_date=2024-03-07&end_date=2024-03-07

For the 'Alert triggered' api change, see https://hosted.weblate.org/api/changes/80983215/?format=json

Expected behavior

This information should be available on the API as well, either as 'translation' or 'language', or maybe even 'target'.

Screenshots

image

Exception traceback

No response

How do you run Weblate?

weblate.org service

Weblate versions

No response

Weblate deploy checks

No response

Additional context

No response

github-actions[bot] commented 2 weeks ago

Thank you for your report; the issue you have reported has just been fixed.

github-actions[bot] commented 2 weeks ago

Thank you for your report; the issue you have reported has just been fixed.