跳到主要内容
版本:v2

纪年换算

接口地址:/epoch/conversion

请求方式:GET

响应数据类型:application/json

接口描述:

请求参数:

参数名称参数说明请求类型是否必须数据类型schema
Authorization授权请求头headertruestring
x-jd-device设备信息headerfalsestring
q关键字querytruestring

响应状态:

状态码说明schema
200OKobject

响应参数:

参数名称参数说明类型schema
epochs历史纪年数据arrayobject
  adLunarYearstring
  ganzhistring
  periodstring
  dynastystring
  diHaostring
  emperorstring
  yearsstring
  countrystring
  nianHaostring
  nianHao1string
  nianHao2string
  sortinteger(int64)
  idinteger(int64)

响应示例:

{
"epochs": [
{
"adLunarYear": "",
"ganzhi": "",
"period": "",
"dynasty": "",
"diHao": "",
"emperor": "",
"years": "",
"country": "",
"nianHao": "",
"nianHao1": "",
"nianHao2": "",
"sort": 0,
"id": 0
}
]
}