X-API-Key: ********************Authorization: Bearer ********************{
"cap_period": 0,
"chain_title": "string",
"direct_jump": 0,
"filter_rule": {
"browser": [
"string"
],
"device": [
"string"
],
"geo": {
"countries": [
"CN",
"US"
]
},
"mode": "allow",
"os": [
"string"
],
"require_ad_click": true,
"temp_jump_enabled": true,
"temp_jump_url": "string"
},
"group_id": 0,
"show_type": 1,
"valid_time": 0,
"visit_pwd": "string",
"visit_type": 1,
"wxext": {
"avatar": "string",
"guide_image_url": "string",
"guide_text": "string",
"promo_desc": "string",
"promo_type": 1,
"scan_qr_url": "string",
"sub_title": "string",
"wx_id": "string"
}
}curl --location 'https://www.mxsd.com/openapi/v1/wxlink/wx//update' \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"cap_period": 0,
"chain_title": "string",
"direct_jump": 0,
"filter_rule": {
"browser": [
"string"
],
"device": [
"string"
],
"geo": {
"countries": [
"CN",
"US"
]
},
"mode": "allow",
"os": [
"string"
],
"require_ad_click": true,
"temp_jump_enabled": true,
"temp_jump_url": "string"
},
"group_id": 0,
"show_type": 1,
"valid_time": 0,
"visit_pwd": "string",
"visit_type": 1,
"wxext": {
"avatar": "string",
"guide_image_url": "string",
"guide_text": "string",
"promo_desc": "string",
"promo_type": 1,
"scan_qr_url": "string",
"sub_title": "string",
"wx_id": "string"
}
}'{
"result": {
"chain": {
"admin_blocked": 0,
"admin_blocked_reason": "string",
"cap_period": 0,
"chain_title": "string",
"code": "string",
"code_custom": 0,
"direct_jump": 0,
"domain_id": 0,
"id": 0,
"inactive_at": "string",
"inactive_reason": "string",
"show_type": 0,
"status": 0,
"sub_type": 0,
"target_url": "string",
"type": 0,
"valid_time": 0,
"visit_type": 0
}
},
"status": 1
}