<?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: Upload (POST) Content on ArcEnterprise using REST API in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/upload-post-content-on-arcenterprise-using-rest/m-p/1171143#M33079</link>
    <description>&lt;P&gt;That would be awesome! If you need any help with the python aspect, feel free to reach out.&lt;/P&gt;</description>
    <pubDate>Thu, 05 May 2022 16:01:09 GMT</pubDate>
    <dc:creator>moremeowbell</dc:creator>
    <dc:date>2022-05-05T16:01:09Z</dc:date>
    <item>
      <title>Upload (POST) Content on ArcEnterprise using REST API</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/upload-post-content-on-arcenterprise-using-rest/m-p/1170790#M33066</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have developed a script using the ArcGIS API for Python in order to add content and publish data onto ArcGIS Portal. However, I am looking for a methodology to move this data through a REST API instead. The only information I can find on accomplishing this task is here:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/upload.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developers.arcgis.com/rest/services-reference/enterprise/upload.htm&lt;/A&gt;&lt;SPAN&gt;. The example that ESRI provides simply shows how to use a UI for the Upload of data. How can this be accomplished on the "backend" using Python? Could someone point me towards to scripting documentation or share a sample script?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 19:15:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/upload-post-content-on-arcenterprise-using-rest/m-p/1170790#M33066</guid>
      <dc:creator>moremeowbell</dc:creator>
      <dc:date>2022-05-04T19:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Upload (POST) Content on ArcEnterprise using REST API</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/upload-post-content-on-arcenterprise-using-rest/m-p/1170846#M33069</link>
      <description>&lt;P&gt;Coming at this from left field and not understanding all of your use cases, but are you aware of:&lt;/P&gt;&lt;P&gt;&lt;A href="https://ago-assistant.esri.com/" target="_blank" rel="noopener"&gt;ArcGIS Online Assistant (esri.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 20:55:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/upload-post-content-on-arcenterprise-using-rest/m-p/1170846#M33069</guid>
      <dc:creator>Scott_Tansley</dc:creator>
      <dc:date>2022-05-04T20:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Upload (POST) Content on ArcEnterprise using REST API</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/upload-post-content-on-arcenterprise-using-rest/m-p/1170848#M33070</link>
      <description>&lt;P&gt;My impression has always been that the Python API is just a thin wrapper that makes REST API calls for you.&lt;/P&gt;&lt;P&gt;What are you trying to do that can't be done in the Python API?&lt;/P&gt;&lt;P&gt;I did a bunch of tests a few months ago with &lt;A href="https://www.postman.com/" target="_self"&gt;Postman&lt;/A&gt;, if you have not used it yet you should grab a copy (it's free) and start using it for testing. I was getting ready to use the Accela API but that ended up going nowhere. I set up a bunch of tests with ArcGIS Server too, mostly "get info" types of things.&lt;/P&gt;&lt;P&gt;It's good to be able to test out API calls before wasting time coding.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 20:58:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/upload-post-content-on-arcenterprise-using-rest/m-p/1170848#M33070</guid>
      <dc:creator>Brian_Wilson</dc:creator>
      <dc:date>2022-05-04T20:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Upload (POST) Content on ArcEnterprise using REST API</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/upload-post-content-on-arcenterprise-using-rest/m-p/1171059#M33073</link>
      <description>&lt;P&gt;Thanks for sending that link over! However, I am using ArcEnterprise and not AGOL.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 13:54:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/upload-post-content-on-arcenterprise-using-rest/m-p/1171059#M33073</guid>
      <dc:creator>moremeowbell</dc:creator>
      <dc:date>2022-05-05T13:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Upload (POST) Content on ArcEnterprise using REST API</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/upload-post-content-on-arcenterprise-using-rest/m-p/1171060#M33074</link>
      <description>&lt;P&gt;Thanks, I'll try out some calls using Postman. Have you tried using code for the Upload function before? I can't find any snippets for syntax.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 13:56:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/upload-post-content-on-arcenterprise-using-rest/m-p/1171060#M33074</guid>
      <dc:creator>moremeowbell</dc:creator>
      <dc:date>2022-05-05T13:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Upload (POST) Content on ArcEnterprise using REST API</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/upload-post-content-on-arcenterprise-using-rest/m-p/1171138#M33077</link>
      <description>&lt;P&gt;The AGO Assistant works on Portal too, it's the second login link.&amp;nbsp;&lt;/P&gt;&lt;P&gt;AGO Assistant can be downloaded and installed on your own machine if you want to use it behind a firewall.&amp;nbsp;See &lt;A href="https://github.com/Esri/ago-assistant" target="_blank"&gt;https://github.com/Esri/ago-assistant&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you need Javascript code, the source is actually pretty readable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 15:57:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/upload-post-content-on-arcenterprise-using-rest/m-p/1171138#M33077</guid>
      <dc:creator>Brian_Wilson</dc:creator>
      <dc:date>2022-05-05T15:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Upload (POST) Content on ArcEnterprise using REST API</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/upload-post-content-on-arcenterprise-using-rest/m-p/1171141#M33078</link>
      <description>&lt;P&gt;I probably have time to take a crack at it. I am actually working on uploads right now but have been struggling along with the Python.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 15:59:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/upload-post-content-on-arcenterprise-using-rest/m-p/1171141#M33078</guid>
      <dc:creator>Brian_Wilson</dc:creator>
      <dc:date>2022-05-05T15:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Upload (POST) Content on ArcEnterprise using REST API</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/upload-post-content-on-arcenterprise-using-rest/m-p/1171143#M33079</link>
      <description>&lt;P&gt;That would be awesome! If you need any help with the python aspect, feel free to reach out.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 16:01:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/upload-post-content-on-arcenterprise-using-rest/m-p/1171143#M33079</guid>
      <dc:creator>moremeowbell</dc:creator>
      <dc:date>2022-05-05T16:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Upload (POST) Content on ArcEnterprise using REST API</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/upload-post-content-on-arcenterprise-using-rest/m-p/1171289#M33083</link>
      <description>&lt;P&gt;Thanks Brian, beer me to it! &amp;nbsp;Yes I use the same tool for enterprise all the time. &amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 20:39:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/upload-post-content-on-arcenterprise-using-rest/m-p/1171289#M33083</guid>
      <dc:creator>Scott_Tansley</dc:creator>
      <dc:date>2022-05-05T20:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Upload (POST) Content on ArcEnterprise using REST API</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/upload-post-content-on-arcenterprise-using-rest/m-p/1171415#M33087</link>
      <description>&lt;P&gt;Oh okay awesome, I'll definitely see if that will help out. Do you happen to have a code snippet of how to call the Upload function using python?&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 11:34:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/upload-post-content-on-arcenterprise-using-rest/m-p/1171415#M33087</guid>
      <dc:creator>moremeowbell</dc:creator>
      <dc:date>2022-05-06T11:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Upload (POST) Content on ArcEnterprise using REST API</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/upload-post-content-on-arcenterprise-using-rest/m-p/1171509#M33088</link>
      <description>&lt;P&gt;My expectations for documentation on the API have been dashed.&lt;/P&gt;&lt;P&gt;Please,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/572135"&gt;@moremeowbell&lt;/a&gt;&amp;nbsp;tell me exactly what you are trying to do.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Upload operation appears to add content to an existing service. I am still uncertain, because nowhere in the description does it actually say what happens.&lt;/P&gt;&lt;P&gt;When I publish a hosted service (or overwrite one) with the Python API, I create a file that describes the service and contains the data. Then I push it up to the server and the server publishes it. That's the workflow I have right now, it sometimes works.&amp;nbsp; I am thinking of walking through the Python in a debugger to see what calls it makes when I run these commands. No hope for building the SD file because it's hooked into ArcPro but I might be able to see what happens in the ArcGIS Python API part.&lt;/P&gt;&lt;P&gt;My server is currently partially broken (5 days now, Esri is theoretically working on it but they have gone dark on me so I am losing hope now.) so I can't be 100% sure if I am encountering normal bugs or brokenness.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 15:38:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/upload-post-content-on-arcenterprise-using-rest/m-p/1171509#M33088</guid>
      <dc:creator>Brian_Wilson</dc:creator>
      <dc:date>2022-05-06T15:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Upload (POST) Content on ArcEnterprise using REST API</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/upload-post-content-on-arcenterprise-using-rest/m-p/1171790#M33091</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/403473"&gt;@Brian_Wilson&lt;/a&gt;&amp;nbsp;I am attempting to create a workflow around the Upload function. I'm just not sure how to call it in my script. For example, I am familiar with the "add content" and then "publish" workflow, but would like to see if this can be accomplished using the Upload function instead. For the "add content" workflow the function is called by &amp;lt;gis.content.add&amp;gt;, what is the syntax for Uploading? My ultimate goal is to be able to call this function and use it to Upload data in parts (I have a lot of big datasets).&lt;/P&gt;</description>
      <pubDate>Sat, 07 May 2022 17:37:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/upload-post-content-on-arcenterprise-using-rest/m-p/1171790#M33091</guid>
      <dc:creator>moremeowbell</dc:creator>
      <dc:date>2022-05-07T17:37:24Z</dc:date>
    </item>
  </channel>
</rss>

