Units API.

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

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

{
    "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesstorage/cs/?format=api",
    "source": [
        "variant: fcos\nversion: {butane-latest-stable-spec}\nstorage:\n  disks:\n  # This defines two partitions, each on its own disk. The disks are\n  # identified by their WWN.\n  - device: /dev/disk/by-id/wwn-0x50014ee261e524e4\n    wipe_table: true\n    partitions:\n    -\n      # Each partition gets a human-readable label.\n      label: \"raid.1.1\"\n      # Each partition is placed at the beginning of the disk and is 64 GiB\n      # long.\n      number: 1\n      size_mib: 65536\n      start_mib: 0\n  - device: /dev/disk/by-id/wwn-0x50014ee0b8442cd3\n    wipe_table: true\n    partitions:\n    - label: \"raid.1.2\"\n      number: 1\n      size_mib: 65536\n      start_mib: 0\n  # We use the previously defined partitions as devices in a RAID1 md array.\n  raid:\n    - name: publicdata\n      level: raid1\n      devices:\n      - /dev/disk/by-partlabel/raid.1.1\n      - /dev/disk/by-partlabel/raid.1.2\n  # The resulting md array is used to create an EXT4 filesystem.\n  filesystems:\n    - path: /var/publicdata\n      device: /dev/md/publicdata\n      format: ext4\n      label: PUB\n      with_mount_unit: true\n"
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": -4307926499116842595,
    "content_hash": -4307926499116842595,
    "location": "pages/storage.adoc:245",
    "context": "",
    "note": "type: delimited block -",
    "flags": "no-wrap",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 40,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 127,
    "source_unit": "https://translate.fedoraproject.org/api/units/16788015/?format=api",
    "priority": 100,
    "id": 17277174,
    "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesstorage/cs/?checksum=44372bac65a6019d",
    "url": "https://translate.fedoraproject.org/api/units/17277174/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2024-02-20T16:38:59.930122Z"
}