Units API.

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

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