betodealmeida commented on PR #32520:
URL: https://github.com/apache/superset/pull/32520#issuecomment-2754332613

   @michael-s-molina I've made the API more compact, requiring only the UUIDs 
for metrics and columns.
   
   I can also change the API so that the request payload only needs to contain 
changes. For example, if we have these folders:
   
   ```
   folder1 = ["a", "b", "c"]
   folder2 = ["d"]
   folder3 = ["e", "f"]
   folder4 = ["g"]
   ```
   
   Let's say the user:
   
   1. Moves "f" from "folder3" to "folder1"
   2. Deletes "folder2"
   
   Then the payload would be (in pseudocode):
   
   ```
   folder1 = ["a", "b", "c", "f"]
   folder3 = ["e"]
   folder4 = []
   ```
   
   Instead of sending the whole new state. Do you think that would be enough 
for your use case?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to