[英]How do you get approvals and checks configuration for a given service connection via the Azure DevOps Rest API?
I would like to retrieve existing Branch and filter configuration settings for a existing SC.我想检索现有分支的现有分支并过滤现有 SC 的配置设置。
I am using below API:我在下面使用 API:
"https://dev.azure.com/{org}/{project}/_apis/pipelines/checks/configurations?resourceType=<>&resourceId=<>?api-version=5.2-preview.1 "https://dev.azure.com/{org}/{project}/_apis/pipelines/checks/configurations?resourceType=<>&resourceId=<>?api-version=5.2-preview.1
But what will be the resourceId and rescourceType in this case?但是在这种情况下,resourceId 和 resourceType 是什么? Without giving this 2 parameters cant I fetch all existing configuration?如果不提供这 2 个参数,我不能获取所有现有配置吗?
Document Use: https://docs.microsoft.com/en-us/rest/api/azure/devops/approvalsandchecks/check-configurations/get?view=azure-devops-rest-6.1文档使用: https://docs.microsoft.com/en-us/rest/api/azure/devops/approvalsandchecks/check-configurations/get?view=azure-devops-rest-6.1
Can someone help?有人可以帮忙吗?
For getting a list of check configurations of a specified environment用于获取指定环境的检查配置列表
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.