Units API.

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

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

{
    "translation": "https://l10n.opensuse.org/api/translations/yast-add-on/master/en/?format=api",
    "source": [
        "No product found in the repository."
    ],
    "previous_source": "",
    "target": [
        "No product found in the repository."
    ],
    "id_hash": 8692595707389072196,
    "content_hash": 8692595707389072196,
    "location": "src/include/add-on/add-on-workflow.rb:453, src/include/add-on/add-on-workflow.rb:1373, src/include/add-on/add-on-workflow.rb:1384",
    "context": "",
    "note": "table cell\nList of all selected repositories\n\n\n**Structure:**\n\nadd_on_products = [\n$[\n\"media\" : 4, // ID of the source\n\"product_dir\" : \"/\",\n\"product\" : \"openSUSE version XX.Y\",\n\"autoyast_product\" : \"'PRODUCT' tag for AutoYaST Export\",\n\"media_url\" : \"Zypp URL of the product\",\n],\n...\n]",
    "flags": "",
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 26,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 6,
    "source_unit": "https://l10n.opensuse.org/api/units/12571171/?format=api",
    "priority": 100,
    "id": 12571171,
    "web_url": "https://l10n.opensuse.org/translate/yast-add-on/master/en/?checksum=f8a24dbd9302d344",
    "url": "https://l10n.opensuse.org/api/units/12571171/?format=api",
    "explanation": "",
    "extra_flags": ""
}