Units API.

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

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

{
    "translation": "http://translate.pkp.sfu.ca/api/translations/pkp-lib/installer/fr_CA/?format=api",
    "source": [
        "Leave the hostname blank to connect using domain sockets instead of over TCP/IP. This is not necessary with MySQL, which will automatically use sockets if \"localhost\" is entered, but is required with some other database servers such as PostgreSQL."
    ],
    "previous_source": "",
    "target": [
        "Laisser le nom de l'hôte de la base de données vide pour se connecter à l'aide de connecteurs logiciels de domaine au lieu de le faire par TCP/IP. Ce n'est pas nécessaire avec MySQL, qui utilisera automatiquement des connecteurs logiciels si « localhost » a été saisi, mais c'est obligatoire avec d'autres serveurs de bases de données tel que PostgreSQL."
    ],
    "id_hash": 7896301803532482496,
    "content_hash": -3414449716720077320,
    "location": "",
    "context": "installer.databaseHostInstructions",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 12,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 39,
    "source_unit": "http://translate.pkp.sfu.ca/api/units/406798/?format=api",
    "priority": 100,
    "id": 15531,
    "web_url": "http://translate.pkp.sfu.ca/translate/pkp-lib/installer/fr_CA/?checksum=ed954ca766d477c0",
    "url": "http://translate.pkp.sfu.ca/api/units/15531/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-11-19T11:46:08.972650Z"
}