Unit Instance
Units API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/units/109166/?format=api
{ "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_fdp-primer/en/?format=api", "source": [ "<tag class=\"starttag\">p</tag>This is a paragraph. It starts with the start tag for\n the 'p' element, and it will end with the end tag for the 'p'\n element.<tag class=\"endtag\">p</tag>\n\n<tag class=\"starttag\">p</tag>This is another paragraph. But this one is much shorter.<tag class=\"endtag\">p</tag>" ], "previous_source": "", "target": [ "<tag class=\"starttag\">p</tag>This is a paragraph. It starts with the start tag for\n the 'p' element, and it will end with the end tag for the 'p'\n element.<tag class=\"endtag\">p</tag>\n\n<tag class=\"starttag\">p</tag>This is another paragraph. But this one is much shorter.<tag class=\"endtag\">p</tag>" ], "id_hash": -1465172082223434935, "content_hash": -1465172082223434935, "location": "book.translate.xml:2258", "context": "", "note": "(itstool) path: example/programlisting", "flags": "no-wrap", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 373, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 40, "source_unit": "https://translate-dev.freebsd.org/api/units/109166/?format=api", "priority": 100, "id": 109166, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_fdp-primer/en/?checksum=6baaa9c10840b349", "url": "https://translate-dev.freebsd.org/api/units/109166/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2019-10-20T12:25:10.578159Z" }