[FIX][ENH] Tiki API: Fix file upload/update issues
This MR should:
-
Fix unexpected results with
upload
andupdate
filesIssue on updating file :
{"code":406,"errortitle":"File could not be uploaded: File empty","message":"File could not be uploaded: File empty"}
-
Fix the default
galleryId
when trying to create or update a gallery -
Enhance file update endpoint naming structure from
galleries/{galleryId}
togalleries/{galleryId}/update
-
Fix the issue related to the file categorization (When a file is updated, the existing categorizations are lost)
-
Enhance feedback messages of actions
move
andremove
gallery -
Enhance the Tiki API file gallery endpoints documentation
Related task: https://avan.tech/item98647
Edited by Bruno Kambere