{
"Action": "DescribeBranchProtections",
"DepotId": 809883
}
curl --location -g --request POST 'https://.coding.net/open-api?Action= DescribeBranchProtections' \
--header 'AccessToken;' \
--header 'Action;' \
--header 'Content-Type: application/json' \
--data-raw '{
"Action": "DescribeBranchProtections",
"DepotId": 809883
}'{
"Response": {
"BranchProtections": [
{
"BranchProtectionId": 0,
"Rule": "string",
"DenyForcePush": true,
"ForceSquash": true,
"RequiredGrantCount": 0,
"RequiredStatusCheck": true,
"MatcherCount": 0,
"SrcMustMergedTo": "string",
"RequiredCodeOwnerGrant": true
}
]
}
}