reseller

Reseller Branding Submit

Changed on

更新 ResellerProfile 上的品牌字段。

所有 reseller-controlled 输入都走 sanitize 模块严格清洗:

  • plain text fields: 控制字符剥除 + 长度限制
  • logo / nav URL: 强制 https://,正则约束
  • price HTML: bleach 白名单(无 script / iframe / on*=)
  • analytics: 结构化 4 家 provider,ID 严格正则;不允许任意 JS 注入 homepage 语言由 reseller 的 region 决定(asia=zh / us=en / eu=en+ru), 不再单独存 homepage_lang。
post/reseller/branding

Request

  • Base URL: https://qcode.cc (the document declares no server; this is the origin it was published from)
  • URL: https://qcode.cc/reseller/branding
  • Auth: none declared

Request body application/x-www-form-urlencoded

brand_namestring
brand_taglinestring
brand_contactstring
brand_logo_urlstring
brand_price_htmlstring
brand_nav_linksstring
brand_analytics_providerstring
brand_analytics_idstring

Response

Successful Response

unknown required

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status