I am aware of how to generally queue a build for Azure DevOps using this REST API: https://docs.microsoft.com/en-us/rest/api/azure/devops/build/builds/queue?view=azure-devops-rest-5.1. I can also see that you can specify a branch in the request body to use for the new build. However, I have yet to find a way to trigger a new build for a specific commit. The Azure Pipelines website has an option to trigger a new build for a specific branch, tag, or commit, so I assume there must be a way to do this via REST API.
Does anyone know?