方法路径摘要认证
GET/v1/brand-assets/{slot}—无需认证

契约文件:api/control-brand-assets.openapi.yaml

接口详情

GET /v1/brand-assets/{slot}

operationId
readPublicBrandAsset
认证
  • 无需认证。
所需权限

契约没有单独标注权限码,权限要求见下方说明与 403 响应。

说明(契约原文)

Pages request only the slots listed in GET /v1/theme/current brand_assets, with v set to that slot's revision.

参数

readPublicBrandAsset 参数
名称位置类型必填说明
slotpathstring: favicon / logo / login_ad / logo_dark / login_background / app_icon是—
vquerystring否Cache-busting revision from /v1/theme/current brand_assets

响应

readPublicBrandAsset 响应
状态码说明
200Immutable image bytes
304Not modified
404Asset not found

失败时怎么办

  • 404 资源不存在或不属于当前租户。

↑ 回到列表