Units API.

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

GET /api/units/229458/?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_arch-handbook/zh_CN/?format=api",
    "source": [
        "Then allocate and activate all the necessary resources. As normally the port range will be released before returning from probe, it has to be allocated again. We expect that the probe routine had properly set all the resource ranges, as well as saved them in the structure softc. If the probe routine had left some resource allocated then it does not need to be allocated again (which would be considered an error)."
    ],
    "previous_source": "Then allocate and activate all the necessary resources. Because normally the port range will be released before returning from probe, it has to be allocated again. We expect that the probe routine had properly set all the resource ranges, as well as saved them in the structure softc. If the probe routine had left some resource allocated then it does not need to be allocated again (which would be considered an error).",
    "target": [
        "然后分配并激活所需资源。由于端口范围通常在从探测返回前就被释放,因此需要重新分配。我们希望探测例程已经适当地设置了所有的资源范围,并将它们保存在结构softc中。如果探测例程留下了一些被分配的资源,就不需要再次分配(重新分配被视为错误)。"
    ],
    "id_hash": -5461918463108398047,
    "content_hash": -5461918463108398047,
    "location": "book.translate.xml:18682",
    "context": "",
    "note": "(itstool) path: sect1/para",
    "flags": "",
    "labels": [],
    "state": 10,
    "fuzzy": true,
    "translated": false,
    "approved": false,
    "position": 2026,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 72,
    "source_unit": "https://translate-dev.freebsd.org/api/units/229394/?format=api",
    "priority": 100,
    "id": 229458,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_arch-handbook/zh_CN/?checksum=34335e18a646c421",
    "url": "https://translate-dev.freebsd.org/api/units/229458/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-01-09T14:37:39.416086Z"
}