Units API.

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

GET /api/units/82725657/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://hosted.weblate.org/api/translations/debian-handbook/05_packaging-system/ko/?format=api",
    "source": [
        "\n<computeroutput>$ </computeroutput><userinput>dpkg -L base-passwd</userinput>\n<computeroutput><![CDATA[/.\n/usr\n/usr/sbin\n/usr/sbin/update-passwd\n/usr/share\n/usr/share/base-passwd\n/usr/share/base-passwd/group.master\n/usr/share/base-passwd/passwd.master\n/usr/share/doc\n/usr/share/doc/base-passwd\n/usr/share/doc/base-passwd/README\n/usr/share/doc/base-passwd/changelog.gz\n/usr/share/doc/base-passwd/copyright\n/usr/share/doc/base-passwd/users-and-groups.html\n/usr/share/doc/base-passwd/users-and-groups.txt.gz\n/usr/share/doc-base\n/usr/share/doc-base/users-and-groups\n/usr/share/lintian\n/usr/share/lintian/overrides\n/usr/share/lintian/overrides/base-passwd\n/usr/share/man\n/usr/share/man/de\n/usr/share/man/de/man8\n/usr/share/man/de/man8/update-passwd.8.gz\n/usr/share/man/es\n/usr/share/man/es/man8\n/usr/share/man/es/man8/update-passwd.8.gz\n/usr/share/man/fr\n/usr/share/man/fr/man8\n/usr/share/man/fr/man8/update-passwd.8.gz\n/usr/share/man/ja\n/usr/share/man/ja/man8\n/usr/share/man/ja/man8/update-passwd.8.gz\n/usr/share/man/man8\n/usr/share/man/man8/update-passwd.8.gz\n/usr/share/man/pl\n/usr/share/man/pl/man8\n/usr/share/man/pl/man8/update-passwd.8.gz\n/usr/share/man/ru\n/usr/share/man/ru/man8\n/usr/share/man/ru/man8/update-passwd.8.gz]]>\n$ </computeroutput><userinput>dpkg -S /bin/date</userinput>\n<computeroutput>coreutils: /bin/date\n$ </computeroutput><userinput>dpkg -s coreutils</userinput>\n<computeroutput><![CDATA[Package: coreutils\nEssential: yes\nStatus: install ok installed\nPriority: required\nSection: utils\nInstalled-Size: 17478\nMaintainer: Michael Stone <mstone@debian.org>\nArchitecture: amd64\nMulti-Arch: foreign\nSource: coreutils (8.32-4)\nVersion: 8.32-4+b1\nPre-Depends: libacl1 (>= 2.2.23), libattr1 (>= 1:2.4.44), libc6 (>= 2.28), libgmp10, libselinux1 (>= 3.1~)\nDescription: GNU core utilities\n This package contains the basic file, shell and text manipulation\n utilities which are expected to exist on every operating system.\n .\n Specifically, this package includes:\n arch base64 basename cat chcon chgrp chmod chown chroot cksum comm cp\n csplit cut date dd df dir dircolors dirname du echo env expand expr\n factor false flock fmt fold groups head hostid id install join link ln\n logname ls md5sum mkdir mkfifo mknod mktemp mv nice nl nohup nproc numfmt\n od paste pathchk pinky pr printenv printf ptx pwd readlink realpath rm\n rmdir runcon sha*sum seq shred sleep sort split stat stty sum sync tac\n tail tee test timeout touch tr true truncate tsort tty uname unexpand\n uniq unlink users vdir wc who whoami yes\nHomepage: http://gnu.org/software/coreutils]]>\n$ </computeroutput><userinput>dpkg -l 'b*'</userinput>\n<computeroutput><![CDATA[Desired=Unknown/Install/Remove/Purge/Hold\n| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend\n|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)\n||/ Name                       Version       Architecture Description\n+++-==========================-==============-============-==================================\nun  backupninja                <none>         <none>       (no description available)\nun  backuppc                   <none>         <none>       (no description available)\nii  baloo-kf5                  5.78.0-3       amd64        framework for searching and manag>\nun  balsa                      <none>         <none>       (no description available)\nii  baobab                     3.38.0-1       amd64        GNOME disk usage analyzer\nun  base                       <none>         <none>       (no description available)\nun  base-config                <none>         <none>       (no description available)\nii  base-files                 11.1           amd64        Debian base system miscellaneous >\nii  base-passwd                3.5.51         amd64        Debian base system master passwor>\nii  bash                       5.1-2+b1       amd64        GNU Bourne Again SHell\n[..]]]>\n$ </computeroutput><userinput>dpkg -c /var/cache/apt/archives/bash_5.1-3+b1_amd64.deb</userinput>\n<computeroutput><![CDATA[drwxr-xr-x root/root         0 2021-07-25 20:43 ./\ndrwxr-xr-x root/root         0 2021-07-25 20:43 ./bin/\n-rwxr-xr-x root/root   1234376 2021-07-25 20:43 ./bin/bash\ndrwxr-xr-x root/root         0 2021-07-25 20:43 ./etc/\n-rw-r--r-- root/root      1994 2021-07-25 20:43 ./etc/bash.bashrc\ndrwxr-xr-x root/root         0 2021-07-25 20:43 ./etc/skel/\n-rw-r--r-- root/root       220 2021-07-25 20:43 ./etc/skel/.bash_logout\n-rw-r--r-- root/root      3526 2021-07-25 20:43 ./etc/skel/.bashrc\n-rw-r--r-- root/root       807 2021-07-25 20:43 ./etc/skel/.profile\ndrwxr-xr-x root/root         0 2021-07-25 20:43 ./usr/\ndrwxr-xr-x root/root         0 2021-07-25 20:43 ./usr/bin/\n-rwxr-xr-x root/root      6759 2021-07-25 20:43 ./usr/bin/bashbug\n-rwxr-xr-x root/root     14648 2021-07-25 20:43 ./usr/bin/clear_console\ndrwxr-xr-x root/root         0 2021-07-25 20:43 ./usr/share/\ndrwxr-xr-x root/root         0 2021-07-25 20:43 ./usr/share/doc/\n[..]]]>\n$ </computeroutput><userinput>dpkg -I /var/cache/apt/archives/bash_5.1-3+b1_amd64.deb</userinput>\n<computeroutput><![CDATA[ new Debian package, version 2.0.\n size 1416600 bytes: control archive=7256 bytes.\n      77 bytes,     4 lines      conffiles\n    1030 bytes,    27 lines      control\n    4511 bytes,    64 lines      md5sums\n     603 bytes,    31 lines   *  postinst             #!/bin/bash\n     500 bytes,    25 lines   *  postrm               #!/bin/sh\n   14536 bytes,    33 lines   *  preinst              \n     289 bytes,    22 lines   *  prerm                #!/bin/bash\n Package: bash\n Source: bash (5.1-3)\n Version: 5.1-3+b1\n Architecture: amd64\n Essential: yes\n Maintainer: Matthias Klose <doko@debian.org>\n Installed-Size: 6470\n Pre-Depends: libc6 (>= 2.25), libtinfo6 (>= 6)\n Depends: base-files (>= 2.1.12), debianutils (>= 2.15)\n Recommends: bash-completion (>= 20060301-0)\n Suggests: bash-doc\n Conflicts: bash-completion (<< 20060301-0)\n Replaces: bash-completion (<< 20060301-0), bash-doc (<= 2.05-1)\n Section: shells\n Priority: required\n Multi-Arch: foreign\n Homepage: http://tiswww.case.edu/php/chet/bash/bashtop.html\n Description: GNU Bourne Again SHell\n  Bash is an sh-compatible command language interpreter that executes\n  commands read from the standard input or from a file.  Bash also\n  incorporates useful features from the Korn and C shells (ksh and csh).\n  .\n  Bash is ultimately intended to be a conformant implementation of the\n  IEEE POSIX Shell and Tools specification (IEEE Working Group 1003.2).\n  .\n  The Programmable Completion Code, by Ian Macdonald, is now found in\n  the bash-completion package.]]>\n</computeroutput>\n        "
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": -2271383182940248539,
    "content_hash": -2271383182940248539,
    "location": "",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 341,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 604,
    "source_unit": "https://hosted.weblate.org/api/units/82723912/?format=api",
    "priority": 100,
    "id": 82725657,
    "web_url": "https://hosted.weblate.org/translate/debian-handbook/05_packaging-system/ko/?checksum=607a6d07880ce625",
    "url": "https://hosted.weblate.org/api/units/82725657/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2022-09-07T09:53:18.221929+02:00"
}