Units API

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

GET /api/units/271871/?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_Hans/?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。若读取素材文件,前缀使用//(两个斜杠)。若文件名没有以/开头,表示读取应用的私有目录(打包的应用中),或者 /sdcard/AppInventor/data(AI伴侣中)。读取的数据存储在行列表,列列表和列名列表中。",
    "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": 271871,
    "web_url": "https://weblate.appinventor.mit.edu/translate/appinventor/component-methods/zh_Hans/?checksum=87ab1bebe42cd87d",
    "url": "https://weblate.appinventor.mit.edu/api/units/271871/?format=api",
    "source_info": "https://weblate.appinventor.mit.edu/api/sources/11909/?format=api"
}