Units API.

See the Weblate's Web API documentation for detailed description of the API.

GET /api/units/7663607/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://l10n.opensuse.org/api/translations/yast-iplb/master/ca/?format=api",
    "source": [
        "</p><p><b><big>receive</big> = \"</b><i>regexp to compare</i><b>\"</b>\n</p><p>If the requested result contains this <i>regexp to compare</i>, the real server is declared alive. The regexp must be inside quotes. Keep in mind that\nregexps are not plain strings and that you need to escape the special characters if they should as literals. Note that this regexp may be overridden by an\noptional per real-server based receive regexp.\n</p><p>For a <small>DNS</small> check this should be any one the A record's addresses or any one of the <small>PTR</small> record's names.\n</p><p>For a MySQL check, the receive setting is not used.\n\n\n"
    ],
    "previous_source": "",
    "target": [
        "</p><p><b><big>receive</big> = \"</b><i>expressió regular amb què comparar</i><b>\"</b>\n</p><p>Si el resultat de la petició conté aquesta <i>expressió regular amb què comparar</i>, el servidor real es declara viu. L'expressió regular ha d'estar entre cometes. Tingueu en compte que\nles expressions regulars no són simples cadenes de text i que és necessari usar caràcters d'escapament per als caràcters especials si s'han de tractar com a literals. Noteu que l'expressió regular pot ser passada per alt per una\nexpressió regular opcional basada en un servidor real.\n</p><p>Per a una comprovació <small>DNS</small> hauria de ser qualsevol de les adreces de registres A o qualsevol dels noms de registres <small>PTR</small>.\n</p><p>Per a una comprovació MySQL, el paràmetre \"receive\" no s'usa.\n\n\n"
    ],
    "id_hash": -8856725647525867015,
    "content_hash": -8856725647525867015,
    "location": "src/include/iplb/helps.rb:212",
    "context": "",
    "note": "",
    "flags": "",
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 53,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 95,
    "source_unit": "https://l10n.opensuse.org/api/units/12576921/?format=api",
    "priority": 100,
    "id": 7663607,
    "web_url": "https://l10n.opensuse.org/translate/yast-iplb/master/ca/?checksum=51696f2d22111f9",
    "url": "https://l10n.opensuse.org/api/units/7663607/?format=api",
    "explanation": "",
    "extra_flags": ""
}