Units API.

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

GET /api/units/1649761/?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/documentation/articlesrc-scripting_index/el/?format=api",
    "source": [
        "When the system is going to shut down, [.filename]#/etc/rc.shutdown# runs.  It assumes that most [.filename]#rc.d# scripts have nothing to do at that time.  Therefore [.filename]#/etc/rc.shutdown# selectively invokes [.filename]#rc.d# scripts with the [.filename]#shutdown# keyword, effectively ignoring the rest of the scripts.  For even faster shutdown, [.filename]#/etc/rc.shutdown# passes the [.filename]#faststop# command to the scripts it runs so that they skip preliminary checks, e.g., the pidfile check.  As dependent services should be stopped before their prerequisites, [.filename]#/etc/rc.shutdown# runs the scripts in reverse dependency order.  If writing a real [.filename]#rc.d# script, you should consider whether it is relevant at system shutdown time.  E.g., if your script does its work in response to the [.filename]#start# command only, then you need not to include this keyword.  However, if your script manages a service, it is probably a good idea to stop it before the system proceeds to the final stage of its shutdown sequence described in man:halt[8].  In particular, a service should be stopped explicitly if it needs considerable time or special actions to shut down cleanly.  A typical example of such a service is a database engine."
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": 1971514122856367163,
    "content_hash": 1971514122856367163,
    "location": "documentation/content/en/articles/rc-scripting/_index.adoc:709",
    "context": "",
    "note": "type: delimited block = 4",
    "flags": "",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 151,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 182,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1261080/?format=api",
    "priority": 100,
    "id": 1649761,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=9b5c39a63285043b",
    "url": "https://translate-dev.freebsd.org/api/units/1649761/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2024-02-17T12:46:48.575200Z"
}