Units API.

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

GET /api/units/13183912/?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/perl-master/ja/?format=api",
    "source": [
        "Carp::Assert::More is a convenient set of assertions to make the habit of writing assertions even easier.\n\nEverything in here is effectively syntactic sugar. There's no technical difference between calling one of these functions:\n\n    assert_datetime( $foo );     assert_isa( $foo, 'DateTime' );\n\nthat are provided by Carp::Assert::More and calling these assertions from Carp::Assert\n\n    assert( defined $foo );     assert( ref($foo) eq 'DateTime' );\n\nMy intent here is to make common assertions easy so that we as programmers have no excuse to not use them."
    ],
    "previous_source": "Carp::Assert::More is a set of wrappers around the Carp::Assert functions to make the habit of writing assertions even easier.\n\nEverything in here is effectively syntactic sugar. There's no technical reason to use\n\n    assert_isa( $foo, 'HTML::Lint' );\n\ninstead of\n\n    assert( defined $foo );     assert( ref($foo) eq 'HTML::Lint' );\n\nother than readability and simplicity of the code.\n\nMy intent here is to make common assertions easy so that we as programmers have no excuse to not use them.",
    "target": [
        "Carp::Assert::Moreは、アサーションを作成する習慣をさらに簡単にするための便利なアサーションのセットです。\n\nここにあるものはすべて、事実上、糖衣構文(syntactic sugar)です。これらの関数のいずれかを呼び出すことに技術的な違いはありません。\n\n    assert_datetime($foo); assert_isa($foo,'dateTime');\n\nCarp::Assert::Moreで提供され、これらのアサーションをCarp::Assertから呼び出します\n\n    assert(defined$foo);assert(ref($foo)eq'dateTime');\n\nここで私が意図しているのは、一般的なアサーションを簡単にして、私たちプログラマーがそれらを使わない言い訳がないようにすることです。"
    ],
    "id_hash": 1603292929346395742,
    "content_hash": 1603292929346395742,
    "location": "",
    "context": "",
    "note": "leap/perl-Carp-Assert-More/description",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 199,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 81,
    "source_unit": "https://l10n.opensuse.org/api/units/13182438/?format=api",
    "priority": 100,
    "id": 13183912,
    "web_url": "https://l10n.opensuse.org/translate/packages-i18n/perl-master/ja/?checksum=96400a6cb4965e5e",
    "url": "https://l10n.opensuse.org/api/units/13183912/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2022-02-23T16:53:34.121196Z"
}