API 文档
这是围绕REST架构构建的可用API端点的文档。所有API端点将返回带有标准HTTP响应代码的JSON响应,并需要通过API密钥进行Bearer身份验证。
认证
所有 API 端点都需要通过Bearer 认证方法发送 API 密钥。
Authorization: Bearer {api_key}
curl --request GET \
--url 'https://25url.com/api/{endpoint}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://25url.com/api/{endpoint}' \
--header 'Authorization: Bearer {api_key}' \
Errors
Our API uses conventional HTTP status codes to indicate the success or failure of a request.
{
"errors": [
{
"title": "\u60a8\u6ca1\u6709\u8bbf\u95eeAPI\u7684\u6743\u9650\u3002",
"status": 401
}
]
}
200 Request completed successfully
400 Bad request - Required parameters are missing or invalid
401 Unauthorized - API key is missing or invalid
404 The requested resource was not found
429 Too many requests - Rate limit exceeded
500 Internal server error - this means there is a problem on our end
All API endpoint results work with the UTC timezone unless specified otherwise.
用户
链接
链接统计
像素
闪屏页面
QR码
数据
Notification handlers
自定义域名
账户付款
账户日志