Units API.

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

GET /api/units/510166/?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/peertube/angular/fa/?format=api",
    "source": [
        "<x id=\"START_LINK\" ctype=\"x-a\" equiv-text=\"&lt;a (click)=&quot;markAsRead(notification)&quot; [routerLink]=&quot;notification.pluginUrl&quot; [queryParams]=&quot;notification.pluginQueryParams&quot;&gt;\"/>A new version of the plugin/theme <x id=\"INTERPOLATION\" equiv-text=\"{{ notification.plugin.name }}\"/><x id=\"CLOSE_LINK\" ctype=\"x-a\" equiv-text=\"&lt;/a&gt;\"/> is available: <x id=\"INTERPOLATION_1\" equiv-text=\"{{ notification.plugin.latestVersion }}\"/> "
    ],
    "previous_source": "",
    "target": [
        "<x id=\"START_LINK\" ctype=\"x-a\" equiv-text=\"&lt;a (click)=&quot;markAsRead(notification)&quot; [routerLink]=&quot;notification.pluginUrl&quot; [queryParams]=&quot;notification.pluginQueryParams&quot;&gt;\"/>نسخه جدیدی از افزونه / طرح زمینه <x id=\"INTERPOLATION\" equiv-text=\"{{ notification.plugin.name }}\"/><x id=\"CLOSE_LINK\" ctype=\"x-a\" equiv-text=\"&lt;/a&gt;\"/>موجود است: <x id=\"INTERPOLATION_1\" equiv-text=\"{{ notification.plugin.latestVersion }}\"/> "
    ],
    "id_hash": 8931514052426675095,
    "content_hash": 8931514052426675095,
    "location": "src/app/shared/standalone-notifications/user-notifications.component.html:196",
    "context": "363592786729553688",
    "note": "",
    "flags": "xml-text",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 56,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 27,
    "source_unit": "https://weblate.framasoft.org/api/units/499644/?format=api",
    "priority": 100,
    "id": 510166,
    "web_url": "https://weblate.framasoft.org/translate/peertube/angular/fa/?checksum=fbf31cb5a14d3397",
    "url": "https://weblate.framasoft.org/api/units/510166/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-05-27T14:47:25.787753Z"
}