接口地址 /link/api/open/link/url/selectLinkUrlById
请求方式 GET
consumes ``
produces ["*/*"]
接口描述 ``
请求参数
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 |
---|---|---|---|---|
id | 短连接Id | query | true | integer |
响应参数
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
data | 响应数据对象 | 短链 | 短链 |
message | 结果描述 | string | |
status | 结果码 | integer(int32) |
schema属性说明
短链
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
endtime | 结束访问时间 | string(date-time) | |
longUrl | 长链接 | string | |
shortUrl | 短连接 | string | |
starttime | 开始访问时间 | string(date-time) | |
title | 短链名称 | string | |
visitpwd | 访问密码 | string |
响应示例
{ "data": { "endtime": "", "longUrl": "", "shortUrl": "", "starttime": "", "title": "", "visitpwd": "" }, "message": "", "status": 0}