{
"Action": "DescribeProtectedBranch",
"DepotId": 5001,
"BranchName": "master"
}
curl --location -g --request POST 'https://.coding.net/open-api?Action=DescribeProtectedBranch' \
--header 'AccessToken;' \
--header 'Action;' \
--header 'Content-Type: application/json' \
--data-raw '{
"Action": "DescribeProtectedBranch",
"DepotId": 5001,
"BranchName": "master"
}'{
"Response": {
"ProtectedBranch": {
"CommitDate": 0,
"DenyForcePush": true,
"ForceSquash": true,
"Name": "string",
"StatusCheck": true
}
}
}