Units API.

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

GET /api/units/13135415/?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/packages-i18n/r-master/ja/?format=api",
    "source": [
        "Many default regular expression parsers have unbounded worst-case complexity. Regex matching may be quick when presented with a matching input string. However, certain non-matching input strings can make the regular expression matcher go into crazy backtracking loops and take ages to process. This can cause denial of service, as the CPU will be stuck trying to match the regex.\n\nThis tool is designed to:\n* find regular expressions which are vulnerable to ReDoS\n* give an example malicious string which will cause catastrophic backtracking\n\nSupports:\n- C#\n- JavaScript/TypeScript (requires node to be installed)\n- JSON\n- Python\n- YAML"
    ],
    "previous_source": "",
    "target": [
        "多くのデフォルトの正規表現パーサーには、最悪の場合の無限の複雑さがあります。正規表現の照合は、一致する入力文字列とともに提示された場合に迅速に行われます。しかし、一致しない入力ストリングがあると、正規表現のmatcherが異常なバックトラッキングループに入り、処理に時間がかかる可能性があります。これはサービス拒否を引き起こす可能性があります。なぜなら、CPUは正規表現を照合しようとして動かなくなるからです。\n\nこのツールの目的は次のとおりです。\n* ReDoSに対して脆弱な正規表現を見つける\n* 致命的なバックトラッキングを引き起こす悪意のある文字列の例を示します。\n\nサポート:\n- C#\n- JavaScript/TypeScript(ノードをインストールする必要がある)\n- JSON\n- Python\n- YAML"
    ],
    "id_hash": -7607087760944904335,
    "content_hash": -7607087760944904335,
    "location": "",
    "context": "",
    "note": "tumbleweed/regexploit/description",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 1008,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 100,
    "source_unit": "https://l10n.opensuse.org/api/units/13134337/?format=api",
    "priority": 100,
    "id": 13135415,
    "web_url": "https://l10n.opensuse.org/translate/packages-i18n/r-master/ja/?checksum=166e31fc49a84771",
    "url": "https://l10n.opensuse.org/api/units/13135415/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2022-02-23T15:39:33.821443Z"
}