Mprove
.json
IsBranchExist
POST/api/ToBackendIsBranchExist

Check whether a branch exists in a project repo

Request Body

application/json

Response Body

application/json

curl -X POST "http://localhost:3000/api/ToBackendIsBranchExist" \  -H "Content-Type: application/json" \  -d '{    "info": {      "name": "api/ToBackendIsBranchExist",      "traceId": "string",      "idempotencyKey": "string"    },    "payload": {      "projectId": "string",      "branchId": "string",      "repoId": "string"    }  }'
{
  "info": {
    "path": "/api/ToBackendIsBranchExist",
    "method": "POST",
    "mproveVersion": "string",
    "duration": 0,
    "status": "Ok",
    "traceId": "string",
    "error": null
  },
  "payload": {
    "isExist": true
  }
}