Units API.

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

GET /api/units/17574053/?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/pt_BR/?format=api",
    "source": [
        "variant: fcos\nversion: {butane-latest-stable-spec}\nboot_device:\n  luks:\n    tpm2: true\n  mirror:\n    devices:\n      - /dev/sda\n      - /dev/sdb\nstorage:\n  disks:\n    - device: /dev/sda\n      partitions:\n        # Override size of root partition on first disk, via the label\n        # generated for boot_device.mirror\n        - label: root-1\n          size_mib: 10240\n        # Add a new partition filling the remainder of the disk\n        - label: var-1\n    - device: /dev/sdb\n      partitions:\n        # Similarly for second disk\n        - label: root-2\n          size_mib: 10240\n        - label: var-2\n  raid:\n    - name: md-var\n      level: raid1\n      devices:\n        - /dev/disk/by-partlabel/var-1\n        - /dev/disk/by-partlabel/var-2\n  luks:\n    - name: var\n      device: /dev/md/md-var\n      # No key material is specified, so a random key will be generated\n      # and stored in the root filesystem\n  filesystems:\n    - device: /dev/mapper/var\n      path: /var\n      label: var\n      format: xfs\n      wipe_filesystem: true\n      with_mount_unit: true\n"
    ],
    "previous_source": "variant: fcos\nversion: 1.3.0\nboot_device:\n  luks:\n    tpm2: true\n  mirror:\n    devices:\n      - /dev/sda\n      - /dev/sdb\nstorage:\n  disks:\n    - device: /dev/sda\n      partitions:\n        # Override size of root partition on first disk, via the label\n        # generated for boot_device.mirror\n        - label: root-1\n          size_mib: 8192\n        # Add a new partition filling the remainder of the disk\n        - label: var-1\n    - device: /dev/sdb\n      partitions:\n        # Similarly for second disk\n        - label: root-2\n          size_mib: 8192\n        - label: var-2\n  raid:\n    - name: md-var\n      level: raid1\n      devices:\n        - /dev/disk/by-partlabel/var-1\n        - /dev/disk/by-partlabel/var-2\n  luks:\n    - name: var\n      device: /dev/md/md-var\n      # No key material is specified, so a random key will be generated\n      # and stored in the root filesystem\n  filesystems:\n    - device: /dev/mapper/var\n      path: /var\n      label: var\n      format: xfs\n      wipe_filesystem: true\n      with_mount_unit: true\n",
    "target": [
        "variant: fcos\nversion: 1.3.0\nboot_device:\n  luks:\n    tpm2: true\n  mirror:\n    devices:\n      - /dev/sda\n      - /dev/sdb\nstorage:\n  disks:\n    - device: /dev/sda\n      partitions:\n        # Substitui o tamanho da partição raiz no primeiro disco,\n        # por meio do rótulo gerado para boot_device.mirror\n        - label: root-1\n          size_mib: 8192\n        # Adiciona uma nova partição preenchendo o restante do disco\n        - label: var-1\n    - device: /dev/sdb\n      partitions:\n        # Da mesma forma para o segundo disco\n        - label: root-2\n          size_mib: 8192\n        - label: var-2\n  raid:\n    - name: md-var\n      level: raid1\n      devices:\n        - /dev/disk/by-partlabel/var-1\n        - /dev/disk/by-partlabel/var-2\n  luks:\n    - name: var\n      device: /dev/md/md-var\n      # Nenhum material de chave é especificado, então uma chave aleatória\n      # será gerada e armazenada no sistema de arquivos raiz\n  filesystems:\n    - device: /dev/mapper/var\n      path: /var\n      label: var\n      format: xfs\n      wipe_filesystem: true\n      with_mount_unit: true\n"
    ],
    "id_hash": 4273302927958620587,
    "content_hash": 4273302927958620587,
    "location": "pages/storage.adoc:549",
    "context": "",
    "note": "type: delimited block -",
    "flags": "no-wrap",
    "labels": [],
    "state": 10,
    "fuzzy": true,
    "translated": false,
    "approved": false,
    "position": 91,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 123,
    "source_unit": "https://translate.fedoraproject.org/api/units/17573967/?format=api",
    "priority": 100,
    "id": 17574053,
    "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesstorage/pt_BR/?checksum=bb4dd25f3e9c39ab",
    "url": "https://translate.fedoraproject.org/api/units/17574053/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2024-04-24T22:26:50.221223Z"
}