Units API.

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

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

{
    "translation": "https://translate.fedoraproject.org/api/translations/dnf/dnf-master/fa/?format=api",
    "language_code": "fa",
    "source": [
        "The downloaded packages were saved in cache until the next successful transaction."
    ],
    "previous_source": "",
    "target": [
        ".بسته‌های بارگیری شده تا زمان تراکنش موفق بعدی در حافظه‌ی نهان ذخیره شده‌اند"
    ],
    "id_hash": 8860984464688064033,
    "content_hash": 8860984464688064033,
    "location": "dnf/base.py:527",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 36,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 12,
    "source_unit": "https://translate.fedoraproject.org/api/units/1304791/?format=api",
    "priority": 100,
    "id": 1314507,
    "web_url": "https://translate.fedoraproject.org/translate/dnf/dnf-master/fa/?checksum=faf88a6c51fca621",
    "url": "https://translate.fedoraproject.org/api/units/1314507/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-03-23T11:24:47.436950Z",
    "last_updated": "2025-02-16T09:40:12.019225Z"
}