上传令牌属于访问凭据
仅使用 API 返回的短期令牌。请勿记录、发布或重复使用完整的上传 URL,也不要将其发送到分析工具。
HTTP 请求
curl https://api.iagenify.com/api/cloud/uploads/TOKEN -X GETJavaScript
const response = await fetch("https://api.iagenify.com/api/cloud/uploads/TOKEN", {
method: "GET",
headers: {}
});
const result = await response.json();
if (!response.ok) throw new Error(result.error);Python
import os
import requests
response = requests.request("GET", "https://api.iagenify.com/api/cloud/uploads/TOKEN", headers={}, timeout=30)
response.raise_for_status()
result = response.json()路径参数
tokenstring必填:token 的值。
Query parameters
downloadstringOptional download query value.
Response and errors
Success returns JSON from the endpoint.