Units API.

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

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

{
    "translation": "https://translate.webtrees.net/api/translations/webtrees/webtrees-20/en/?format=api",
    "source": [
        "%s year",
        "%s years"
    ],
    "previous_source": "",
    "target": [
        "%s year",
        "%s years"
    ],
    "id_hash": -1830017883500409682,
    "content_hash": -1830017883500409682,
    "location": "app/Age.php:112, app/Elements/AgeAtEvent.php:88, app/Functions/FunctionsDate.php:66, app/Functions/FunctionsPrint.php:266, app/Statistics/Repository/FamilyRepository.php:351, app/Statistics/Repository/IndividualRepository.php:964, resources/views/modules/relatives/family.phtml:194, resources/views/modules/statistics-chart/custom.phtml:141, resources/views/modules/statistics-chart/custom.phtml:150",
    "context": "",
    "note": "",
    "flags": "php-format",
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 1,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 2,
    "source_unit": "https://translate.webtrees.net/api/units/1/?format=api",
    "priority": 100,
    "id": 1,
    "web_url": "https://translate.webtrees.net/translate/webtrees/webtrees-20/en/?checksum=669a786e49588cae",
    "url": "https://translate.webtrees.net/api/units/1/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2022-12-10T11:48:43.008718Z"
}