Units API.

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

GET /api/units/2274918/?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/rasters/en/?format=api",
    "source": [
        "By default ST_Clip will leave out pixels where the centroid of the pixel doesn't intersect the geometry.  This can be annoying for big pixels and you may prefer to instead, include a pixel if any part of the pixel touches the geometry. Introduced in PostGIS 3.5, is the touched argument. Replace your  `ST_Clip(r.rast, g.geom)` with  `ST_Clip(r.rast, g.geom, touched => true)` and voila any pixels that intersect your geometry in any way will be included."
    ],
    "previous_source": "",
    "target": [
        "By default ST_Clip will leave out pixels where the centroid of the pixel doesn't intersect the geometry.  This can be annoying for big pixels and you may prefer to instead, include a pixel if any part of the pixel touches the geometry. Introduced in PostGIS 3.5, is the touched argument. Replace your  `ST_Clip(r.rast, g.geom)` with  `ST_Clip(r.rast, g.geom, touched => true)` and voila any pixels that intersect your geometry in any way will be included."
    ],
    "id_hash": 8706458952427369225,
    "content_hash": 8706458952427369225,
    "location": "../../en/rasters.rst:609",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 112,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 74,
    "source_unit": "https://weblate.osgeo.org/api/units/2274918/?format=api",
    "priority": 100,
    "id": 2274918,
    "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/rasters/en/?checksum=f8d38e49d6f3f309",
    "url": "https://weblate.osgeo.org/api/units/2274918/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2024-11-02T22:35:27.370126Z"
}