How to create new build pipeline using Azure DevOps REST API?

How to create new build pipeline using Azure DevOps REST API? To create the new build pipeline, we could use the REST API Definitions – Create: POST https://dev.azure.com/{organization}/{project}/_apis/build/definitions?api-version=5.0 But we need provide too much information in the Request Body, this will be a big project and error-prone. That also the reason why the document not … Read more