Authorization: Bearer ********************{
"config": {
"protocol_filter": [
"string"
],
"protocol_filter_enable": true,
"protocol_filter_mode": true,
"proxy": true,
"timeout": 0,
"url": "string"
},
"cron_expr": "0 0 * * *",
"enable": true,
"name": "string"
}curl --location --request POST 'http://localhost:8080/api/v1/sub' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"config": {
"protocol_filter": [
"string"
],
"protocol_filter_enable": true,
"protocol_filter_mode": true,
"proxy": true,
"timeout": 0,
"url": "string"
},
"cron_expr": "0 0 * * *",
"enable": true,
"name": "string"
}'{
"code": 200,
"data": {
"config": {
"protocol_filter": [
"string"
],
"protocol_filter_enable": true,
"protocol_filter_mode": true,
"proxy": true,
"timeout": 0,
"url": "string"
},
"created_at": "string",
"cron_expr": "string",
"enable": true,
"id": 0,
"info": {
"count": 0,
"delay": 0,
"risk": 0,
"speed_down": 0,
"speed_up": 0
},
"name": "string",
"result": {
"duration": 0,
"fail": 0,
"last_run": "string",
"msg": "string",
"node_null_count": 0,
"raw_count": 0,
"success": 0
},
"status": "string",
"updated_at": "string"
},
"message": "success"
}