Units API.

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

GET /api/units/131789/?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/it_IT/?format=api",
    "source": [
        "#!/bin/sh\n\n. /etc/rc.subr\n\nname=\"dummy\"\nstart_cmd=\"${name}_start\"\nstop_cmd=\":\"\nkiss_cmd=\"${name}_kiss\"\nextra_commands=\"kiss\"\n\ndummy_start()\n{\n        if [ $# -gt 0 ]; then<co xml:id=\"rcng-args-start\"/>\n                echo \"Greeting message: $*\"\n        else\n                echo \"Nothing started.\"\n        fi\n}\n\ndummy_kiss()\n{\n        echo -n \"A ghost gives you a kiss\"\n        if [ $# -gt 0 ]; then<co xml:id=\"rcng-args-kiss\"/>\n                echo -n \" and whispers: $*\"\n        fi\n        case \"$*\" in\n        *[.!?])\n                echo\n                ;;\n        *)\n                echo .\n                ;;\n        esac\n}\n\nload_rc_config $name\nrun_rc_command \"$@\"<co xml:id=\"rcng-args-all\"/>"
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": -7952718480758322461,
    "content_hash": -7952718480758322461,
    "location": "article.translate.xml:1249",
    "context": "",
    "note": "(itstool) path: informalexample/programlisting",
    "flags": "no-wrap",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 144,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 70,
    "source_unit": "https://translate-dev.freebsd.org/api/units/101000/?format=api",
    "priority": 100,
    "id": 131789,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/it_IT/?checksum=11a244ad53b74ae3",
    "url": "https://translate-dev.freebsd.org/api/units/131789/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-02-09T21:23:53.402267Z"
}