Units API.

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

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

{
    "translation": "https://l10n.opensuse.org/api/translations/yast-nfs/master/fi/?format=api",
    "source": [
        "The hostname entered is invalid. It must be\nshorter than 50 characters and only use\nvalid IPv4, IPv6 or domain name.\nValid IPv4: %1\nValid IPv6: %2\nValid domain: %3"
    ],
    "previous_source": "",
    "target": [
        "Olet antanut väärän konenimen. Sen tulee olla\nlyhyempi kuin 50 merkkiä ja voit käyttää vain\n kelpoa IPv4, IPv6 tai verkkotunnusta.\n Kelpo IPv4: %1\n Kelpo IPv6: %2\n Kelpo verkkotunnus: %3"
    ],
    "id_hash": 3598562622572588537,
    "content_hash": 3598562622572588537,
    "location": "src/include/nfs/routines.rb:83",
    "context": "",
    "note": "error popup message",
    "flags": "ycp-format",
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 19,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 30,
    "source_unit": "https://l10n.opensuse.org/api/units/12578585/?format=api",
    "priority": 100,
    "id": 1873158,
    "web_url": "https://l10n.opensuse.org/translate/yast-nfs/master/fi/?checksum=b1f0a9a3a46fedf9",
    "url": "https://l10n.opensuse.org/api/units/1873158/?format=api",
    "explanation": "",
    "extra_flags": ""
}