Units API.

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

GET /api/units/126794/?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": [
        "The root node id. This is useful if you want to display only the descendants of a given node (which is the specified root). The tree displays the children of the root node on the first level, so the root node is not actually displayed. The entire tree is displayed if the root node is not specified. The format of a node identifier is entityType:entityReference, where the entity type can be for instance wiki, space, document. E.g.: wiki:xwiki, space:xwiki:Main, document:xwiki:Main.WebHome"
    ],
    "previous_source": "",
    "target": [
        "L'identifiant du noeud de la racine. C'est utile si vous souhaitez afficher uniquement les descendants d'un noeud donné (qui est la racine spécifiée). L'arbre affiche les enfants du noeud racine sur le premier niveau, de sorte que le noeud racine n'est pas réellement affiché. L'arbre entier s'affiche si le noeud racine n'est pas spécifié. Le format d'un identificateur de noeud est entityType: EntityReference, où le type d'entité peut être par exemple wiki, espace, document. Par exemple: wiki:xwiki, space:xwiki:Main, document:xwiki:Main.WebHome"
    ],
    "id_hash": 3004162129593239429,
    "content_hash": -2724598878418100676,
    "location": "",
    "context": "rendering.macro.documentTree.parameter.root.description",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 22,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 80,
    "source_unit": "https://l10n.xwiki.org/api/units/126746/?format=api",
    "priority": 100,
    "id": 126794,
    "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-documenttreetranslations/fr/?checksum=a9b0ed8a46160785",
    "url": "https://l10n.xwiki.org/api/units/126794/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2018-05-01T21:46:28.523000Z"
}