Units API.

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

GET /api/units/907042/?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/fr_FR/?format=api",
    "source": [
        "<x id=\"START_PARAGRAPH\" ctype=\"x-p\" equiv-text=\"&lt;p class=&quot;mb-2&quot;&gt;\"/>Write JavaScript code directly. Example:<x id=\"CLOSE_PARAGRAPH\" ctype=\"x-p\" equiv-text=\"&lt;/p&gt;\"/><x id=\"START_TAG_PRE\" ctype=\"x-pre\" equiv-text=\"&lt;pre&gt;\"/>console.log('my instance is amazing');<x id=\"CLOSE_TAG_PRE\" ctype=\"x-pre\" equiv-text=\"&lt;/pre&gt;\"/>"
    ],
    "previous_source": "",
    "target": [
        "<x id=\"START_PARAGRAPH\" ctype=\"x-p\" equiv-text=\"&lt;p class=&quot;mb-2&quot;&gt;\"/>Écrire directement du code JavaScript. Par exemple :<x id=\"CLOSE_PARAGRAPH\" ctype=\"x-p\" equiv-text=\"&lt;/p&gt;\"/><x id=\"START_TAG_PRE\" ctype=\"x-pre\" equiv-text=\"&lt;pre&gt;\"/>console.log('mon instance est fantastique');<x id=\"CLOSE_TAG_PRE\" ctype=\"x-pre\" equiv-text=\"&lt;/pre&gt;\"/>"
    ],
    "id_hash": -8754354864052998356,
    "content_hash": -8754354864052998356,
    "location": "src/app/+admin/config/edit-custom-config/edit-advanced-configuration.component.html:91,92",
    "context": "7207368259170794965",
    "note": "",
    "flags": "xml-text",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 1076,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 21,
    "source_unit": "https://weblate.framasoft.org/api/units/906818/?format=api",
    "priority": 100,
    "id": 907042,
    "web_url": "https://weblate.framasoft.org/translate/peertube/angular/fr_FR/?checksum=068248a23a686f2c",
    "url": "https://weblate.framasoft.org/api/units/907042/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-10-12T13:26:23.613825Z"
}