API文档
本文档介绍可用的API端点,这些端点基于REST架构构建。所有API端点将返回带有标准HTTP响应代码的JSON响应,并需要通过API密钥进行Bearer认证。
认证方式
所有API端点都需要通过Bearer认证方法发送API密钥。
curl --request GET \
--url 'https://tj.dhso.top/api/{endpoint}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://tj.dhso.top/api/{endpoint}' \
--header 'Authorization: Bearer {api_key}' \
所有日期和时间均采用UTC时区格式返回。