Units API.

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

GET /api/units/16868004/?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": [
        "However, it can sometimes be of interest to force the download of the entire <filename>Packages</filename> file, especially when the last upgrade is very old and when the mechanism of incremental differences would not contribute much. This can also be interesting when network access is very fast but when the processor of the machine to upgrade is rather slow, since the time saved on the download is more than lost when the computer calculates the new versions of these files (starting with the older versions and applying the downloaded differences). To do that, you can use the APT configuration parameter <literal>Acquire::PDiffs</literal> and set it to <literal>false</literal>."
    ],
    "previous_source": "However, it can sometimes be of interest to force the download of the entire <filename>Packages</filename> file, especially when the last upgrade is very old and when the mechanism of incremental differences would not contribute much. This can also be interesting when network access is very fast but when the processor of the machine to upgrade is rather slow, since the time saved on the download is more than lost when the computer calculates the new versions of these files (starting with the older versions and applying the downloaded differences). To do that, you can use the configuration parameter <literal>Acquire::Pdiffs</literal> and set it to <literal>false</literal>.",
    "target": [
        "On notera cependant qu'il est parfois intéressant de forcer le téléchargement du fichier <filename>Packages</filename> complet, notamment lorsque la dernière mise à jour est vraiment trop ancienne et que le mécanisme des différences incrémentales n'apporterait rien. Cela peut également être intéressant dans les cas où l'accès réseau est très rapide, mais où le processeur de la machine à mettre à jour est relativement lent, le temps gagné sur le téléchargement des fichiers étant plus que perdu lors du calcul des nouvelles versions de ces fichiers à partir des anciennes versions et des différences téléchargées. Pour cela, on pourra utiliser le paramètre de configuration <literal>Acquire::PDiffs</literal> d’APT, que l'on règlera à <literal>false</literal>."
    ],
    "id_hash": 568992825938111697,
    "content_hash": 568992825938111697,
    "location": "",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 222,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 105,
    "source_unit": "https://hosted.weblate.org/api/units/16865445/?format=api",
    "priority": 100,
    "id": 16868004,
    "web_url": "https://hosted.weblate.org/translate/debian-handbook/06_apt/fr/?checksum=87e577f5e5c96cd1",
    "url": "https://hosted.weblate.org/api/units/16868004/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-05-17T19:07:58.737335+02:00",
    "last_updated": "2023-05-23T12:28:47.723593+02:00"
}