title: Trigger Azure Pipelines build via API
body: <p>I made a working Azure Pipeline to build my codebase.</p>
  
  <p>Looking for a way to trigger the Azure Pipelines build via API, ideally REST. If REST is not possible, perhaps I could try invoking the build via Azure Functions using a resource ID of sorts.
  I would like my own repository monitor to issue an API request that would trigger the build when my conditions are met.
  Another question - is it possible to set "pipeline variables" via API - e.g. I make an API call passing values to be used as my pipeline variables' values then triggers the build.</p>
  
  <p>Thank you</p>