Unit Instance
Units API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/units/231205/?format=api
{ "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_handbook/pt_BR/?format=api", "source": [ "# User alias specification\n\n# define which users can run the wine/windows programs\nUser_Alias WINDOWS_USERS = user1,user2\n\n# define which users can administrate (become root)\nUser_Alias ADMIN = user1\n\n# Cmnd alias specification\n\n# define which commands the WINDOWS_USERS may run\nCmnd_Alias WINDOWS = /usr/bin/wine,/usr/bin/winecfg\n\n# Defaults\nDefaults:WINDOWS_USERS env_reset\nDefaults:WINDOWS_USERS env_keep += DISPLAY\nDefaults:WINDOWS_USERS env_keep += XAUTHORITY\nDefaults !lecture,tty_tickets,!fqdn\n\n# User privilege specification\nroot ALL=(ALL) ALL\n\n# Members of the admin user_alias, defined above, may gain root privileges\nADMIN ALL=(ALL) ALL\n\n# The WINDOWS_USERS may run WINDOWS programs as user windows without a password\nWINDOWS_USERS ALL = (windows) NOPASSWD: WINDOWS" ], "previous_source": "", "target": [ "# User alias specification\n\n# define which users can run the wine/windows programs\nUser_Alias WINDOWS_USERS = user1,user2\n\n# define which users can administrate (become root)\nUser_Alias ADMIN = user1\n\n# Cmnd alias specification\n\n# define which commands the WINDOWS_USERS may run\nCmnd_Alias WINDOWS = /usr/bin/wine,/usr/bin/winecfg\n\n# Defaults\nDefaults:WINDOWS_USERS env_reset\nDefaults:WINDOWS_USERS env_keep += DISPLAY\nDefaults:WINDOWS_USERS env_keep += XAUTHORITY\nDefaults !lecture,tty_tickets,!fqdn\n\n# User privilege specification\nroot ALL=(ALL) ALL\n\n# Members of the admin user_alias, defined above, may gain root privileges\nADMIN ALL=(ALL) ALL\n\n# The WINDOWS_USERS may run WINDOWS programs as user windows without a password\nWINDOWS_USERS ALL = (windows) NOPASSWD: WINDOWS" ], "id_hash": -2898436292692489145, "content_hash": -2898436292692489145, "location": "book.translate.xml:21031", "context": "", "note": "(itstool) path: sect2/programlisting", "flags": "no-wrap", "labels": [], "state": 10, "fuzzy": true, "translated": false, "approved": false, "position": 3454, "has_suggestion": false, "has_comment": false, "has_failing_check": true, "num_words": 100, "source_unit": "https://translate-dev.freebsd.org/api/units/229777/?format=api", "priority": 100, "id": 231205, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_handbook/pt_BR/?checksum=57c6af8c61f6cc47", "url": "https://translate-dev.freebsd.org/api/units/231205/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-01-09T14:43:15.409670Z" }