Units API.

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

GET /api/units/7663642/?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/cs/?format=api",
    "source": [
        "</p><p><b><big>request</big> = \"</b><i>uri to requested object</i><b>\"</b>\n</p><p>This object will be requested each checkinterval seconds on each real server. The string must be inside quotes. Note that this string may be overridden by\nan optional per real-server based request-string.\n</p><p>For a <small>DNS</small> check this should the name of an A record, or the address of a <small>PTR</small> record to look up.\n</p><p>For a MySQL, Oracle or PostgeSQL check, this should be an <small>SQL</small> query. The data returned is not checked, only that the answer is one or more\nrows. This is a required setting.\n</p><p>For a simpletcp check, this string is sent verbatim except any occurances of \n are replaced with a new line character.\n\n\n"
    ],
    "previous_source": "",
    "target": [
        "</p><p><b><big>request</big> = \"</b><i>identifikátor URI požadovaného objektu</i><b>\"</b>\n</p><p>Tento objekt bude požadován na každém skutečném serveru vždy po počtu sekund odpovídajícím hodnotě checkinterval. Řetězec musí být označen uvozovkami. Tento řetězec může být  přepsán\nvolitelným řetězcem požadavku pro každý skutečný server.\n</p><p>Pro kontrolu <small>DNS</small> by to měl být název záznamu A nebo adresa záznamu <small>PTR</small>, který má být vyhledán.\n</p><p>Pro kontrolu  serveru MySQL, Oracle nebo PostgeSQL by to měl být dotaz <small>SQL</small>. Vrácená data nejsou kontrolována, kontroluje se jenom to, zda má odpověď jeden nebo více\nřádků. Toto nastavení je povinné.\n</p><p>Pro kontrolu simpletcp je tento řetězec zasílán doslovně s výjimkou všech výskytů\n, které jsou nahrazeny znakem nového  řádku.\n\n\n"
    ],
    "id_hash": 7901927495884948288,
    "content_hash": 7901927495884948288,
    "location": "src/include/iplb/helps.rb:202",
    "context": "",
    "note": "",
    "flags": "",
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 52,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 113,
    "source_unit": "https://l10n.opensuse.org/api/units/12576920/?format=api",
    "priority": 100,
    "id": 7663642,
    "web_url": "https://l10n.opensuse.org/translate/yast-iplb/master/cs/?checksum=eda94930f91d4340",
    "url": "https://l10n.opensuse.org/api/units/7663642/?format=api",
    "explanation": "",
    "extra_flags": ""
}