Units API.

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

GET /api/units/32542292/?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/ru/?format=api",
    "source": [
        "The :attribute must be accepted."
    ],
    "previous_source": "",
    "target": [
        "Вы должны принять :attribute."
    ],
    "id_hash": -21595666524257059,
    "content_hash": 6339191108500605235,
    "location": "",
    "context": "return[]->'accepted'",
    "note": "/*\n    |--------------------------------------------------------------------------\n    | Validation Language Lines\n    |--------------------------------------------------------------------------\n    |\n    | The following language lines contain the default error messages used by\n    | the validator class. Some of these rules have multiple versions such\n    | as the size rules. Feel free to tweak each of these messages here.\n    |\n    */\n/*\n|--------------------------------------------------------------------------\n| Validation Language Lines\n|--------------------------------------------------------------------------\n|\n| The following language lines contain the default error messages used by\n| the validator class. Some of these rules have multiple versions such\n| as the size rules. Feel free to tweak each of these messages here.\n|\n*/",
    "flags": "",
    "labels": [],
    "state": 10,
    "fuzzy": true,
    "translated": false,
    "approved": false,
    "position": 1,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 5,
    "source_unit": "https://hosted.weblate.org/api/units/32508174/?format=api",
    "priority": 100,
    "id": 32542292,
    "web_url": "https://hosted.weblate.org/translate/officelife/validation/ru/?checksum=7fb346db102244dd",
    "url": "https://hosted.weblate.org/api/units/32542292/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-05-27T19:32:21.378519+02:00"
}