0

I would like to retrieve existing Branch and filter configuration settings for a existing SC.

I am using below API:

"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? Without giving this 2 parameters cant I fetch all existing configuration ?

Document Use : https://learn.microsoft.com/en-us/rest/api/azure/devops/approvalsandchecks/check-configurations/get?view=azure-devops-rest-6.1

Can someone help?

learner
  • 223
  • 3
  • 19

1 Answers1

0

For getting a list of check configurations of a specified environment

  • resourceId -> environment Id
  • rescourceType -> "environment"
Ryan M
  • 18,333
  • 31
  • 67
  • 74
asimian
  • 21
  • 2