Skip to main content
POST
/
api2
/
v4
/
projects
/
{projectUid}
/
jobs
/
qualityAssurances
/
segments
/
run
Run quality assurance on selected segments
curl --request POST \
  --url https://cloud.memsource.com/web/api2/v4/projects/{projectUid}/jobs/qualityAssurances/segments/run \
  --header 'Content-Type: application/json' \
  --data '{
  "jobsAndSegments": [
    {
      "job": {
        "uid": "<string>"
      },
      "segments": [
        "<string>"
      ]
    }
  ],
  "warningTypes": [
    "EmptyTranslation"
  ],
  "maxQaWarningsCount": 500
}'
{
  "segmentWarnings": [
    {
      "segmentId": "<string>",
      "warnings": [
        {
          "id": "<string>",
          "ignored": true,
          "type": "<string>",
          "repetitionGroupId": "<string>"
        }
      ],
      "ignoredChecks": [
        "<string>"
      ]
    }
  ],
  "finished": true
}

Path Parameters

projectUid
string
required

Body

application/json
jobsAndSegments
object[]
required
Required array length: 1 - 100 elements
warningTypes
enum<string>[]

When empty only fast checks run

Maximum length: 100
maxQaWarningsCount
integer

Maximum number of QA warnings in result, default: 100. For efficiency reasons QA warnings are processed with minimum segments chunk size 10, therefore slightly more warnings are returned.

Required range: 1 <= x <= 1000

Response

successful operation

segmentWarnings
object[]
finished
boolean
I