<?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 SAS VIYA REST/Client API to get list of published models in Developers</title>
    <link>https://communities.sas.com/t5/Developers/SAS-VIYA-REST-Client-API-to-get-list-of-published-models/m-p/566836#M419</link>
    <description>&lt;P&gt;&amp;nbsp;Hi,&lt;/P&gt;&lt;P&gt;Gone through SAS Viya REST API and client api samples provided, but dint came across any example for getting the list published models using REST or client API.&amp;nbsp; Is this supported? Can some expert redirect me to right documentation and/or example for the same.&lt;/P&gt;&lt;P&gt;Went through&amp;nbsp;&lt;A href="https://developer.sas.com/guides/rest.html#0be904a7-027b-4d35-b6e6-b31b65d491b5" target="_blank" rel="noopener"&gt;https://developer.sas.com/guides/rest.html#0be904a7-027b-4d35-b6e6-b31b65d491b5&lt;/A&gt;&amp;nbsp;and java samples on git.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jun 2019 12:55:58 GMT</pubDate>
    <dc:creator>Unknown2SAS</dc:creator>
    <dc:date>2019-06-18T12:55:58Z</dc:date>
    <item>
      <title>SAS VIYA REST/Client API to get list of published models</title>
      <link>https://communities.sas.com/t5/Developers/SAS-VIYA-REST-Client-API-to-get-list-of-published-models/m-p/566836#M419</link>
      <description>&lt;P&gt;&amp;nbsp;Hi,&lt;/P&gt;&lt;P&gt;Gone through SAS Viya REST API and client api samples provided, but dint came across any example for getting the list published models using REST or client API.&amp;nbsp; Is this supported? Can some expert redirect me to right documentation and/or example for the same.&lt;/P&gt;&lt;P&gt;Went through&amp;nbsp;&lt;A href="https://developer.sas.com/guides/rest.html#0be904a7-027b-4d35-b6e6-b31b65d491b5" target="_blank" rel="noopener"&gt;https://developer.sas.com/guides/rest.html#0be904a7-027b-4d35-b6e6-b31b65d491b5&lt;/A&gt;&amp;nbsp;and java samples on git.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 12:55:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-VIYA-REST-Client-API-to-get-list-of-published-models/m-p/566836#M419</guid>
      <dc:creator>Unknown2SAS</dc:creator>
      <dc:date>2019-06-18T12:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VIYA REST/Client API to get list of published models</title>
      <link>https://communities.sas.com/t5/Developers/SAS-VIYA-REST-Client-API-to-get-list-of-published-models/m-p/566851#M420</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/278174"&gt;@Unknown2SAS&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm moving this thread to the Developers Community. All Coding on SAS Viya Community have been relocated there and this community will be sunset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, I'll look into getting you the proper REST call to get a list of published models. I'll use the Model Management REST API documentation located&amp;nbsp;&lt;A href="https://developer.sas.com/apis/rest/DecisionManagement/#model-management" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 13:01:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-VIYA-REST-Client-API-to-get-list-of-published-models/m-p/566851#M420</guid>
      <dc:creator>joeFurbee</dc:creator>
      <dc:date>2019-06-18T13:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VIYA REST/Client API to get list of published models</title>
      <link>https://communities.sas.com/t5/Developers/SAS-VIYA-REST-Client-API-to-get-list-of-published-models/m-p/566855#M421</link>
      <description>&lt;P&gt;Hi Again,&lt;/P&gt;
&lt;P&gt;The &lt;A href="https://developer.sas.com/apis/rest/DecisionManagement/#get-a-list-of-published-models" target="_blank" rel="noopener"&gt;list published models API request&lt;/A&gt; is actually defined in the &lt;A href="https://developer.sas.com/apis/rest/DecisionManagement/#model-publish" target="_blank" rel="noopener"&gt;Model Publish API doc&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the general structure of the rest call:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;curl -X GET https://www.example.com/modelPublish/models \
  -H 'Authorization: Bearer &amp;lt;access-token-goes-here&amp;gt;' \ 
  -H 'Accept: application/vnd.sas.collection+json'&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 13:08:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-VIYA-REST-Client-API-to-get-list-of-published-models/m-p/566855#M421</guid>
      <dc:creator>joeFurbee</dc:creator>
      <dc:date>2019-06-18T13:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VIYA REST/Client API to get list of published models</title>
      <link>https://communities.sas.com/t5/Developers/SAS-VIYA-REST-Client-API-to-get-list-of-published-models/m-p/566899#M422</link>
      <description>Thanks joeFurbee. This helped!</description>
      <pubDate>Tue, 18 Jun 2019 14:37:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-VIYA-REST-Client-API-to-get-list-of-published-models/m-p/566899#M422</guid>
      <dc:creator>Unknown2SAS</dc:creator>
      <dc:date>2019-06-18T14:37:10Z</dc:date>
    </item>
  </channel>
</rss>

