Units API.

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

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

{
    "translation": "https://translate.yunohost.org/api/translations/yunohost-apps-test/nomad/en/?format=api",
    "source": [
        "job \"job-download-buster\" {\n  datacenters = [\"dc1\"]\n  type        = \"service\"\n\n  group \"group-download-buster\" {\n    task \"task-download-buster\" {\n      driver = \"lxc\"\n\n      config {\n        log_level = \"info\"\n        verbosity = \"verbose\"\n        template  = \"/usr/share/lxc/templates/lxc-download\"\n        template_args = [\"--dist=debian\",\"--release=buster\",\"--arch=amd64\",\"--keyserver=hkp://keyserver.ubuntu.com\"]\n      }\n\n      resources {\n        cpu    = 500\n        memory = 256\n      }\n    }\n  }\n}\n"
    ],
    "previous_source": "",
    "target": [
        "job \"job-download-buster\" {\n  datacenters = [\"dc1\"]\n  type        = \"service\"\n\n  group \"group-download-buster\" {\n    task \"task-download-buster\" {\n      driver = \"lxc\"\n\n      config {\n        log_level = \"info\"\n        verbosity = \"verbose\"\n        template  = \"/usr/share/lxc/templates/lxc-download\"\n        template_args = [\"--dist=debian\",\"--release=buster\",\"--arch=amd64\",\"--keyserver=hkp://keyserver.ubuntu.com\"]\n      }\n\n      resources {\n        cpu    = 500\n        memory = 256\n      }\n    }\n  }\n}\n"
    ],
    "id_hash": -3032514315424667686,
    "content_hash": -3032514315424667686,
    "location": "src/nomad/ADMIN.md:121",
    "context": "",
    "note": "type: Fenced code block",
    "flags": "no-wrap",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 16,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 45,
    "source_unit": "https://translate.yunohost.org/api/units/149838/?format=api",
    "priority": 100,
    "id": 149838,
    "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/nomad/en/?checksum=55ea584c0cd367da",
    "url": "https://translate.yunohost.org/api/units/149838/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-04-03T22:16:24.755658Z"
}