获取债券名列表 websocket测试 GET http://23.101.12.140:11234/v1/bond/titles 响应参数 参数名 类型 描述 必填 code int 示例:200 必填 msg string 示例: 必填 data object 数据字典 必填 bonds array 数据列表 必填 bond_no string 示例:B491af5b73000804 必填 title string 示例:国际金融中心债券 必填 min_step_share string 示例:500 必填 说明 / 示例 请求示例: ``` curl http://localhost:11234/v1/bond/titles ``` 返回示例: ``` { "code": 200, "msg": "", "data": { "bonds": [ { "bond_no": "B491af5b73000804", "title": "国际金融中心债券", "min_step_share": "500" }, { "bond_no": "B494338384000804", "title": "国际金融中心债券", "min_step_share": "500" }, { "bond_no": "B49433aa9e000804", "title": "国际金融中心债券", "min_step_share": "500" }, { "bond_no": "B49444af34000804", "title": "测试数据时效债券", "min_step_share": "500" }, { "bond_no": "B494b1fe26000804", "title": "国际金融中心债券", "min_step_share": "500" }, { "bond_no": "B495337303000804", "title": "国际金融中心债券", "min_step_share": "500" } ] } } ```
请求示例: ``` curl http://localhost:11234/v1/bond/titles ``` 返回示例: ``` { "code": 200, "msg": "", "data": { "bonds": [ { "bond_no": "B491af5b73000804", "title": "国际金融中心债券", "min_step_share": "500" }, { "bond_no": "B494338384000804", "title": "国际金融中心债券", "min_step_share": "500" }, { "bond_no": "B49433aa9e000804", "title": "国际金融中心债券", "min_step_share": "500" }, { "bond_no": "B49444af34000804", "title": "测试数据时效债券", "min_step_share": "500" }, { "bond_no": "B494b1fe26000804", "title": "国际金融中心债券", "min_step_share": "500" }, { "bond_no": "B495337303000804", "title": "国际金融中心债券", "min_step_share": "500" } ] } } ```