title: How to download the latest build artifacts from Azure DevOps via REST API without mentioning buildId?
body: <p>URl mention in documentation:
  GET <a href="https://dev.azure.com/" rel="nofollow noreferrer">https://dev.azure.com/</a>{organization}/{project}/_apis/build/builds/{buildId}/artifacts?artifactName={artifactName}&amp;api-version=4.1</p>
  
  <p>How to get the buildid via REST API or can we download the artifact without buildId</p>