Units API.

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

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

{
    "translation": "https://l10n.xwiki.org/api/translations/xwiki-platform/xwiki-documenttreetranslations/fr/?format=api",
    "source": [
        "Whether to show the root node or not. The root node is not shown by default because it is usually implied from the context where the tree is displayed (e.g. a label before the tree). There are some cases though when you may want to display the root node: to be able to create a new node under the root."
    ],
    "previous_source": "",
    "target": [
        "Affiche ou non la racine. Par défaut la racine est masquée car le contexte dans lequel est affichée l’arborescence donne suffisamment d'indications (par exemple présence d'un titre au dessus de l’arborescence)."
    ],
    "id_hash": -4568371054881736599,
    "content_hash": 1356286887388869312,
    "location": "",
    "context": "rendering.macro.documentTree.parameter.showRoot.description",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 24,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 60,
    "source_unit": "https://l10n.xwiki.org/api/units/126748/?format=api",
    "priority": 100,
    "id": 126796,
    "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-documenttreetranslations/fr/?checksum=4099e2bad798f869",
    "url": "https://l10n.xwiki.org/api/units/126796/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2018-05-01T21:46:28.651000Z"
}