Units API.

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

GET /api/units/32510673/?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/officelife/validation/fr/?format=api",
    "source": [
        "custom-message"
    ],
    "previous_source": "",
    "target": [
        "custom-message"
    ],
    "id_hash": 697037782794230442,
    "content_hash": -7850524582678034387,
    "location": "",
    "context": "return[]->'custom'[]->'attribute-name'[]->'rule-name'",
    "note": "/*\n    |--------------------------------------------------------------------------\n    | Custom Validation Language Lines\n    |--------------------------------------------------------------------------\n    |\n    | Here you may specify custom validation messages for attributes using the\n    | convention \"attribute.rule\" to name the lines. This makes it quick to\n    | specify a specific custom language line for a given attribute rule.\n    |\n    */\n",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 93,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 1,
    "source_unit": "https://hosted.weblate.org/api/units/32508411/?format=api",
    "priority": 100,
    "id": 32510673,
    "web_url": "https://hosted.weblate.org/translate/officelife/validation/fr/?checksum=89ac602b9e79daaa",
    "url": "https://hosted.weblate.org/api/units/32510673/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-05-26T10:45:32.988146+02:00"
}