Units API.

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

GET /api/units/12050139/?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-migration/master/pt_PT/?format=api",
    "source": [
        "Failed to create a filesystem snapshot."
    ],
    "previous_source": "",
    "target": [
        "Falha ao criar uma cópia do sistema de ficheiros."
    ],
    "id_hash": -2853249299613726125,
    "content_hash": -2853249299613726125,
    "location": "src/lib/migration/main_workflow.rb:299",
    "context": "",
    "note": "create a filesystem snapshot\n@param [Symbol, String] type the type of the snapshot (:single, :pre or :post)\n@param [String] desc description of the snapshot for users\n@param [Fixnum] pre_id id of the respective \"pre\" snapshot (needed\nonly for \"post\" type snapshots)\n@return [Fixnum,nil] id of the created snapshot (nil if failed)",
    "flags": "",
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 8,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 6,
    "source_unit": "https://l10n.opensuse.org/api/units/12576407/?format=api",
    "priority": 100,
    "id": 12050139,
    "web_url": "https://l10n.opensuse.org/translate/yast-migration/master/pt_PT/?checksum=586738e110e44a53",
    "url": "https://l10n.opensuse.org/api/units/12050139/?format=api",
    "explanation": "",
    "extra_flags": ""
}