title: sharepoint provider hosted app in visual studio 2017 to publish on organization level
body: <p>I need to create sharepoint Add-in and publish it to organisation app catalogue with ruby on rails. Below are the steps I have followed,</p>
  
  <ol>
  <li>Created developer site with developer site template</li>
  <li>Created an app in visual studio and deployed it on site.</li>
  <li>while creating sharepoint add-in, had configured redirect url as my already created rails app and permission added of <code>siteCollection</code> as read in <code>Appmanifest.xml</code></li>
  </ol>
  
  <p>I am trying to get site contents and files and documents but only getting metadata info have tried below REST urls</p>
  
  <pre><code>https://{site_url}/sites/{developer_site_name}/_api/Web/GetFolderByServerRelativeUrl('Shared%20Documents')/Files
  </code></pre>
  
  <p>I have uploaded 2 files on the site but not getting in the API result. Please help, where I am wrong and how can I get the documents/ site content.</p>