curl --location --request GET '/repository/branches'
{ "code": 0, "message": "string", "data": { "results": [ { "name": "string", "commit": { "sha": "string", "url": "string" }, "protectionUrl": "string", "protection": { "requiredStatusChecks": { "enforcementLevel": "string", "contexts": [ "string" ] } }, "protected": true } ] } }