Units API.

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

GET /api/units/1709641/?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/bookshandbookconfig_index/tr_TR/?format=api",
    "source": [
        "# configuration file for newsyslog\n#\n# Entries which do not specify the '/pid_file' field will cause the\n# syslogd process to be signalled when that log file is rotated.  This\n# action is only appropriate for log files which are written to by the\n# syslogd process (ie, files listed in /etc/syslog.conf).  If there\n# is no process which needs to be signalled when a given log file is\n# rotated, then the entry for that file should include the 'N' flag.\n#\n# Note: some sites will want to select more restrictive protections than the\n# defaults.  In particular, it may be desirable to switch many of the 644\n# entries to 640 or 600.  For example, some sites will consider the\n# contents of maillog, messages, and lpd-errs to be confidential.  In the\n# future, these defaults may change to more conservative ones.\n#\n# logfilename          [owner:group]    mode count size when  flags [/pid_file] [sig_num]\n/var/log/all.log                        600  7     *    @T00  J\n/var/log/auth.log                       600  7     1000 @0101T JC\n/var/log/console.log                    600  5     1000 *     J\n/var/log/cron                           600  3     1000 *     JC\n/var/log/daily.log                      640  7     *    @T00  JN\n/var/log/debug.log                      600  7     1000 *     JC\n/var/log/init.log                       644  3     1000 *     J\n/var/log/kerberos.log                   600  7     1000 *     J\n/var/log/maillog                        640  7     *    @T00  JC\n/var/log/messages                       644  5     1000 @0101T JC\n/var/log/monthly.log                    640  12    *    $M1D0 JN\n/var/log/devd.log                       644  3     1000 *     JC\n/var/log/security                       600  10    1000 *     JC\n/var/log/utx.log                        644  3     *    @01T05 B\n/var/log/weekly.log                     640  5     *    $W6D0 JN\n/var/log/daemon.log                     644  5     1000 @0101T JC\n"
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": -3975943967862340368,
    "content_hash": -3975943967862340368,
    "location": "documentation/content/en/books/handbook/config/_index.adoc:965",
    "context": "",
    "note": "type: delimited block . 4",
    "flags": "no-wrap",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 292,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 253,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1709535/?format=api",
    "priority": 100,
    "id": 1709641,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookconfig_index/tr_TR/?checksum=48d29c06d4b544f0",
    "url": "https://translate-dev.freebsd.org/api/units/1709641/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2024-09-14T20:19:05.810584Z"
}