Units API.

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

GET /api/units/14178673/?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/uyuni/spacecmd-4-3/zh_CN/?format=api",
    "source": [
        "usage: proxy_container_config [options] PROXY_FQDN SERVER_FQDN MAX_CACHE EMAIL ROOT_CA CRT KEY\n\nparameters:\n  PROXY_FQDN  the unique, DNS-resolvable FQDN of this proxy. It should be different from any registered clients.\n  SERVER_FQDN the fully qualified domain name of the server to connect to proxy to.\n  MAX_CACHE   the maximum cache size in MB. 60% of the storage is a good value.\n  EMAIL       the email of the proxy administrator\n  CA          path to the root CA used to sign the proxy certificate in PEM format\n  CRT         path to the proxy certificate in PEM format\n  KEY         path to the proxy certificate private key in PEM format\n\noptions:\n  -o, --output Path where to create the generated configuration. Default: 'config.tar.gz'\n  -p, --ssh-port SSH port the proxy listens one. Default: 8022\n  -i, --intermediate-ca  Path to an intermediate CA used to sign the proxy\n            certicate in PEM format. May be provided multiple times.\n\nexamples:\n  proxy_container_config -o config.zip proxy.lab server.lab 1024 proxy@acme.org root_ca.crt proxy.crt proxy.key\n"
    ],
    "previous_source": "",
    "target": [
        "% o用法:proxy_container_config [选项] PROXY_FQDN SERVER_FQDN MAX_CACHE EMAIL ROOT_CA CRT KEY\n\n参数:\n  PROXY_FQDN  此代理的唯一且可由 DNS 解析的完全限定域名。必须与任何已注册的客户端均不同。\n  SERVER_FQDN 代理要连接到的服务器的完全限定域名。\n  MAX_CACHE   最大缓存大小(以 MB 为单位)。理想值为存储空间的 60%。\n  EMAIL       代理管理员的电子邮件\n  CA          用于为 PEM 格式的代理证书签名的根 CA 的路径\n  CRT         PEM 格式的代理证书的路径\n  KEY         PEM 格式的代理证书私用密钥的路径\n\n选项:\n  -o、--output 用于创建生成的配置的路径。默认值为 \"config.tar.gz\"\n  -p、--ssh-port 代理要侦听的 SSH 端口。默认端口为 8022\n  -i、--intermediate-ca  用于为 PEM 格式代理证书签名的中间 CA 的路径。\n            可以提供多次。\n\n示例:\n  proxy_container_config -o config.zip proxy.lab server.lab 1024 proxy@acme.org root_ca.crt proxy.crt proxy.key\n"
    ],
    "id_hash": 1846675922758587567,
    "content_hash": 1846675922758587567,
    "location": "../src/spacecmd/proxy.py:33",
    "context": "",
    "note": "",
    "flags": "python-format",
    "labels": [],
    "state": 30,
    "fuzzy": false,
    "translated": true,
    "approved": true,
    "position": 807,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 152,
    "source_unit": "https://l10n.opensuse.org/api/units/14178629/?format=api",
    "priority": 100,
    "id": 14178673,
    "web_url": "https://l10n.opensuse.org/translate/uyuni/spacecmd-4-3/zh_CN/?checksum=99a0b5f7b74ad4af",
    "url": "https://l10n.opensuse.org/api/units/14178673/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2022-11-25T15:45:19.859372Z"
}