<?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: How to add API Reference to REST SOE Methods in ArcGIS Enterprise Extensibility Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-extensibility-questions/how-to-add-api-reference-to-rest-soe-methods/m-p/702382#M2</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV dir="ltr"&gt;Seems &lt;SPAN lang="en"&gt;&lt;SPAN&gt;an implementation not&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;exposed&lt;/SPAN&gt; so you &lt;SPAN&gt;could publish it&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;as an idea &lt;A _jive_internal="true" href="https://community.esri.com/community/arcgis-ideas"&gt;https://community.esri.com/community/arcgis-ideas/&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="display: none; -ms-user-select: none;"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Mar 2017 08:36:06 GMT</pubDate>
    <dc:creator>nicogis</dc:creator>
    <dc:date>2017-03-08T08:36:06Z</dc:date>
    <item>
      <title>How to add API Reference to REST SOE Methods</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-extensibility-questions/how-to-add-api-reference-to-rest-soe-methods/m-p/702381#M1</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have implemented SOE and it works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We implemented&amp;nbsp;IRESTRequestHandler interface for our extension, and we receive and processing requests with method from&amp;nbsp;&lt;SPAN&gt;IRESTRequestHandler interface:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="" style="color: #4d4d4d; background-color: #eeeeee; border: 1px dashed #c2c4ba; font-size: 11.44px; margin: 0px 0px 10px 15px; padding: 10px 10px 25px;"&gt;&lt;SPAN class="" style="border: 0px; font-size: 11.44px;"&gt;[C#]&lt;/SPAN&gt;&lt;STRONG style="border: 0px; font-size: 11.44px;"&gt;public &lt;/STRONG&gt;Byte[]&lt;STRONG style="border: 0px; font-size: 11.44px;"&gt; HandleRESTRequest (&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;A rel="javascript:LinkKwd('frlrfSystemStringClassTopic')" style="color: #007ac2; border: 0px; font-size: 11.44px;"&gt;string&lt;/A&gt; &lt;EM style="border: 0px; font-size: 11.44px;"&gt;Capabilities,&lt;/EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;A rel="javascript:LinkKwd('frlrfSystemStringClassTopic')" style="color: #007ac2; border: 0px; font-size: 11.44px;"&gt;string&lt;/A&gt; &lt;EM style="border: 0px; font-size: 11.44px;"&gt;resourceName,&lt;/EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;A rel="javascript:LinkKwd('frlrfSystemStringClassTopic')" style="color: #007ac2; border: 0px; font-size: 11.44px;"&gt;string&lt;/A&gt; &lt;EM style="border: 0px; font-size: 11.44px;"&gt;operationName,&lt;/EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;A rel="javascript:LinkKwd('frlrfSystemStringClassTopic')" style="color: #007ac2; border: 0px; font-size: 11.44px;"&gt;string&lt;/A&gt; &lt;EM style="border: 0px; font-size: 11.44px;"&gt;operationInput,&lt;/EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;A rel="javascript:LinkKwd('frlrfSystemStringClassTopic')" style="color: #007ac2; border: 0px; font-size: 11.44px;"&gt;string&lt;/A&gt; &lt;EM style="border: 0px; font-size: 11.44px;"&gt;outputFormat,&lt;/EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;A rel="javascript:LinkKwd('frlrfSystemStringClassTopic')" style="color: #007ac2; border: 0px; font-size: 11.44px;"&gt;string&lt;/A&gt; &lt;EM style="border: 0px; font-size: 11.44px;"&gt;requestProperties,&lt;/EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ref &lt;A rel="javascript:LinkKwd('frlrfSystemStringClassTopic')" style="color: #007ac2; border: 0px; font-size: 11.44px;"&gt;string&lt;/A&gt; &lt;EM style="border: 0px; font-size: 11.44px;"&gt;responseProperties&lt;/EM&gt;&lt;STRONG style="border: 0px; font-size: 11.44px;"&gt;);&lt;/STRONG&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now we want to show API Reference for our REST API methods, like it does ESRI. So when user clicks on "Api Reference" link in the top right corner we want to generate and show html help page for correspond extension method (description and examples of parameters, return values, ...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We noticed that this "API Reference" has&amp;nbsp;always the same format:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: #2f5496;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2F" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;host&amp;gt;/&amp;lt;arcgis_instance&amp;gt;/rest/services/&amp;lt;service&amp;gt;/MapServer/exts/&amp;lt;extension_name&amp;gt;/&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: #2f5496;"&gt;MethodName?&lt;STRONG&gt;f=help&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We assume that we should receive requests to IRESTRequestHandler with OutputFormat="help", but we do not receive any requests with f=help, it looks like all such requests are intercepted by arcgis server, and&amp;nbsp;it redirects user to ESRI API reference, which of course does not includes help for our extension methods. So basically we&amp;nbsp;don't have control over any request with f=help. (We successfully receiving all other requests like f=test, f=help1, f=whatever, .... but NOT f=help)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i wanted to ask is there any way to handle requests with "help" output format ("&lt;SPAN&gt;f=help") Or maybe&amp;nbsp;we need to change some arcgis server/service property in order to handle such requests? Or maybe there is&amp;nbsp;some another approach to show&amp;nbsp;help for SOE extension methods. We want to be consistent with ESRI, so ideally it would be good if we could show help for our methods in the same format as ESRI.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 21:06:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-extensibility-questions/how-to-add-api-reference-to-rest-soe-methods/m-p/702381#M1</guid>
      <dc:creator>IevgeniiSiroklyn</dc:creator>
      <dc:date>2017-02-23T21:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to add API Reference to REST SOE Methods</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-extensibility-questions/how-to-add-api-reference-to-rest-soe-methods/m-p/702382#M2</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV dir="ltr"&gt;Seems &lt;SPAN lang="en"&gt;&lt;SPAN&gt;an implementation not&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;exposed&lt;/SPAN&gt; so you &lt;SPAN&gt;could publish it&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;as an idea &lt;A _jive_internal="true" href="https://community.esri.com/community/arcgis-ideas"&gt;https://community.esri.com/community/arcgis-ideas/&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="display: none; -ms-user-select: none;"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 08:36:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-extensibility-questions/how-to-add-api-reference-to-rest-soe-methods/m-p/702382#M2</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2017-03-08T08:36:06Z</dc:date>
    </item>
  </channel>
</rss>

