<?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>Headless API Questions/Concerns</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120616854" />
  <subtitle>Headless API Questions/Concerns</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120616854</id>
  <updated>2026-05-16T07:32:09Z</updated>
  <dc:date>2026-05-16T07:32:09Z</dc:date>
  <entry>
    <title>RE: RE: Headless API Questions/Concerns</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120644068" />
    <author>
      <name>Javier De Arcos</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120644068</id>
    <updated>2021-02-25T06:15:40Z</updated>
    <published>2021-02-25T06:15:40Z</published>
    <summary type="html">&lt;p&gt;Yes, please. Better if you open the ticket to provide a more detail
  information about the situation and environment you had.&lt;/p&gt;
&lt;p&gt;Thank you very much and sorry for the inconveniences&lt;/p&gt;</summary>
    <dc:creator>Javier De Arcos</dc:creator>
    <dc:date>2021-02-25T06:15:40Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: Headless API Questions/Concerns</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120643007" />
    <author>
      <name>Stephen Greco</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120643007</id>
    <updated>2021-02-23T17:37:59Z</updated>
    <published>2021-02-23T11:46:29Z</published>
    <summary type="html">&lt;p&gt;Thanks.  Would you like us to open a ticket from our end for this?&lt;/p&gt;</summary>
    <dc:creator>Stephen Greco</dc:creator>
    <dc:date>2021-02-23T11:46:29Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: Headless API Questions/Concerns</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120642885" />
    <author>
      <name>Javier De Arcos</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120642885</id>
    <updated>2021-02-23T08:07:47Z</updated>
    <published>2021-02-23T08:07:47Z</published>
    <summary type="html">&lt;p&gt;Ok, I've reproduce it and in the case of Knowledge Base Articles
  seems like a bug to me. I'll open a ticket describing it and try to
  fix it as soon as we can&lt;/p&gt;</summary>
    <dc:creator>Javier De Arcos</dc:creator>
    <dc:date>2021-02-23T08:07:47Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: Headless API Questions/Concerns</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120624846" />
    <author>
      <name>Stephen Greco</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120624846</id>
    <updated>2021-02-19T17:34:57Z</updated>
    <published>2021-02-19T16:37:20Z</published>
    <summary type="html">&lt;p&gt;I updated my local version to 7.2.10 with Service Pack 3 and I am now
  able to flatten the results for structured content, but I still have
  the issue with the above endpoint.  I am not able to flatten the
  results for knowledge-base-articles that are under a specific root folder.  &lt;/p&gt;</summary>
    <dc:creator>Stephen Greco</dc:creator>
    <dc:date>2021-02-19T16:37:20Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: Headless API Questions/Concerns</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120622159" />
    <author>
      <name>Stephen Greco</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120622159</id>
    <updated>2021-02-18T17:56:22Z</updated>
    <published>2021-02-18T16:34:14Z</published>
    <summary type="html">&lt;p&gt;We are currently using 7.2.10 GA1  I have tried adding the flatten
  query parameter to other endpoints that support it and it does not
  seem to be working for me on any of them.  For example, Knowledge Base
  Articles does not work either.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;http://localhost:8080/o/headless-delivery/v1.0/knowledge-base-folders/38355/knowledge-base-articles?flatten=true&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thank you for looking into the Parent Folder options, it seems that
  the Knowledge Base Articles make more sense for what we are trying to
  do and they have a parentKnowledgeBaseFolder object for each item.&lt;/p&gt;</summary>
    <dc:creator>Stephen Greco</dc:creator>
    <dc:date>2021-02-18T16:34:14Z</dc:date>
  </entry>
  <entry>
    <title>RE: Headless API Questions/Concerns</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120622048" />
    <author>
      <name>Javier De Arcos</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120622048</id>
    <updated>2021-02-25T11:52:14Z</updated>
    <published>2021-02-18T13:20:29Z</published>
    <summary type="html">&lt;p&gt;I've just check making a test and flatten is working correctly. You
  just need to add the flatten query parameter with value equals true
  and all content items of the folders and subfolders should be listed,
  as you already did. Which version of Liferay are you using?&lt;/p&gt;
&lt;p&gt;As you mention, the parent folder of a content item is not available.
  We can discuss it internally to check if it brings value to add it in
  the future.&lt;/p&gt;</summary>
    <dc:creator>Javier De Arcos</dc:creator>
    <dc:date>2021-02-18T13:20:29Z</dc:date>
  </entry>
  <entry>
    <title>Headless API Questions/Concerns</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120616853" />
    <author>
      <name>Stephen Greco</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120616853</id>
    <updated>2021-02-16T18:58:34Z</updated>
    <published>2021-02-16T18:53:05Z</published>
    <summary type="html">&lt;p&gt;I am attempting to flatten an API response.  I am trying to get all
  content items under a folder as well as including content in the
  subfolders.  The flatten parameter does not seem to work at all.  It
  only returns the content items in the referenced folder ( 36997 ).  Is
  there a trick to getting this to work?&lt;/p&gt;
&lt;pre&gt;&lt;code class="language-javascript"&gt;http://localhost:8080/o/headless-delivery/v1.0/structured-content-folders/36997/structured-contents?flatten=true&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I am also trying to see the parent folder of each of the content
  items, but that does not seem to be available in the
  structured-contents enpoint.  Does anyone know how to accomplish that?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</summary>
    <dc:creator>Stephen Greco</dc:creator>
    <dc:date>2021-02-16T18:53:05Z</dc:date>
  </entry>
</feed>
