/api/health获取服务当前状态及服务器时间,随时掌握接口可用性。
在线调试{
"success": true,
"data": {
"title": "山间晨光",
"category": "nature",
"url": "https://…/image.jpg"
}
}
三组核心接口,覆盖服务状态、分类查询与图片分发。
$ curl https://img.xingyuxi.com/api/images/random \
-H "X-API-Key: your_key"