Units API.

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

GET /api/units/29479/?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/pt_BR/?format=api",
    "source": [
        "#!/bin/sh\n\n. /etc/rc.subr\n\nname=dummy\nrcvar=dummy_enable<co xml:id=\"rcng-confdummy-rcvar\"/>\n\nstart_cmd=\"${name}_start\"\nstop_cmd=\":\"\n\nload_rc_config $name<co xml:id=\"rcng-confdummy-loadconfig\"/>\n: ${dummy_enable:=no} <co xml:id=\"rcng-confdummy-enable\"/>\n: ${dummy_msg=\"Nothing started.\"}<co xml:id=\"rcng-confdummy-opt\"/>\n\ndummy_start()\n{\n\techo \"$dummy_msg\"<co xml:id=\"rcng-confdummy-msg\"/>\n}\n\nrun_rc_command \"$1\""
    ],
    "previous_source": "",
    "target": [
        "#!/bin/sh\n\n. /etc/rc.subr\n\nname=dummy\nrcvar=dummy_enable<co xml:id=\"rcng-confdummy-rcvar\"/>\n\nstart_cmd=\"${name}_start\"\nstop_cmd=\":\"\n\nload_rc_config $name<co xml:id=\"rcng-confdummy-loadconfig\"/>\n: ${dummy_enable:=no} <co xml:id=\"rcng-confdummy-enable\"/>\n: ${dummy_msg=\"Nothing started.\"}<co xml:id=\"rcng-confdummy-opt\"/>\n\ndummy_start()\n{\n\techo \"$dummy_msg\"<co xml:id=\"rcng-confdummy-msg\"/>\n}\n\nrun_rc_command \"$1\""
    ],
    "id_hash": 2864091154590167557,
    "content_hash": 2864091154590167557,
    "location": "article.translate.xml:388",
    "context": "",
    "note": "(itstool) path: informalexample/programlisting",
    "flags": "no-wrap",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 49,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 27,
    "source_unit": "https://translate-dev.freebsd.org/api/units/100905/?format=api",
    "priority": 100,
    "id": 29479,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=a7bf4bbb01af7205",
    "url": "https://translate-dev.freebsd.org/api/units/29479/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:16:13.006207Z"
}