Units API.

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

GET /api/units/149142/?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/reverseproxy/en/?format=api",
    "source": [
        "To support relative URLs from the backend, accessing the application via `http(s)://__DOMAIN__/proxy` will permanent redirect (302) to `http(s)://__DOMAIN__/proxy/` (trailing slash). Otherwise, a relative link like `<link rel=\"stylesheet\" href=\"style.css\">` would try to load `http(s)://__DOMAIN__/style.css` which would fail.\n"
    ],
    "previous_source": "",
    "target": [
        "To support relative URLs from the backend, accessing the application via `http(s)://__DOMAIN__/proxy` will permanent redirect (302) to `http(s)://__DOMAIN__/proxy/` (trailing slash). Otherwise, a relative link like `<link rel=\"stylesheet\" href=\"style.css\">` would try to load `http(s)://__DOMAIN__/style.css` which would fail.\n"
    ],
    "id_hash": 9152807002249222517,
    "content_hash": 9152807002249222517,
    "location": "src/reverseproxy/ADMIN.md:6",
    "context": "",
    "note": "type: Plain text",
    "flags": "no-wrap",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 3,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 36,
    "source_unit": "https://translate.yunohost.org/api/units/149142/?format=api",
    "priority": 100,
    "id": 149142,
    "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/reverseproxy/en/?checksum=ff054d7992c5d975",
    "url": "https://translate.yunohost.org/api/units/149142/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-04-03T22:15:38.830084Z"
}