<?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: Inconsistencies in SaaS REST API in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Inconsistencies-in-SaaS-REST-API/m-p/1958356#M17079</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for bringing this up, let me check with the R&amp;amp;D team and I will get back to you asap.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jul 2022 13:41:25 GMT</pubDate>
    <dc:creator>Akshesh_Patel</dc:creator>
    <dc:date>2022-07-20T13:41:25Z</dc:date>
    <item>
      <title>Inconsistencies in SaaS REST API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Inconsistencies-in-SaaS-REST-API/m-p/1958003#M17077</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;noticed some inconsistencies in SaaS REST API and want to check if this is a "bug or a feature" type of thing &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;for example: when calling &lt;STRONG&gt;GET&lt;/STRONG&gt; &lt;STRONG&gt;/v1/items &lt;/STRONG&gt;the response have &lt;STRONG&gt;data &lt;/STRONG&gt;property that contains all the &lt;STRONG&gt;items&lt;/STRONG&gt; (in this case). This is more or less valid for all "old" endpoints (like &lt;STRONG&gt;/v1/reloads, /v1/collections, /v1/spaces &lt;/STRONG&gt;etc).&lt;/P&gt;
&lt;P&gt;But for the some of the "new" endpoints the response is sometimes in a different format. For example &lt;STRONG&gt;/v1/data-alerts &lt;/STRONG&gt;returns data in the following format:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;{
    "totalCount": 123,
    "currentPageCount": 123,
    "links": {...},
    "tasks": [{...}, {...}, ...]
}&lt;/LI-CODE&gt;
&lt;P&gt;(the same format can be seen for &lt;STRONG&gt;/v1/notification-digests/{digestId}/executions &lt;/STRONG&gt;for example but the data is under &lt;STRONG&gt;executions &lt;/STRONG&gt;property)&lt;/P&gt;
&lt;P&gt;And I can understand the totalCount, links and currentPageCount but why is the "real" data:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;called &lt;STRONG&gt;tasks &lt;/STRONG&gt;(the api is for data alerts)&lt;/LI&gt;
&lt;LI&gt;why not named as the rest of the endpoints - &lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Is this normal behaviour or its an issue with the API? If its an expected then shall we expect such "dualism" in the future and is there any rule for when to expect &lt;STRONG&gt;data&lt;/STRONG&gt; and when something else?&lt;/P&gt;
&lt;P&gt;Regards!&lt;/P&gt;
&lt;P&gt;Stefan&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 20:54:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Inconsistencies-in-SaaS-REST-API/m-p/1958003#M17077</guid>
      <dc:creator>stefanstoichev123</dc:creator>
      <dc:date>2022-07-19T20:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Inconsistencies in SaaS REST API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Inconsistencies-in-SaaS-REST-API/m-p/1958356#M17079</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for bringing this up, let me check with the R&amp;amp;D team and I will get back to you asap.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 13:41:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Inconsistencies-in-SaaS-REST-API/m-p/1958356#M17079</guid>
      <dc:creator>Akshesh_Patel</dc:creator>
      <dc:date>2022-07-20T13:41:25Z</dc:date>
    </item>
  </channel>
</rss>

