API 参考
更新短网址
更新已有短网址的目标地址、密码、过期时间或标签。
Header Parameters
Request Body
application/json
Updated short URL details
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://example.com/api/v1/shorten" \ -H "Authorization: string" \ -H "Content-Type: application/json" \ -d '{ "domain": "string", "slug": "string", "target_url": "string", "title": "string" }'{ "code": 0, "message": "string", "data": { "code": 0, "data": { "tags": [ { "id": 0, "name": "string" } ] }, "message": "string" }}