Units API.

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

GET /api/units/16788169/?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-network-configuration/en/?format=api",
    "language_code": "en",
    "source": [
        "variant: fcos\nversion: {butane-latest-stable-spec}\nstorage:\n  files:\n    - path: /etc/NetworkManager/system-connections/team0.nmconnection\n      mode: 0600\n      contents:\n        inline: |\n          [connection]\n          id=team0\n          type=team\n          interface-name=team0\n          [team]\n          config={\"runner\": {\"name\": \"activebackup\"}, \"link_watch\": {\"name\": \"ethtool\"}}\n          [ipv4]\n          dns-search=\n          may-fail=false\n          method=auto\n    - path: /etc/NetworkManager/system-connections/team0-slave-ens2.nmconnection\n      mode: 0600\n      contents:\n        inline: |\n          [connection]\n          id=team0-slave-ens2\n          type=ethernet\n          interface-name=ens2\n          master=team0\n          slave-type=team\n          [team-port]\n          config={\"prio\": 100}\n    - path: /etc/NetworkManager/system-connections/team0-slave-ens3.nmconnection\n      mode: 0600\n      contents:\n        inline: |\n          [connection]\n          id=team0-slave-ens3\n          type=ethernet\n          interface-name=ens3\n          master=team0\n          slave-type=team\n          [team-port]\n          config={\"prio\": 100}\n"
    ],
    "previous_source": "",
    "target": [
        "variant: fcos\nversion: {butane-latest-stable-spec}\nstorage:\n  files:\n    - path: /etc/NetworkManager/system-connections/team0.nmconnection\n      mode: 0600\n      contents:\n        inline: |\n          [connection]\n          id=team0\n          type=team\n          interface-name=team0\n          [team]\n          config={\"runner\": {\"name\": \"activebackup\"}, \"link_watch\": {\"name\": \"ethtool\"}}\n          [ipv4]\n          dns-search=\n          may-fail=false\n          method=auto\n    - path: /etc/NetworkManager/system-connections/team0-slave-ens2.nmconnection\n      mode: 0600\n      contents:\n        inline: |\n          [connection]\n          id=team0-slave-ens2\n          type=ethernet\n          interface-name=ens2\n          master=team0\n          slave-type=team\n          [team-port]\n          config={\"prio\": 100}\n    - path: /etc/NetworkManager/system-connections/team0-slave-ens3.nmconnection\n      mode: 0600\n      contents:\n        inline: |\n          [connection]\n          id=team0-slave-ens3\n          type=ethernet\n          interface-name=ens3\n          master=team0\n          slave-type=team\n          [team-port]\n          config={\"prio\": 100}\n"
    ],
    "id_hash": 1365914294478630292,
    "content_hash": 1365914294478630292,
    "location": "./pages/sysconfig-network-configuration.adoc:635",
    "context": "",
    "note": "type: delimited block -",
    "flags": "no-wrap",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 93,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 63,
    "source_unit": "https://translate.fedoraproject.org/api/units/16788169/?format=api",
    "priority": 100,
    "id": 16788169,
    "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagessysconfig-network-configuration/en/?checksum=92f4b3d05c06ed94",
    "url": "https://translate.fedoraproject.org/api/units/16788169/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2024-02-08T22:17:08.171691Z",
    "last_updated": "2024-02-08T22:17:08.171718Z"
}