Units API.

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

GET /api/units/14178646/?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/ja/?format=api",
    "source": [
        "usage: proxy_container_config_generate_cert PROXY_FQDN SERVER_FQDN MAX_CACHE EMAIL\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\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  --ca-crt path to the certificate of the CA to use to generate a new proxy certificate.\n           Using /root/ssl-build/RHN-ORG-TRUSTED-SSL-CERT by default.\n  --ca-key path to the private key of the CA to use to generate a new proxy certificate.\n           Using /root/ssl-build/RHN-ORG-PRIVATE-SSL-KEY by default.\n  --ca-pass path to a file containing the password of the CA private key, will be prompted if not passed.\n  --ssl-cname alternate name of the proxy to set in the certificate. Can be provided multiple times\n  --ssl-country country code to set in the certificate. If omitted, default values from mgr-ssl-tool will be used.\n  --ssl-state state name to set in the certificate. If omitted, default values from mgr-ssl-tool will be used.\n  --ssl-city the city name to set in the certificate. If omitted, default values from mgr-ssl-tool will be used.\n  --ssl-org the organization name to set in the certificate. If omitted, default values from mgr-ssl-tool will be used.\n  --ssl-org-unit the organization unit name to set in the certificate. If omitted, default values from mgr-ssl-tool will be used.\n  --ssl-email the email to set in the certificate. If omitted, default values from mgr-ssl-tool will be used.\n\nexamples:\n  proxy_container_config proxy.lab server.lab 1024 proxy@acme.org --ca-pass password-file\n"
    ],
    "previous_source": "",
    "target": [
        "使用方法: proxy_container_config_generate_cert PROXY_FQDN SERVER_FQDN MAX_CACHE EMAIL\n\nパラメータ:\n  PROXY_FQDN  このプロキシの固有なDNS解決可能なFQDN。登録済みのクライアントとは異なる必要があります。\n  SERVER_FQDN プロキシに接続するサーバの完全修飾ドメイン名。\n  MAX_CACHE   最大キャッシュサイズ(MB単位)。ストレージの60%は適切な値です。\n  EMAIL        プロキシ管理者の電子メール\n\nオプション:\n  -o, --output 生成された設定を作成するパス。デフォルト: 「config.tar.gz」\n  -p, --ssh-port プロキシがリスンするSSHポート。デフォルト: 8022\n  --ca-crt 新しいプロキシ証明書の生成に使用するCAの証明書へのパス。\n           デフォルトで/root/ ssl-build/RHN-ORG-TRUSTED-SSL-CERTを使用。\n  --ca-key 新しいプロキシ証明書の生成に使用するCAの機密鍵へのパス。\n           デフォルトで/root/ ssl-build/RHN-ORG-PRIVATE-SSL-KEYを使用。\n  --ca-pass CA機密鍵のパスワードを含むファイルへのパス。渡されない場合はプロンプトが表示されます。\n  --ssl-cname 証明書に設定するプロキシの代替名。複数回提供できます\n  --ssl-country 証明書に設定する国コード。省略した場合、mgr-ssl-toolのデフォルト値が使用されます。\n  --ssl-state 証明書に設定する都道府県名。省略した場合、mgr-ssl-toolのデフォルト値が使用されます。\n  --ssl-city 証明書に設定する市区町村名。省略した場合、mgr-ssl-toolのデフォルト値が使用されます。\n  --ssl-org 証明書に設定する組織名。省略した場合、mgr-ssl-toolのデフォルト値が使用されます。\n  --ssl-org-unit 証明書に設定する組織単位名。省略した場合、mgr-ssl-toolのデフォルト値が使用されます。\n  --ssl-email 証明書に設定する電子メール。省略した場合、mgr-ssl-toolのデフォルト値が使用されます。\n\n例:\n  proxy_container_config proxy.lab server.lab 1024 proxy@acme.org --ca-pass password-file\n"
    ],
    "id_hash": 4946187354165967772,
    "content_hash": 4946187354165967772,
    "location": "../src/spacecmd/proxy.py:90",
    "context": "",
    "note": "",
    "flags": "python-format",
    "labels": [],
    "state": 30,
    "fuzzy": false,
    "translated": true,
    "approved": true,
    "position": 809,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 271,
    "source_unit": "https://l10n.opensuse.org/api/units/14178630/?format=api",
    "priority": 100,
    "id": 14178646,
    "web_url": "https://l10n.opensuse.org/translate/uyuni/spacecmd-4-3/ja/?checksum=c4a463314d977b9c",
    "url": "https://l10n.opensuse.org/api/units/14178646/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2022-11-25T15:45:02.104923Z"
}