Units API

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

GET /api/units/242800/?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/ca/?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>Carrega una col·lecció d''objectes en format <a href=\"https://ca.wikipedia.org/wiki/GeoJSON\">GeoJSON</a> a partir de l''url indicat. Si funciona correctament es produeix l''esdeveniment Objectes obtinguts amb l''url indicat i una llista dels objectes GeoJSON en format de llista de parelles (clau, valor). Si no funciona correctament es produeix l''esdeveniment Error de càrrega amb qualsevol codi_resposta i missatge d''error HTTP aplicables.</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": 242800,
    "web_url": "https://weblate.appinventor.mit.edu/translate/appinventor/component-methods/ca/?checksum=46439e62a0fcf935",
    "url": "https://weblate.appinventor.mit.edu/api/units/242800/?format=api",
    "source_info": "https://weblate.appinventor.mit.edu/api/sources/11776/?format=api"
}