Units API.

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

GET /api/units/7665119/?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/pl/?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>odpowiedź</big> = \"</b><i>wyrażenie regularne do porównania </i><b>\"</b>\n</p><p>Jeśli żądany wynik zawiera to <i>wyrażenie regularne do porównania</i>, serwer rzeczywisty jest traktowany jako aktywny. Wyrażenie regularne musi być ujęte w cudzysłowy. Należy pamiętać, że\nwyrażenia regularne nie są zwykłymi łańcuchami i jeśli znaki specjalne mają być traktowane jako literały, należy zastosować znak unikowy. Należy pamiętać, że to wyrażenie regularne może zostać zastąpione przez\nopcjonalne wyrażenie dla serwera rzeczywistego.\n</p><p>W przypadku sprawdzania <small>DNS</small> powinien to być dowolny adres rekordu A lub dowolna nazwa rekordu <small>PTR</small>.\n</p><p>W przypadku sprawdzania MySQL ustawienie odpowiedzi nie jest używane.\n\n\n"
    ],
    "id_hash": -8856725647525867015,
    "content_hash": -8856725647525867015,
    "location": "src/include/iplb/helps.rb:212",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "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": 7665119,
    "web_url": "https://l10n.opensuse.org/translate/yast-iplb/master/pl/?checksum=051696f2d22111f9",
    "url": "https://l10n.opensuse.org/api/units/7665119/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2018-02-14T02:35:14.681202Z"
}