title: Azure Devops API - How to create and auto-complete a pull request from a UNC path
body: <p>In this situation, devs will drop their code off in a central fileshare when it's ready to enter the pipeline.</p>
  
  <p>I'm currently attempting to work with the Azure Devops API for "Pull Request - Create" to create and complete a pull request from a UNC Path to an empty Azure Devops GIT repo.</p>
  
  <p><a href="https://docs.microsoft.com/en-us/rest/api/azure/devops/git/pull%20requests/create?view=azure-devops-rest-5.1" rel="nofollow noreferrer">API Documentation</a></p>
  
  <p>I am struggling with how to setup the body to accomplish this. </p>
  
  <p>The path that I am trying to pull from would be:</p>
  
  <p><code>\\10.10.10.10\fileshare\code\application</code>.</p>
  
  <p>The body that I am currently trying to create looks like:</p>
  
  <pre><code>{
    "remoteUrl": "file://\10.10.10.10\fileshare\code\application",
    "sourceRefName": "origin/master",
    "targetRefName": "master",
    "title": "Automatic Update",
    "description": "Automatically updating the repo",
    "status": "completed"
  }
  </code></pre>
  
  <p>Does anyone know if this is even possible? If so, I would greatly appreciate any nudges in the right direction.</p>