Units API.

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

GET /api/units/67195934/?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/phpmyadmin/5-2/de/?format=api",
    "source": [
        "Especially on a system with a lot of writes to InnoDB tables you should set {innodb_log_file_size} to 25% of {innodb_buffer_pool_size}. However the bigger this value, the longer the recovery time will be when database crashes, so this value should not be set much higher than 256 MiB. Please note however that you cannot simply change the value of this variable. You need to shutdown the server, remove the InnoDB log files, set the new value in my.cnf, start the server, then check the error logs if everything went fine. See also <a href=\"https://mysqldatabaseadministration.blogspot.com/2007/01/increase-innodblogfilesize-proper-way.html\">this blog entry</a>"
    ],
    "previous_source": "",
    "target": [
        "Vor allem auf einem System mit vielen Schreibzugriffen auf InnoDB-Tabellen sollten Sie {innodb_log_file_size} auf 25% von {innodb_buffer_pool_size} setzen. Jedoch, je größer dieser Wert, desto länger wird die Wiederherstellungszeit bei Datenbank Abstürzen, so dass dieser Wert nicht viel höher als 256 MiB gesetzt werden sollte. Bitte beachten Sie jedoch, dass Sie nicht einfach den Wert dieser Variablen ändern können. Sie müssen den Server herunterfahren, die InnoDB-Logdateien löschen, den neuen Wert in my.cnf eintragen, den Server neu starten und dann das Fehlerprotokoll überprüfen, ob alles gut ging. Siehe auch <a href=\"https://mysqldatabaseadministration.blogspot.com/2007/01/increase-innodblogfilesize-proper-way.html\">diesen Blog-Eintrag</a>"
    ],
    "id_hash": -7446755646582377938,
    "content_hash": -7446755646582377938,
    "location": "libraries/advisory_rules_generic.php:615, libraries/advisory_rules_generic.php:642",
    "context": "",
    "note": "",
    "flags": "no-php-format",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 156,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 95,
    "source_unit": "https://hosted.weblate.org/api/units/67190877/?format=api",
    "priority": 100,
    "id": 67195934,
    "web_url": "https://hosted.weblate.org/translate/phpmyadmin/5-2/de/?checksum=18a7cf31ac52b22e",
    "url": "https://hosted.weblate.org/api/units/67195934/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2022-01-22T21:07:34.140913+01:00"
}