Units API.

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

GET /api/units/82710371/?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/06_apt/fr/?format=api",
    "source": [
        "To speed up the process, APT can download “diff” files containing the changes since the previous update, as opposed to the entire file. To achieve this, official Debian mirrors distribute different files which list the differences between one version of the <filename>Packages</filename> file and the following version. They are generated at each update of the archives and a history of one week is kept. Each of these “diff” files only takes a few dozen kilobytes for <emphasis role=\"distribution\">Unstable</emphasis>, so that the amount of data downloaded by a weekly <command>apt update</command> is often divided by 10. For <emphasis role=\"distribution\">Stable</emphasis> and <emphasis role=\"distribution\">Testing</emphasis>, which change less, the gain is even more noticeable."
    ],
    "previous_source": "To speed up the process APT can download “diff” files containing the changes since the previous update, as opposed to the entire file. To achieve this, official Debian mirrors distribute different files which list the differences between one version of the <filename>Packages</filename> file and the following version. They are generated at each update of the archives and a history of one week is kept. Each of these “diff” files only takes a few dozen kilobytes for <emphasis role=\"distribution\">Unstable</emphasis>, so that the amount of data downloaded by a weekly <command>apt update</command> is often divided by 10. For distributions like <emphasis role=\"distribution\">Stable</emphasis> and <emphasis role=\"distribution\">Testing</emphasis>, which change less, the gain is even more noticeable.",
    "target": [
        "Pour accélérer le processus, APT peut télécharger non plus le fichier entier mais simplement les différences par rapport à une version précédente. Les miroirs Debian officiels distribuent pour cela différents fichiers recensant les différences d'une version du fichier <filename>Packages</filename> à la suivante, lors des mises à jour des archives, avec un historique d'une semaine. Chacun de ces fichiers de différences ne pesant en général que quelques dizaines de kilo-octets pour <emphasis role=\"distribution\">Unstable</emphasis>, la quantité de données téléchargées par un <command>apt update</command> hebdomadaire est typiquement divisée par 10. Pour les distributions moins changeantes, comme <emphasis role=\"distribution\">Stable</emphasis> et <emphasis role=\"distribution\">Testing</emphasis>, le gain est encore plus flagrant."
    ],
    "id_hash": 5567123079097008895,
    "content_hash": 5567123079097008895,
    "location": "",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 220,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 110,
    "source_unit": "https://hosted.weblate.org/api/units/82706594/?format=api",
    "priority": 100,
    "id": 82710371,
    "web_url": "https://hosted.weblate.org/translate/debian-handbook/06_apt/fr/?checksum=cd4264f1ce74c2ff",
    "url": "https://hosted.weblate.org/api/units/82710371/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2022-09-07T09:46:54.460042+02:00"
}