Units API.

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

GET /api/units/190307/?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/articles_rc-scripting/zh_CN/?format=api",
    "source": [
        "You can make <citerefentry><refentrytitle>rc.subr</refentrytitle><manvolnum>8</manvolnum></citerefentry> act as though the knob is set to <literal>ON</literal>, irrespective of its current setting, by prefixing the argument to the script with <literal>one</literal> or <literal>force</literal>, as in <option>onestart</option> or <option>forcestop</option>. Keep in mind though that <literal>force</literal> has other dangerous effects we will touch upon below, while <literal>one</literal> just overrides the ON/OFF knob. E.g., assume that <envar>dummy_enable</envar> is <literal>OFF</literal>. The following command will run the <option>start</option> method in spite of the setting:"
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": -7249915972232730016,
    "content_hash": -7249915972232730016,
    "location": "article.translate.xml:451",
    "context": "",
    "note": "(itstool) path: note/para",
    "flags": "",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 55,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 75,
    "source_unit": "https://translate-dev.freebsd.org/api/units/100911/?format=api",
    "priority": 100,
    "id": 190307,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/zh_CN/?checksum=1b631fd5bfa32a60",
    "url": "https://translate-dev.freebsd.org/api/units/190307/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-07-16T14:38:19.737918Z"
}