Units API.

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

GET /api/units/1464420/?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-handbookpkg-files_index/de_DE/?format=api",
    "source": [
        "The [.filename]#pkg-deinstall# script is run twice by `pkg delete`.  The first time as `${SH} pkg-deinstall ${PKGNAME} DEINSTALL` before the port is de-installed and the second time as `${SH} pkg-deinstall ${PKGNAME} POST-DEINSTALL` after the port has been de-installed.  `$2` can be tested to determine which mode the script is being run in.  The `PKG_PREFIX` environment variable is set to the package installation directory."
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": -882153765848852652,
    "content_hash": -882153765848852652,
    "location": "documentation/content/en/books/porters-handbook/pkg-files/_index.adoc:262",
    "context": "",
    "note": "type: delimited block = 4",
    "flags": "",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 60,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 62,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1464419/?format=api",
    "priority": 100,
    "id": 1464420,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookpkg-files_index/de_DE/?checksum=73c1f5d2e54e5754",
    "url": "https://translate-dev.freebsd.org/api/units/1464420/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-01-23T23:55:06.974659Z"
}