Units API.

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

GET /api/units/149840/?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-bullseye\" {\n  datacenters = [\"dc1\"]\n  type        = \"service\"\n\n  group \"group-download-bullseye\" {\n    task \"task-download-bullseye\" {\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=bullseye\",\"--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-bullseye\" {\n  datacenters = [\"dc1\"]\n  type        = \"service\"\n\n  group \"group-download-bullseye\" {\n    task \"task-download-bullseye\" {\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=bullseye\",\"--arch=amd64\",\"--keyserver=hkp://keyserver.ubuntu.com\"]\n      }\n\n      resources {\n        cpu    = 500\n        memory = 256\n      }\n    }\n  }\n}\n"
    ],
    "id_hash": -7032504342702229681,
    "content_hash": -7032504342702229681,
    "location": "src/nomad/ADMIN.md:150",
    "context": "",
    "note": "type: Fenced code block",
    "flags": "no-wrap",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 19,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 45,
    "source_unit": "https://translate.yunohost.org/api/units/149840/?format=api",
    "priority": 100,
    "id": 149840,
    "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/nomad/en/?checksum=1e67868f63d7774f",
    "url": "https://translate.yunohost.org/api/units/149840/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-04-03T22:16:24.805544Z"
}