Tham chiếu API
Cập nhật URL rút gọn
Cập nhật địa chỉ đích, mật khẩu, thời gian hết hạn hoặc thẻ của URL rút gọn hiện có.
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" }}