Units API.

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

GET /api/units/149834/?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-stretch\" {\n  datacenters = [\"dc1\"]\n  type        = \"service\"\n\n  group \"group-stretch\" {\n    task \"task-stretch\" {\n      driver = \"lxc\"\n\n      config {\n        log_level = \"info\"\n        verbosity = \"verbose\"\n        template  = \"/usr/share/lxc/templates/lxc-debian\"\n        template_args = [\"--release=stretch\"]\n      }\n\n      resources {\n        cpu    = 500\n        memory = 256\n      }\n    }\n  }\n}\n"
    ],
    "previous_source": "",
    "target": [
        "job \"job-stretch\" {\n  datacenters = [\"dc1\"]\n  type        = \"service\"\n\n  group \"group-stretch\" {\n    task \"task-stretch\" {\n      driver = \"lxc\"\n\n      config {\n        log_level = \"info\"\n        verbosity = \"verbose\"\n        template  = \"/usr/share/lxc/templates/lxc-debian\"\n        template_args = [\"--release=stretch\"]\n      }\n\n      resources {\n        cpu    = 500\n        memory = 256\n      }\n    }\n  }\n}\n"
    ],
    "id_hash": 8945454810548312796,
    "content_hash": 8945454810548312796,
    "location": "src/nomad/ADMIN.md:63",
    "context": "",
    "note": "type: Fenced code block",
    "flags": "no-wrap",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 10,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 45,
    "source_unit": "https://translate.yunohost.org/api/units/149834/?format=api",
    "priority": 100,
    "id": 149834,
    "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/nomad/en/?checksum=fc24a3c1510a9adc",
    "url": "https://translate.yunohost.org/api/units/149834/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-04-03T22:16:24.655430Z"
}