Units API.

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

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

{
    "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlescommitters-guide_index/en/?format=api",
    "source": [
        "% git fetch github pull/$PR/head:staging\n% git rebase -i main staging\t# to move the staging branch forward, adjust commit message here\n<do testing here, as needed>\n% git checkout main\n% git pull --ff-only\t\t# to get the latest if time has passed\n% git checkout main\n% git merge --ff-only staging\n<test again if needed>\n% git push freebsd --push-option=confirm-author\n"
    ],
    "previous_source": "",
    "target": [
        "% git fetch github pull/$PR/head:staging\n% git rebase -i main staging\t# to move the staging branch forward, adjust commit message here\n<do testing here, as needed>\n% git checkout main\n% git pull --ff-only\t\t# to get the latest if time has passed\n% git checkout main\n% git merge --ff-only staging\n<test again if needed>\n% git push freebsd --push-option=confirm-author\n"
    ],
    "id_hash": -2639959153017592271,
    "content_hash": -2639959153017592271,
    "location": "documentation/content/en/articles/committers-guide/_index.adoc:2112",
    "context": "",
    "note": "type: delimited block . 4",
    "flags": "no-wrap",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 584,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 62,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1819850/?format=api",
    "priority": 100,
    "id": 1819850,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlescommitters-guide_index/en/?checksum=5b5cfb232ed86631",
    "url": "https://translate-dev.freebsd.org/api/units/1819850/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-08-17T20:19:16.128993Z"
}