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

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

Closed
2 tasks done
emmapeel2 opened this issue Jun 7, 2024 · 2 comments · Fixed by #11886
Closed
2 tasks done
Assignees
Labels
enhancement Adding or requesting a new feature.
Milestone

Comments

@emmapeel2
Copy link
Contributor

emmapeel2 commented Jun 7, 2024

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

  • I've read and searched the documentation.
  • I've searched for similar filed issues in this repository.

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

@emmapeel2 emmapeel2 changed the title The API change 'Language requested' should have the language that is being requested The API changes 'Language requested' and 'Alert triggered' could provide more information Jun 7, 2024
@nijel nijel added the enhancement Adding or requesting a new feature. label Jun 18, 2024
@nijel nijel added this to the 5.6 milestone Jun 18, 2024
@nijel nijel self-assigned this Jun 18, 2024
nijel added a commit to nijel/weblate that referenced this issue Jun 18, 2024
@nijel nijel closed this as completed in fce686e Jun 18, 2024
Copy link

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

  • In case you see a problem with the fix, please comment on this issue.
  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, don’t hesitate to support Weblate by making a donation.

1 similar comment
Copy link

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

  • In case you see a problem with the fix, please comment on this issue.
  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, don’t hesitate to support Weblate by making a donation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Adding or requesting a new feature.
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants