PricingDocsAcademy
Bluesky ...
Wed, Dec 11, 9:45 PM

Save Spark Drang and Drop via API

  • RehLifeMonkey

    2 months ago

    Hello everyone,

    I use directus as a backend and would like to save the order of my drag and drop list. Unfortunately, I keep coming up against limits here: directus only accepts PATCH calls with which you can only change one value for several data sets and I have not yet found out how I can process a list of objects one after the other with an API call in toddle.

    Have you already found a solution for these problems or do you save your lists completely differently? I would appreciate a exchange on this!
  • Lucas G

    2 months ago

    @Max might be able to help you regarding directus
  • Lucas G

    2 months ago

    Workflow loops are simple to do but I imagine there’s got to be a way of bulk updating
  • Max

    2 months ago

    Hey! Directus has an utility endpoint for sorting: [Utilities | Directus Docs] https://docs.directus.io/reference/system/utilities.html
  • And you can of course create a http flow that you can call from toddle.

Stop scrolling. Start building.

toddle is a visual web app builder that rivals custom code — but accessible to your entire team!

Try toddle — it's free!

© Copyright 2024 toddle. All rights reserved.