Mprove
validate

Validate (rebuild) Mprove files for a project branch and environment

Request Body

application/json

Response Body

application/json

Input

{
  "projectId": "string",
  "repoId": "string",
  "branchId": "string",
  "envId": "string"
}

Output

{
  "needValidate": true,
  "validationErrorsTotal": 0,
  "validationErrors": [
    {
      "title": "string",
      "message": "string",
      "lines": [
        {
          "filePath": "string",
          "fileName": "string",
          "lineNumber": 0
        }
      ]
    }
  ],
  "repo": {
    "orgId": "string",
    "projectId": "string",
    "repoId": "string",
    "currentBranchId": "string",
    "repoStatus": "NeedCommit",
    "conflicts": [
      {
        "fileId": "string",
        "fileName": "string",
        "lineNumber": 0
      }
    ]
  },
  "url": "string"
}

On this page