Units API.

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

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

{
    "translation": "https://weblate.framasoft.org/api/translations/pytition/pytitions/fr_FR/?format=api",
    "source": [
        "If checked, the petition is published and accessible on the website by everybody. If not checked, the petition is only accessible by logged in users, others will get a 404 error."
    ],
    "previous_source": "",
    "target": [
        "Si coché, la pétition est publiée et accessible sur le site web par tout le monde. Si non coché, la pétition est seulement accessible par un utilisateur identifié, les autres verront une erreur HTTP 404."
    ],
    "id_hash": -8223128280876405128,
    "content_hash": -8223128280876405128,
    "location": "pytition/petition/admin.py:106, pytition/petition/admin.py:246",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 20,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 31,
    "source_unit": "https://weblate.framasoft.org/api/units/258148/?format=api",
    "priority": 100,
    "id": 231510,
    "web_url": "https://weblate.framasoft.org/translate/pytition/pytitions/fr_FR/?checksum=0de1946583e4ae78",
    "url": "https://weblate.framasoft.org/api/units/231510/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-01-08T11:07:04.818459Z"
}