Unit Instance
Units API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/units/11906503/?format=api
https://l10n.opensuse.org/api/translations/uyuni/docs-retail-master/es/?format=api", "source": [ "branches:\n# there are 2 possible setups: with / without dedicated NIC\n#\n# with dedicated NIC\n branchserver1.branch1.cz: # salt ID of branch server\n branch_prefix: branch1 # optional, default guessed from salt id\n server_name: branchserver1 # optional, default guessed from salt id\n server_domain: branch1.cz # optional, default guessed from salt id\n nic: eth1 # nic used for connecting terminals, default taken from hw info in SUMA\n dedicated_nic: true # set to true if the terminals are on separate network\n salt_cname: branchserver1.branch1.cz # hostname of salt master / broker for terminals, mandatory\n configure_firewall: true # modify firewall configuration\n branch_ip: 192.168.2.1 # default for dedicated NIC: 192.168.1.1\n netmask: 255.255.255.0 # default for dedicated NIC: 255.255.255.0\n dyn_range: # default for dedicated NIC: 192.168.1.10 - 192.168.1.250\n - 192.168.2.10\n - 192.168.2.250\n# without dedicated NIC\n# the DHCP formula is not used, DHCP is typically provided by a router\n# the network parameters can be autodetected if the machine is already connected to SUSE Manager\n branchserver2.branch2.cz: # salt ID of branch server\n branch_prefix: branch2 # optional, default guessed from salt id\n server_name: branchserver2 # optional, default guessed from salt id\n server_domain: branch2.cz # optional, default guessed from salt id\n salt_cname: branchserver2.branch1.cz # FQDN of salt master / broker for terminals, mandatory\n branch_ip: 192.168.2.1 # optional, default taken from SUMA data if the machine is registered\n netmask: 255.255.255.0 # optional, default taken from SUMA data if the machine is registered\n exclude_formulas: # optional, do not configure listed formulas\n - dhcp # without dedicated NIC the dhcp service is typically provided by a router\n hwAddress: 11:22:33:44:55:66 # optional, required to connect pre-configured entry with particular machine\n # during onboarding\n terminals: # configuration of static terminal entries\n hostname1: # hostname\n hwAddress: aa:aa:aa:bb:bb:bb # required as unique id of a terminal\n IP: 192.168.2.50 # required for static dhcp and dns entry\n saltboot: # optional, alternative 1: configure terminal-specific pillar data\n partitioning: # partitioning pillar as described in saltboot documentation\n disk1:\n device: /dev/sda\n disklabel: msdos\n partitions:\n p1:\n flags: swap\n format: swap\n size_MiB: 2000.0\n p2:\n image: POS_Image_JeOS6\n mountpoint: /\n type: DISK\n hostname2: # hostname\n hwAddress: aa:aa:aa:bb:bb:cc # required as unique id of a terminal\n IP: 192.168.2.51 # required for static dhcp and dns entry\n hwtype: IBMCORPORATION-4838910 # optional, alternative 2: assign the terminal to hwtype group\n # if neither of hwtype nor saltboot is specified, a group is assigned according to hwtype\n # reported by bios on the first boot\nhwtypes:\n IBMCORPORATION-4838910: # HWTYPE string (manufacturer-model) as returned by bios\n description: 4838-910 # freetext description\n saltboot:\n partitioning: # partitioning pillar as described in saltboot documentation\n disk1:\n device: /dev/sda\n disklabel: msdos\n partitions:\n p1:\n flags: swap\n format: swap\n size_MiB: 1000.0\n p2:\n image: POS_Image_JeOS6\n mountpoint: /\n type: DISK\n TOSHIBA-6140100:\n description: HWTYPE:TOSHIBA-6140100\n saltboot:\n partitioning:\n disk1:\n device: /dev/sda\n disklabel: msdos\n partitions:\n p1:\n flags: swap\n format: swap\n size_MiB: 1000.0\n p2:\n image: POS_Image_JeOS6\n mountpoint: /\n type: DISK\n" ], "previous_source": "", "target": [ "" ], "id_hash": -1060067149082270882, "content_hash": -1060067149082270882, "location": "modules/retail/pages/retail-mass-config-yaml.adoc:4", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 734, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 469, "source_unit": "https://l10n.opensuse.org/api/units/12707416/?format=api", "priority": 100, "id": 11906503, "web_url": "https://l10n.opensuse.org/translate/uyuni/docs-retail-master/es/?checksum=7149e28b5ce3e35e", "url": "https://l10n.opensuse.org/api/units/11906503/?format=api", "explanation": "", "extra_flags": "" }{ "translation": "