Units API.

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

GET /api/units/159007/?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/freebsd-doc/boooks_porters-handbook/en/?format=api",
    "source": [
        "When preparing a Haskell Cabal port, the <package role=\"port\">devel/hs-cabal-install</package> program is required, so make sure it is installed beforehand. First we need to define common ports variables that allows cabal-install to fetch the package distribution file:"
    ],
    "previous_source": "",
    "target": [
        "When preparing a Haskell Cabal port, the <package role=\"port\">devel/hs-cabal-install</package> program is required, so make sure it is installed beforehand. First we need to define common ports variables that allows cabal-install to fetch the package distribution file:"
    ],
    "id_hash": -6701109188854355325,
    "content_hash": -6701109188854355325,
    "location": "book.translate.xml:10717",
    "context": "",
    "note": "(itstool) path: example/para",
    "flags": "",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 2031,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 36,
    "source_unit": "https://translate-dev.freebsd.org/api/units/159007/?format=api",
    "priority": 100,
    "id": 159007,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_porters-handbook/en/?checksum=2300e0b25d3aea83",
    "url": "https://translate-dev.freebsd.org/api/units/159007/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-04-18T18:19:46.726632Z"
}