Units API.

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

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

{
    "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_handbook/en/?format=api",
    "source": [
        "\n# Disallow ntpq control/query access.  Allow peers to be added only\n# based on pool and server statements in this file.\nrestrict default limited kod nomodify notrap noquery nopeer\nrestrict source  limited kod nomodify notrap noquery\n\n# Allow unrestricted access from localhost for queries and control.\nrestrict 127.0.0.1\nrestrict ::1\n\n# Add a specific server.\nserver ntplocal.example.com iburst\n\n# Add FreeBSD pool servers until 3-6 good servers are available.\ntos minclock 3 maxclock 6\npool 0.freebsd.pool.ntp.org iburst\n\n# Use a local leap-seconds file.\nleapfile \"/var/db/ntpd.leap-seconds.list\""
    ],
    "previous_source": "",
    "target": [
        "\n# Disallow ntpq control/query access.  Allow peers to be added only\n# based on pool and server statements in this file.\nrestrict default limited kod nomodify notrap noquery nopeer\nrestrict source  limited kod nomodify notrap noquery\n\n# Allow unrestricted access from localhost for queries and control.\nrestrict 127.0.0.1\nrestrict ::1\n\n# Add a specific server.\nserver ntplocal.example.com iburst\n\n# Add FreeBSD pool servers until 3-6 good servers are available.\ntos minclock 3 maxclock 6\npool 0.freebsd.pool.ntp.org iburst\n\n# Use a local leap-seconds file.\nleapfile \"/var/db/ntpd.leap-seconds.list\""
    ],
    "id_hash": -9138938769369771438,
    "content_hash": -9138938769369771438,
    "location": "book.translate.xml:59291",
    "context": "",
    "note": "(itstool) path: example/programlisting",
    "flags": "no-wrap",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 9708,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 85,
    "source_unit": "https://translate-dev.freebsd.org/api/units/92479/?format=api",
    "priority": 100,
    "id": 92479,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_handbook/en/?checksum=012bf79c03ab5252",
    "url": "https://translate-dev.freebsd.org/api/units/92479/?format=api",
    "explanation": "",
    "extra_flags": "ignore-same",
    "pending": false,
    "timestamp": "2019-11-02T20:38:02.988885Z"
}