-
-
Notifications
You must be signed in to change notification settings - Fork 959
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
Define state of the unit on create via API #7601
Comments
This issue seems to be a good fit for newbie contributors. You are welcome to contribute to Weblate! Don't hesitate to ask any questions you would have while implementing this. You can learn about how to get started in our contributors documentation. |
Hey, i'd like to work on this! |
You are welcome. In case you need any guidance don't hesitate to ask. |
@scott-gorman any progress on it? |
It would also be good to extend the API for Example:
@scott-gorman could you consider this when workin on API extension? |
@nijel with my example described in #7601 (comment) above, this only addresses "meta data" as the state. But when doing such operations as mentioned, it would be good to act on further "meta data" as Would this fit to this issue or shall I write a new one? |
@rhofer Please open separate issue for each of these. |
@nijel thank you! |
Thank you for your report; the issue you have reported has just been fixed.
|
Describe the problem
It would be greate to have a way to define state of the unit on creation via an API.
If we will do it in 2 steps (1 — create unit, 2 — patch unit state), there may be an issue with data consistency. For example 1st request is done, but on second there will be network issue, or requester server has died unexpectedly.
POST /api/translations/(string: project)/(string: component)/(string: language)/units/
Describe the solution you'd like
POST /api/translations/(string: project)/(string: component)/(string: language)/units/
Describe alternatives you've considered
No response
Screenshots
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: