Add a new/update structure through the Liferay Headless APIAdd a new/update structure through the Liferay Headless APIhttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1217356512024-03-29T13:39:15Z2024-03-29T13:39:15ZRE: Add a new/update structure through the Liferay Headless APIRussell Bohlhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1217372442023-04-20T13:23:11Z2023-04-20T13:23:10Z<p>Hi Wojciech, check out this documentation and see if it answers your
question: <a
href="https://learn.liferay.com/w/dxp/content-authoring-and-management/web-content/developer-guide/web-content-api-basics">Web
Content API Basics</a></p>
<p>In the API explorer, you should look at the Headless
Delivery/Structured Contents endpoints.</p>Russell Bohl2023-04-20T13:23:10ZAdd a new/update structure through the Liferay Headless APIWojciech Syskihttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1217356502023-04-19T21:00:03Z2023-04-19T17:02:06Z<p>There is a headless api call to fetch the definition of the structure:</p>
<p>http://localhost:8080/o/headless-delivery/v1.0/content-structures/<structure id></p>
<p>Unfortunately I could not find anything what could be used for
updating/creating a new structure. Possibly</p>
<pre>
http://localhost:6080/o/headless-delivery/v1.0/sites/41582/content-structures/export-batch</pre>
<p>could be used, but I do not know how to use this call. What
callbackURL does? I need something like:</p>
<p>http://localhost:6080/api/jsonws/ddm.ddmstructure/add-structure</p>
<p>in the old legacy implementation.