X-API-Key: ********************Authorization: Bearer ********************{
"cap": 0,
"ext": {
"attribution": true,
"priority": 0,
"qr_key": "string",
"qr_url": "string",
"stat_only": true
},
"name": "string",
"sort": 0,
"status": 0,
"target_url": "string",
"valid_time": 0,
"weight": 0
}curl --location 'https://www.mxsd.com/openapi/v1/wxlink/wx//channels' \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"cap": 0,
"ext": {
"attribution": true,
"priority": 0,
"qr_key": "string",
"qr_url": "string",
"stat_only": true
},
"name": "string",
"sort": 0,
"status": 0,
"target_url": "string",
"valid_time": 0,
"weight": 0
}'{
"result": {
"cap": 0,
"chain_id": 0,
"created_at": "string",
"exhausted": 0,
"ext": {
"attribution": true,
"priority": 0,
"qr_key": "string",
"qr_url": "string",
"stat_only": true
},
"id": 0,
"name": "string",
"sort": 0,
"status": 0,
"target_url": "string",
"valid_time": 0,
"weight": 0
},
"status": 1
}