API 文档
了解如何连接并集成我们的 API。
身份验证
所有 API 端点需要通过 Bearer Authentication method. 发送 API 密钥。
Authorization: Bearer {api_key}
curl --request GET \
--url 'https://scanflick.com/api/{endpoint}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://scanflick.com/api/{endpoint}' \
--header 'Authorization: Bearer {api_key}' \
错误
我们的 API 使用常规 HTTP 状态码来表示请求的成功或失败。
{
"errors": [
{
"title": "\u60a8\u65e0\u6743\u8bbf\u95ee\u8be5 API\u3002",
"status": 401
}
]
}
200 请求已成功完成
400 错误请求 - 缺少或无效的必需参数
401 未授权 - API 密钥缺失或无效
404 未找到请求的资源
429 请求过多 - 超过速率限制
500 服务器内部错误 - 表示服务器端出现问题
除非另有说明,所有 API 端点结果均使用 UTC 时区。
用户
QR codes
条形码
链接
链接统计
项目
像素
自定义域名
账户付款记录
账户日志