<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Display page missing from API call when creating a new StructuredContent</title>
  <link rel="self" href="https://uat.liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=122419017" />
  <subtitle>Display page missing from API call when creating a new StructuredContent</subtitle>
  <id>https://uat.liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=122419017</id>
  <updated>2026-10-15T10:47:55Z</updated>
  <dc:date>2026-10-15T10:47:55Z</dc:date>
  <entry>
    <title>Display page missing from API call when creating a new StructuredContent</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122419016" />
    <author>
      <name>Jonathan HELL</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122419016</id>
    <updated>2024-02-23T17:52:03Z</updated>
    <published>2024-02-22T16:20:44Z</published>
    <summary type="html">&lt;p&gt;Hello all,&lt;/p&gt;
&lt;p&gt;We are trying to create a new StructuredContent (asset) with our
  headless-delivery API : &lt;/p&gt;
&lt;p&gt;https://app.swaggerhub.com/apis/liferayinc/headless-delivery/v1.0#/StructuredContent/postSiteStructuredContent&lt;/p&gt;
&lt;p&gt;So far, so good. The only thing that is missing from our API call is
  the display page the content should be displayed in.&lt;/p&gt;
&lt;p&gt;In the JSON request body, I tried to add a &amp;quot;layoutUuid&amp;quot;, or
  &amp;quot;displayTemplateKey&amp;quot; attribute only for me to receive this
  callback from the API  { &amp;quot;status&amp;quot; : &amp;quot;BAD_REQUEST&amp;quot;,
  &amp;quot;title&amp;quot; : &amp;quot;The property &amp;quot;layoutUuid&amp;quot; is not
  defined in StructuredContent.&amp;quot; }&lt;/p&gt;
&lt;p&gt;Is there any way we can &lt;strong&gt;set the display page of an asset
    through the API&lt;/strong&gt;?&lt;br&gt;
  &lt;br&gt; Thanks&lt;/p&gt;
&lt;p&gt;
  &lt;br&gt; Jonathan.&lt;/p&gt;</summary>
    <dc:creator>Jonathan HELL</dc:creator>
    <dc:date>2024-02-22T16:20:44Z</dc:date>
  </entry>
</feed>
