Units API.

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

GET /api/units/2339893/?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/loading_data/sv/?format=api",
    "source": [
        "You'll first want to create a connection to a PostGIS database using menu :command:`Layer->Add Layer->PostGIS Layers->New` and then filling in the prompts. Once you have a connection, you can add Layers by clicking connect and selecting a table to display."
    ],
    "previous_source": "",
    "target": [
        "Du måste först skapa en anslutning till en PostGIS-databas genom att använda menykommandot: `Layer->Add Layer->PostGIS Layers->New` och sedan fylla i anvisningarna. När du har en anslutning kan du lägga till lager genom att klicka på connect och välja en tabell som ska visas."
    ],
    "id_hash": -3988077257855554935,
    "content_hash": -3988077257855554935,
    "location": "../../en/loading_data.rst:276",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 70,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 40,
    "source_unit": "https://weblate.osgeo.org/api/units/1575870/?format=api",
    "priority": 100,
    "id": 2339893,
    "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/loading_data/sv/?checksum=48a780dd1cb4aa89",
    "url": "https://weblate.osgeo.org/api/units/2339893/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-06-04T12:50:47.206958Z"
}