Units API

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

GET /api/units/253930/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://weblate.appinventor.mit.edu/api/translations/appinventor/component-methods/id/?format=api",
    "source": "<p>Load a feature collection in <a href=\"https://en.wikipedia.org/wiki/GeoJSON\">GeoJSON</a> format from the given url. On success, the event GotFeatures will be raised with the given url and a list of the features parsed from the GeoJSON as a list of (key, value) pairs. On failure, the LoadError event will be raised with any applicable HTTP response code and error message.</p>",
    "previous_source": "",
    "target": "<p>Muat koleksi fitur dalam format <a href=\"https://en.wikipedia.org/wiki/GeoJSON\">GeoJSON</a> dari url yang diberikan. Jika berhasil, acara MendapatFitur akan dimunculkan dengan url yang diberikan dan daftar fitur yang diurai dari GeoJSON sebagai daftar pasangan (kunci, nilai). Jika gagal, peristiwa KesalahanSaatMemuat akan dimunculkan dengan kode respons HTTP dan pesan kesalahan yang berlaku.</p>",
    "id_hash": -4160307484315289291,
    "content_hash": 3821745833133719366,
    "location": "",
    "context": "LoadFromURLMethodDescriptions",
    "comment": "",
    "flags": "",
    "fuzzy": false,
    "translated": true,
    "position": 386,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 58,
    "priority": 100,
    "id": 253930,
    "web_url": "https://weblate.appinventor.mit.edu/translate/appinventor/component-methods/id/?checksum=46439e62a0fcf935",
    "url": "https://weblate.appinventor.mit.edu/api/units/253930/?format=api",
    "source_info": "https://weblate.appinventor.mit.edu/api/sources/11776/?format=api"
}