curl "https://api.scanova.io/plans/available/?search=pro" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 275,
"slug": "pro-scanova-io",
"name": "Pro - scanova.io",
"plan_type": "Normal",
"description": "",
"version": 1,
"family": { "id": 12, "slug": "pro", "name": "Pro", "is_enterprise": false },
"quotas": [
{ "quota_id": 401, "codename": "QR_CODE_LIMIT", "name": "QR Code Limit", "description": "", "unit": "count", "is_boolean": false, "value": 100 }
],
"is_enterprise_plan": false,
"is_custom_plan": false
}
]
}
分析与套餐
列出可用套餐
GET /plans/available/
GET
/
plans
/
available
/
curl "https://api.scanova.io/plans/available/?search=pro" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 275,
"slug": "pro-scanova-io",
"name": "Pro - scanova.io",
"plan_type": "Normal",
"description": "",
"version": 1,
"family": { "id": 12, "slug": "pro", "name": "Pro", "is_enterprise": false },
"quotas": [
{ "quota_id": 401, "codename": "QR_CODE_LIMIT", "name": "QR Code Limit", "description": "", "unit": "count", "is_boolean": false, "value": 100 }
],
"is_enterprise_plan": false,
"is_custom_plan": false
}
]
}
在 Management API 主机(
结果是分页的。这是目录视图——公开/可用的套餐,加上专门为请求账户定制的套餐(如果存在)。它不包含价格信息(金额、计费周期)——相关内容请参见获取套餐的定价选项,按套餐
api.scanova.io)上列出可见/可用的套餐,使用您的原始 Management API 密钥进行身份验证——如果您还没有设置好密钥,请参见概览。
GET https://api.scanova.io/plans/available/
Authorization: 401f7ac837da42b97f613d789819ff93537bee6a
string
不区分大小写的子字符串匹配,按套餐名称筛选。
curl "https://api.scanova.io/plans/available/?search=pro" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 275,
"slug": "pro-scanova-io",
"name": "Pro - scanova.io",
"plan_type": "Normal",
"description": "",
"version": 1,
"family": { "id": 12, "slug": "pro", "name": "Pro", "is_enterprise": false },
"quotas": [
{ "quota_id": 401, "codename": "QR_CODE_LIMIT", "name": "QR Code Limit", "description": "", "unit": "count", "is_boolean": false, "value": 100 }
],
"is_enterprise_plan": false,
"is_custom_plan": false
}
]
}
id 查询。
相关内容
- 获取套餐的定价选项——查询这些套餐之一的价格。
- 当前套餐——账户当前生效的套餐,包含更侧重计费的详情。
- 预览套餐降级的影响——在切换到这些套餐之一前先检查。
- 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.
查询参数
响应
200 - application/json
Paginated list of plans, each with its quota grants.
此页面对您有帮助吗?