Units API

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

GET /api/units/318223/?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-properties/zh_Hant/?format=api",
    "source": "The index of the currently selected item, starting at 1. If no item is selected, the value will be 0. If an attempt is made to set this to a number less than 1 or greater than the number of items in the ListPicker, SelectionIndex will be set to 0, and Selection will be set to the empty text.",
    "previous_source": "",
    "target": "所選擇項目的索引值,由1開始。如果未選擇項目,本值為0。如果把本值設為小於量0或大於本元件元素數量的數字,「選中項索引」值將為0,而「選中項索引」將為空字串。",
    "id_hash": 7009084277703731643,
    "content_hash": 7554115104070412816,
    "location": "",
    "context": "ListPicker__SelectionIndexPropertyDescriptions",
    "comment": "",
    "flags": "",
    "fuzzy": false,
    "translated": true,
    "position": 623,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 59,
    "priority": 100,
    "id": 318223,
    "web_url": "https://weblate.appinventor.mit.edu/translate/appinventor/component-properties/zh_Hant/?checksum=e1454503cd4e69bb",
    "url": "https://weblate.appinventor.mit.edu/api/units/318223/?format=api",
    "source_info": "https://weblate.appinventor.mit.edu/api/sources/13126/?format=api"
}