Skip to main content

resources/qa/issues/{sid}/{locale} (post)

Get all issues of a given segment and locale.  

URL

(POST) /resources/qa/issues/{sid}/{locale}

PARAMETERS

The URL parameters are:

sid

The segment ID.

int, Mandatory
localeThe locale of the text.string, Mandatory


The request body is a JSON object with these parameters:

scope

Mandatory. See Scope (Object)

This method supports Project and Job scopes only.

object, Mandatory


RESULTS

You receive an object with these properties:

dt

Date when the last QA operation updated issues.

Note: This date does not change when updating individual issues.

date
active

true: There is at least one issue that is not dismissed

false: All issues are dismissed

bool
issues

An array of all issues, each with:

  • s : Severity, 0 = Information, 1 = Warning, 2 = Error
  • d : Description (text of error, warning or information)
  • r: The QA rule ID. A value of >= 1000 means that this issue was not produced by a Wordbee QA rule.
  • x: Dismissed true/false
  • c: Optional comments


object[]


EXAMPLES

Fetch issues for a segment and locale:

CODE
POST /api/resources/qa/issues/21213560/fr
BODY:
{ "scope": { "type": "Project", "projectid": 4332 } }

Results:

CODE
{
    "dt": "2021-03-24T08:56:48.0490382Z",
    "active": true,
    "issues": [
        {
            "s": 1,
            "d": "The translation contains double spaces which are not present in the source text.",
            "r": 50,
            "x": false,
            "c": null
        },
        {
            "s": 1,
            "d": "Grammatical error",
            "r": 0,
            "x": false,
            "c": "For your info"
        }
    ]
}



JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.