Units API.

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

GET /api/units/11159877/?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/sv/?format=api",
    "source": [
        "The migration to the new service pack has failed. The system is most\nlikely in an inconsistent state.\n\nWe strongly recommend to rollback to a snapshot created before the\nmigration was started (via selecting the snapshot in the boot menu\nif you use snapper) or restore the system from a backup."
    ],
    "previous_source": "",
    "target": [
        "Migreringen till det nya service pack misslyckades. Systemet är\ntroligen i ett inkonsekvent tillstånd.\n\nVi rekommenderar starkt att du återställer till ett snapshot som skapats innan\nmigreringen startades (genom att välja snapshot i startmenyn\nom du använder snapper) eller återställer systemet från en säkerhetskopia."
    ],
    "id_hash": -767613410175040770,
    "content_hash": -767613410175040770,
    "location": "src/lib/migration/main_workflow.rb:237",
    "context": "",
    "note": "TRANSLATORS: an error message, the migration to a new service pack failed\nor was aborted, the system is in partly migrated state and should be restored\nfrom a snapshot or backup",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 7,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 51,
    "source_unit": "https://l10n.opensuse.org/api/units/12576406/?format=api",
    "priority": 100,
    "id": 11159877,
    "web_url": "https://l10n.opensuse.org/translate/yast-migration/master/sv/?checksum=7558e3aba1b0c2fe",
    "url": "https://l10n.opensuse.org/api/units/11159877/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-02-03T20:27:44.712976Z"
}