Units API.

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

GET /api/units/690816/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://l10n.opensuse.org/api/translations/yast-audit-laf/master/zh_CN/?format=api",
    "source": [
        "<p>If an action is set to <i>EMAIL</i>, a warning mail will be sent to the\naccount specified in <b>Action Mail Account</b>.<br> <i>SYSLOG</i> means the\ndisk space warning will be written to /var/log/messages. <i>IGNORE</i> means\ndo nothing. <i>EXEC</i> runs the script specified in <b>Path to\nScript</b>. <i>SUSPEND</i> stops writing records to disk. <i>SINGLE</i>\nswitches the system to single user mode. <i>HALT</i> shuts down the\nsystem.</p>\n"
    ],
    "previous_source": "",
    "target": [
        "<p>如果操作设置为 <i>电子邮件</i>,会发送一封警告邮件\n给<b>操作邮件帐户</b>中指定的帐户。<br>\n<i>系统日志</i>意味着磁盘空间警告会被写入到 /var/log/messages。\n<i>忽略</i>意味着什么都不做。<i>执行</i>将运行<b>脚本路径</b>\n中指定的脚本。<i>挂起</i>停止向磁盘写入。<i>单用户</i>将\n系统切换到单用户模式。<i>关机<i>关闭系统。\n</p>\n"
    ],
    "id_hash": 7351816631038417969,
    "content_hash": 7351816631038417969,
    "location": "src/include/audit-laf/helps.rb:140",
    "context": "",
    "note": "disk space dialog hep 4/6",
    "flags": "",
    "labels": [],
    "state": 30,
    "fuzzy": false,
    "translated": true,
    "approved": true,
    "position": 105,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 64,
    "source_unit": "https://l10n.opensuse.org/api/units/12571686/?format=api",
    "priority": 100,
    "id": 690816,
    "web_url": "https://l10n.opensuse.org/translate/yast-audit-laf/master/zh_CN/?checksum=e606e6463ada9c31",
    "url": "https://l10n.opensuse.org/api/units/690816/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2016-09-15T12:48:36Z"
}