Units API.

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

GET /api/units/231500/?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": [
        "This is the description of the petition, it will be displayed in Twitter/Facebook cards when the link is posted to social networks. To be tested via https://cards-dev.twitter.com/validator and https://developers.facebook.com/tools/debug/"
    ],
    "previous_source": "",
    "target": [
        "C'est la description de la pétition, elle sera affichée dans les affichettes Twitter/Facebook quand le lien est posté sur les réseaux sociaux. A tester avec https://cards-dev.twitter.com/validator et https://developers.facebook.com/tools/debug/"
    ],
    "id_hash": 1117071037395718153,
    "content_hash": 1117071037395718153,
    "location": "pytition/petition/admin.py:89, pytition/petition/admin.py:229",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 10,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 29,
    "source_unit": "https://weblate.framasoft.org/api/units/258309/?format=api",
    "priority": 100,
    "id": 231500,
    "web_url": "https://weblate.framasoft.org/translate/pytition/pytitions/fr_FR/?checksum=8f80a230a4d95009",
    "url": "https://weblate.framasoft.org/api/units/231500/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-01-08T11:07:04.640560Z"
}