Units API

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

GET /api/units/258806/?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/lt/?format=api",
    "source": "By providing a target language to translate to (for instance, ''es'' for Spanish, ''en'' for English, or ''ru'' for Russian), and a word or sentence to translate, this method will request a translation to the Yandex.Translate service.Once the text is translated by the external service, the event GotTranslation will be executed.Note: Yandex.Translate will attempt to detect the source language. You can also specify prepending it to the language translation. I.e., es-ru will specify Spanish to Russian translation.",
    "previous_source": "",
    "target": "",
    "id_hash": -4485996998285152589,
    "content_hash": -6178476411449348379,
    "location": "",
    "context": "YandexTranslate__RequestTranslationMethodDescriptions",
    "comment": "",
    "flags": "",
    "fuzzy": false,
    "translated": false,
    "position": 810,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 77,
    "priority": 100,
    "id": 258806,
    "web_url": "https://weblate.appinventor.mit.edu/translate/appinventor/component-methods/lt/?checksum=41be897f75beaeb3",
    "url": "https://weblate.appinventor.mit.edu/api/units/258806/?format=api",
    "source_info": "https://weblate.appinventor.mit.edu/api/sources/12200/?format=api"
}