<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Obtain list content from api in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/obtain-list-content-from-api/m-p/534732#M1900</link>
    <description>&lt;P&gt;Hi Rdevega, I wasn't able to find a way to retrieve just the content for one list but you could use something like JMESPath to filter the API response down to a single result. For example, in your screenshot you could use this JMESPath expression: {?id==`test_list`].data&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This would return just the content in test_list. Hope that helps!&lt;/P&gt;</description>
    <pubDate>Thu, 16 Mar 2023 15:42:52 GMT</pubDate>
    <dc:creator>amontminy</dc:creator>
    <dc:date>2023-03-16T15:42:52Z</dc:date>
    <item>
      <title>Obtain list content from api</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/obtain-list-content-from-api/m-p/534170#M1883</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;I want to get the content of a list from the API REST. The endpoint /lists returns all lists and their content. &lt;STRONG&gt;Is there a way to get only the content of a list?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;In addition, the content of the list brings the line breaks and spaces corresponding to the pretty print of the json. For example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rdevega_0-1678707954535.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/48683i4A0AE4826320B1EE/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="rdevega_0-1678707954535.png" alt="rdevega_0-1678707954535.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rdevega_1-1678708140520.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/48684i47AD244AE4D56653/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="rdevega_1-1678708140520.png" alt="rdevega_1-1678708140520.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I can't find the documentation with the api endpoints. In the uri /api it is certainly not complete. &lt;STRONG&gt;Does this documentation exist?&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 11:51:14 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/obtain-list-content-from-api/m-p/534170#M1883</guid>
      <dc:creator>rdevega</dc:creator>
      <dc:date>2023-03-13T11:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Obtain list content from api</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/obtain-list-content-from-api/m-p/534732#M1900</link>
      <description>&lt;P&gt;Hi Rdevega, I wasn't able to find a way to retrieve just the content for one list but you could use something like JMESPath to filter the API response down to a single result. For example, in your screenshot you could use this JMESPath expression: {?id==`test_list`].data&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This would return just the content in test_list. Hope that helps!&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 15:42:52 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/obtain-list-content-from-api/m-p/534732#M1900</guid>
      <dc:creator>amontminy</dc:creator>
      <dc:date>2023-03-16T15:42:52Z</dc:date>
    </item>
  </channel>
</rss>

