Units API.

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

GET /api/units/1744622/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookuses_index/fr/?format=api",
    "source": [
        "Sets default values and targets used to build Haskell software using Cabal.  A build dependency on the Haskell compiler port (package:lang/ghc[]) is added.  If there is some other version of GHC already listed in the `BUILD_DEPENDS` variable (for example, package:lang/ghc810[]), it would be used instead.  If the `hpack` argument is given, a build dependency on package:devel/hs-hpack[] is added and `hpack` is invoked at configuration step to generate .cabal file.  If the `nodefault` argument is given, the framework will not try to pull the main distribution file from the Hackage.  This argument is implicitly added if `USE_GITHUB` or `USE_GITLAB` is present."
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": -7214728718309076237,
    "content_hash": -7214728718309076237,
    "location": "documentation/content/en/books/porters-handbook/uses/_index.adoc:335",
    "context": "",
    "note": "type: delimited block = 4",
    "flags": "",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 116,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 100,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1449143/?format=api",
    "priority": 100,
    "id": 1744622,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookuses_index/fr/?checksum=1be02274ba60d2f3",
    "url": "https://translate-dev.freebsd.org/api/units/1744622/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-01-22T18:04:24.990010Z"
}