Units API.

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

GET /api/units/2241872/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/geography/zh_Hans/?format=api",
    "source": [
        "The Cartesian approach to handling geographic coordinates breaks down entirely for features that cross the international dateline. The shortest great-circle route from Los Angeles to Tokyo crosses the Pacific Ocean. The shortest Cartesian route crosses the Atlantic and Indian Oceans."
    ],
    "previous_source": "",
    "target": [
        "对于跨越国际日期变更线的特征,处理地理坐标的笛卡尔方法完全失效。从洛杉矶到东京最短的大圆航线要穿越太平洋。最短的笛卡尔路线穿过大西洋和印度洋。"
    ],
    "id_hash": 7070565409245278549,
    "content_hash": 7070565409245278549,
    "location": "../../en/geography.rst:88",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 25,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 40,
    "source_unit": "https://weblate.osgeo.org/api/units/100989/?format=api",
    "priority": 100,
    "id": 2241872,
    "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/geography/zh_Hans/?checksum=e21fb1c73b3ab155",
    "url": "https://weblate.osgeo.org/api/units/2241872/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2024-05-20T07:28:30.336554Z"
}