curl "https://api.scanova.io/custom-domain/verified/?exclude_platform_domains=true" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
[
{
"id": 0,
"domain": "new.scnv.io",
"is_default": true,
"disable_slug_case": false,
"is_platform_domain": true
},
{
"id": 42,
"domain": "links.example.com",
"is_default": false,
"disable_slug_case": false,
"is_platform_domain": false
}
]
自定义域名
列出可用于 QR 分配的已验证域名
GET /custom-domain/verified/
GET
/
custom-domain
/
verified
/
curl "https://api.scanova.io/custom-domain/verified/?exclude_platform_domains=true" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
[
{
"id": 0,
"domain": "new.scnv.io",
"is_default": true,
"disable_slug_case": false,
"is_platform_domain": true
},
{
"id": 42,
"domain": "links.example.com",
"is_default": false,
"disable_slug_case": false,
"is_platform_domain": false
}
]
在 Management API 主机(
这是列出自定义域名适用于选择器的对应端点:不分页,并在未传入
api.scanova.io)上列出可用于 QR 短链接分配的域名,使用您的原始 Management API 密钥进行身份验证。
GET https://api.scanova.io/custom-domain/verified/
Authorization: 401f7ac837da42b97f613d789819ff93537bee6a
boolean
省略平台默认域名(
new.scnv.io),仅保留该账户拥有的域名。curl "https://api.scanova.io/custom-domain/verified/?exclude_platform_domains=true" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
[
{
"id": 0,
"domain": "new.scnv.io",
"is_default": true,
"disable_slug_case": false,
"is_platform_domain": true
},
{
"id": 42,
"domain": "links.example.com",
"is_default": false,
"disable_slug_case": false,
"is_platform_domain": false
}
]
exclude_platform_domains=true 时包含一条合成的平台默认行(id: 0)。对于只应接受该账户自己拥有的域名的流程,请使用 exclude_platform_domains=true——id: 0 这一哨兵值并非真实的域名记录,无法通过 /custom-domain/{pk}/ 端点解析。
相关内容
- 列出自定义域名——包含验证和 DNS 详细信息的完整分页记录集。
- 验证自定义域名的 DNS 记录——让某个域名出现在此处。
- Management API 概览——适用于此端点的身份验证方案和配额规则。
授权
Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: 401f7ac837da42b97f613d789819ff93537bee6a. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.
查询参数
Omit the platform default domain, keeping only domains this account owns.
响应
200 - application/json
Plain array of verified domains (no pagination envelope).
此页面对您有帮助吗?