Units API.

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

GET /api/units/17690187/?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/masterpagessysconfig-enabling-wifi/cs/?format=api",
    "source": [
        "variant: fcos\nversion: {butane-latest-stable-spec}\nsystemd:\n  units:\n    # Enable Wi-Fi in NetworkManager for an Intel wireless card\n    - name: rpm-ostree-install-wifi.service\n      enabled: true\n      contents: |\n        [Unit]\n        Description=Enable Wi-Fi\n        Wants=network-online.target\n        After=network-online.target\n        Before=zincati.service\n        ConditionPathExists=!/var/lib/%N.stamp\n        [Service]\n        Type=oneshot\n        RemainAfterExit=yes\n        ExecStart=/usr/bin/rpm-ostree install -y --allow-inactive NetworkManager-wifi iwlwifi-dvm-firmware\n        ExecStart=/bin/touch /var/lib/%N.stamp\n        ExecStart=/bin/systemctl --no-block reboot\n        [Install]\n        WantedBy=multi-user.target\nstorage:\n  files:\n    - path: /etc/NetworkManager/system-connections/wifi-guest.nmconnection\n      mode: 0600\n      contents:\n        inline: |\n          [connection]\n          id=wifi-guest\n          type=wifi\n          autoconnect=true\n          [wifi]\n          cloned-mac-address=permanent\n          mode=infrastructure\n          ssid=guest\n          mac-address=ab:cd:01:02:03:04\n          [wifi-security]\n          auth-alg=open\n          key-mgmt=wpa-psk\n          psk=PASSWORD\n          [ipv4]\n          method=auto\n"
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": -7849236065580453935,
    "content_hash": -7849236065580453935,
    "location": "pages/sysconfig-enabling-wifi.adoc:85",
    "context": "",
    "note": "type: delimited block -",
    "flags": "no-wrap",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 13,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 71,
    "source_unit": "https://translate.fedoraproject.org/api/units/17690186/?format=api",
    "priority": 100,
    "id": 17690187,
    "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagessysconfig-enabling-wifi/cs/?checksum=1311e962a8e46fd1",
    "url": "https://translate.fedoraproject.org/api/units/17690187/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2024-04-26T22:34:50.700559Z"
}