Units API

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

GET /api/units/272984/?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/zh_Hant/?format=api",
    "source": "Indicates source file to load data from. The expected format of the contents of the file are either CSV or JSON.Prefix the filename with / to read from a specific file on the SD card. for instance /myFile.txt will read the file /sdcard/myFile.txt. To read assets packaged with an application (also works for the Companion) start the filename with // (two slashes). If a filename does not start with a slash, it will be read from the applications private storage (for packaged apps) and from /sdcard/AppInventor/data for the Companion.The results of the reading are stored in the Rows, Columns and ColumnNames properties of the component.",
    "previous_source": "",
    "target": "指定載入資料的來源檔案據。檔案內容的預期格式是CSV或JSON。檔名前加入 / 前綴代表要讀取 SD 卡中的指定檔案。例如,/myFile.txt 代表讀取 /sdcard/myFile.txt 這個檔案。要讀取與app一併打包的資源(Companion 也適用),則檔名前會加 // 。如果檔名不是以斜線開頭,則會從私有儲存空間(針對打包後的 app),或是 /sdcard/AppInventor/data (對於Companion)來讀取。讀取結果會儲存在本元件的列、欄與欄名稱等屬性中。",
    "id_hash": 552566079242426493,
    "content_hash": 556062531012955895,
    "location": "",
    "context": "ReadFileMethodDescriptions",
    "comment": "",
    "flags": "",
    "fuzzy": false,
    "translated": true,
    "position": 519,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 105,
    "priority": 100,
    "id": 272984,
    "web_url": "https://weblate.appinventor.mit.edu/translate/appinventor/component-methods/zh_Hant/?checksum=87ab1bebe42cd87d",
    "url": "https://weblate.appinventor.mit.edu/api/units/272984/?format=api",
    "source_info": "https://weblate.appinventor.mit.edu/api/sources/11909/?format=api"
}