Units API.

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

GET /api/units/1464564/?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/nl_NL/?format=api",
    "source": [
        "If the port needs to execute commands when the binary package is installed with `pkg add` or `pkg install`, use [.filename]#pkg-install#.  It is run twice by `pkg`, the first time as `${SH} pkg-install ${PKGNAME} PRE-INSTALL` before the package is installed, and the second time as `${SH} pkg-install ${PKGNAME} POST-INSTALL` after it has been 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": -1222252834524380664,
    "content_hash": -1222252834524380664,
    "location": "documentation/content/en/books/porters-handbook/pkg-files/_index.adoc:235",
    "context": "",
    "note": "type: delimited block = 4",
    "flags": "",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 53,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 79,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1464405/?format=api",
    "priority": 100,
    "id": 1464564,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookpkg-files_index/nl_NL/?checksum=6f09af85d475c208",
    "url": "https://translate-dev.freebsd.org/api/units/1464564/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-01-23T23:55:23.248019Z"
}