Unit Instance
Units API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/units/689998/?format=api
https://translation.chamilo.org/api/translations/chamilo/messages/en/?format=api", "source": [ "" ], "previous_source": "", "target": [ "Content Security Policy is an effective measure to protect your site from XSS attacks. By whitelisting sources of approved content, you can prevent the browser from loading malicious assets. This setting is particularly complicated to set with WYSIWYG editors, but if you add all domains that you want to authorize for iframes inclusion in the child-src statement, this example should work for you. You can prevent JavaScript from executing from external sources (including inside SVG images) by using a strict list in the 'script-src' argument. Leave blank to disable. Example setting: default-src 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; child-src 'self' *.youtube.com yt.be *.vimeo.com *.slideshare.com;" ], "id_hash": 6534351302092087168, "content_hash": 6534351302092087168, "location": "", "context": "Content Security Policy is an effective measure to protect your site from XSS attacks. By whitelisting sources of approved content, you can prevent the browser from loading malicious assets. This setting is particularly complicated to set with WYSIWYG editors, but if you add all domains that you want to authorize for iframes inclusion in the child-src statement, this example should work for you. You can prevent JavaScript from executing from external sources (including inside SVG images) by using a strict list in the 'script-src' argument. Leave blank to disable. Example setting: default-src 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; child-src 'self' *.youtube.com yt.be *.vimeo.com *.slideshare.com;", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 8998, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 0, "source_unit": "https://translation.chamilo.org/api/units/689998/?format=api", "priority": 100, "id": 689998, "web_url": "https://translation.chamilo.org/translate/chamilo/messages/en/?checksum=daaeade386cf5f80", "url": "https://translation.chamilo.org/api/units/689998/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-04-15T22:22:15.062747Z" }{ "translation": "