Units API.

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

GET /api/units/159013/?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": [
        "<prompt>%</prompt> <userinput>make cabal-extract</userinput>\n[...]\nDownloading the latest package list from hackage.haskell.org\ncabal get ShellCheck-0.6.0\nDownloading  ShellCheck-0.6.0\nDownloaded   ShellCheck-0.6.0\nUnpacking to ShellCheck-0.6.0/"
    ],
    "previous_source": "",
    "target": [
        "<prompt>%</prompt> <userinput>make cabal-extract</userinput>\n[...]\nDownloading the latest package list from hackage.haskell.org\ncabal get ShellCheck-0.6.0\nDownloading  ShellCheck-0.6.0\nDownloaded   ShellCheck-0.6.0\nUnpacking to ShellCheck-0.6.0/"
    ],
    "id_hash": 1857466265291615370,
    "content_hash": 1857466265291615370,
    "location": "book.translate.xml:10736",
    "context": "",
    "note": "(itstool) path: example/screen",
    "flags": "no-wrap",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 2034,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 21,
    "source_unit": "https://translate-dev.freebsd.org/api/units/159013/?format=api",
    "priority": 100,
    "id": 159013,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_porters-handbook/en/?checksum=99c70bba1cfa6c8a",
    "url": "https://translate-dev.freebsd.org/api/units/159013/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-04-18T18:19:46.785756Z"
}