Units API.

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

GET /api/units/2274928/?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/es/?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": [
        "De manera predeterminada ST_Clip dejará fuera píxeles donde el centroide del píxel no intersecta la geometría. Esto puede ser molesto para píxeles grandes y puede que prefieras en su lugar incluir un píxel si cualquier parte del píxel toca la geometría. Introducido en PostGIS 3.5, está el argumento touched. Reemplaza tu `ST_Clip(r.rast, g.geom)` con `ST_Clip(r.rast, g.geom, touched => true)` y voilà, cualquier píxel que intersecte tu geometría de cualquier forma será incluido."
    ],
    "id_hash": 8706458952427369225,
    "content_hash": 8706458952427369225,
    "location": "../../en/rasters.rst:609",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "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": 2274928,
    "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/rasters/es/?checksum=f8d38e49d6f3f309",
    "url": "https://weblate.osgeo.org/api/units/2274928/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2024-11-02T22:35:29.136669Z"
}