Forum Discussion
edmondandy
Feb 15, 2023Copper Contributor
Azure DevOps Rest API missing data for service connection checks config (required template, etc)
couldn't get it working by using ADO rest API to get information for service connection's checks configs, e.g. required templates, branch controls, etc. the setting is under project settings-> serv...
DFoxNB
Feb 20, 2023Copper Contributor
I made a few guesses with the parameters, and then I was able to retrieve the information like this:
/_apis/pipelines/checks/configurations?&$expand=settings&resourceType=endpoint&resourceId={id of service connection}
Where id of service connection is from /_apis/serviceendpoint/endpoints
/_apis/pipelines/checks/configurations?&$expand=settings&resourceType=endpoint&resourceId={id of service connection}
Where id of service connection is from /_apis/serviceendpoint/endpoints