Units API.

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

GET /api/units/2356254/?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/postgis-manual/zh_Hans/?format=api",
    "source": [
        "Returns the OGC/ISO <link linkend=\"OpenGISWKBWKT\">Well-Known Binary</link> (WKB) representation of the geometry. The first function variant defaults to encoding using server machine endian. The second function variant takes a text argument specifying the endian encoding: either 'NDR' for little-endian; or 'XDR' for big-endian. Supplying unknown arguments will result in little-endian output."
    ],
    "previous_source": "",
    "target": [
        "返回几何对象的 OGC/ISO <link linkend=\"OpenGISWKBWKT\">Well-Known Binary</link> (WKB) 表示形式。第一个函数形式默认使用服务器主机字节序进行编码。第二个函数形式接受一个文本参数,用于指定字节序编码方式:'NDR' 表示小端编码,'XDR' 表示大端编码。如传入未知参数,将默认生成小端编码输出。"
    ],
    "id_hash": 7582159144486245475,
    "content_hash": 7582159144486245475,
    "location": "",
    "context": "",
    "note": "Tag: para",
    "flags": "no-c-format",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 2815,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 50,
    "source_unit": "https://weblate.osgeo.org/api/units/2355699/?format=api",
    "priority": 100,
    "id": 2356254,
    "web_url": "https://weblate.osgeo.org/translate/postgis/postgis-manual/zh_Hans/?checksum=e9393d91e5951463",
    "url": "https://weblate.osgeo.org/api/units/2356254/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-07-09T03:52:43.277685Z"
}