api: Add comment to the upload endpoint
Description
This patch adds a comment to the upload endpoint to be able to add comments when using it from Gtranslator.
The comment parameter is optional so it'll continue working if the comment is not set.
See GNOME/gtranslator#135 (closed)
Migration and compatibility
-
The merge request DOES NOT update the models. If it does, it is needed to migrate the database after merging, add the label ~"Database migrations" -
The merge request DOES NOT break the compatibility.
Related documents
GNOME/gtranslator#135 (closed)
Impacted Areas in Application
This just affect the API endpoint and it's an addition, it doesn't change the previous behavior.