I wanted to have a good example on the JSON body for Create Build Definition in Azure DevOps. I haven't been able to see an example JSON body to work from.
Microsoft Documentation:
https://docs.microsoft.com/en-us/rest/api/azure/devops/build/definitions/create?view=azure-devops-rest-5.1
I found this article that describes something similar to what I wanted. However, they are trying to duplicate the same build definition across different projects.
I want to generate as many standard build definitions within a single project are necessary by my automation.
Any suggestions will be helpful.