Units API.

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

GET /api/units/1672518/?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-ldap/master/fr/?format=api",
    "source": [
        "<p>The description of attribute \"%1\":<br></p>"
    ],
    "previous_source": "",
    "target": [
        "<p>La description de l'attribut \"%1\" :<br></p>"
    ],
    "id_hash": -587753057436118545,
    "content_hash": -587753057436118545,
    "location": "src/LdapPopup.rb:287",
    "context": "",
    "note": "help text 3/3, %1 is attribute name, description follows.\nThe description will be not translated: maybe add a note\n\"available only in english\" to the sentence for other languages?\nExample:\n\"<p>The description of attribute \\\"%1\\\"<br>(available only in english):</p>\"\nor:\n\"<p>The description (only in english) of attribute \\\"%1\\\":<br></p>\"",
    "flags": "ycp-format",
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 30,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 5,
    "source_unit": "https://l10n.opensuse.org/api/units/12577397/?format=api",
    "priority": 100,
    "id": 1672518,
    "web_url": "https://l10n.opensuse.org/translate/yast-ldap/master/fr/?checksum=77d7e1b553ded1ef",
    "url": "https://l10n.opensuse.org/api/units/1672518/?format=api",
    "explanation": "",
    "extra_flags": ""
}