Units API.

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

GET /api/units/12888562/?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-autoinst/master/cs/?format=api",
    "source": [
        "Check if profile is valid. Also evaluate profile for dynamic profiles like ERB or rules/classes. If run-scripts parameter is set to 'true' it can be used also to validate dynamic profiles generated by pre-scripts.\n\n    Be careful when running pre-installation scripts and ERB profiles as root. Use only profiles that you trust."
    ],
    "previous_source": "",
    "target": [
        "Zkontrolujte, zda je profil platný. Vyhodnoťte také profil pro dynamické profily, jako je ERB nebo pravidla/třídy. Pokud je parametr run-scripts nastaven na hodnotu 'true', lze jej použít také k ověření dynamických profilů generovaných pre-skripty.\n\nPředinstalační skripty a profily ERB používejte opatrně, jste-li root. Používejte jen profily, kterým důvěřujete."
    ],
    "id_hash": 4780076080439486126,
    "content_hash": 4780076080439486126,
    "location": "src/lib/autoinstall/clients/autoyast.rb:317",
    "context": "",
    "note": "@return [String]",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 239,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 51,
    "source_unit": "https://l10n.opensuse.org/api/units/12888522/?format=api",
    "priority": 100,
    "id": 12888562,
    "web_url": "https://l10n.opensuse.org/translate/yast-autoinst/master/cs/?checksum=c2563dde85efe6ae",
    "url": "https://l10n.opensuse.org/api/units/12888562/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-07-06T02:33:11.901410Z"
}