1.5.1. API Layer Setup
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3538840. -->
Reported by: [d34dman](https://www.drupal.org/user/751698)
>>>
<ul>
<li>Create a new <code>flowdrop_ui</code> or <code>flowdrop_api</code> submodule to serve as the API provider for the Svelte frontend.</li>
<li>Implement basic REST/JSON:API endpoints to:
<ul>
<li>Fetch available node types and their configuration schemas.</li>
<li>Fetch existing workflow entities with nodes and connections.</li>
<li>Save new or updated workflow definitions.</li>
<li>Trigger workflow execution (optional for this phase).</li>
</ul>
</li>
<li>Consider using Drupal's <code>jsonapi_extras</code> or <code>rest</code> module for serialization and access control.</li>
<li>Secure endpoints with CSRF tokens and permissions like <code>administer flowdrop workflows</code>.</li>
</ul>
issue