更新防护目标
Last updated
2023-08-14 14:52:40
{"value":"## \u66f4\u65b0\u9632\u62a4\u76ee\u6807\n\n#### \u63a5\u53e3URL\n\n> cloud.cdncloud.com\/cdnapi\/onionShield\/update_rs\n\n#### \u8bf7\u6c42\u65b9\u5f0f\n\n> POST\n\n#### Content-Type\n\n> json\n\n#### \u8bf7\u6c42Header\u53c2\u6570\n\n| \u53c2\u6570\u540d | \u793a\u4f8b\u503c | \u53c2\u6570\u7c7b\u578b | \u662f\u5426\u5fc5\u586b | \u53c2\u6570\u63cf\u8ff0 |\n| ------------- | ------------------------------------------------------------ | -------- | -------- | -------- |\n| Authorization | expiry_time=1790524170&payload=%5B%22name%22%3D%3E+%22test-7-19-1%22%2C+%22rs_main%22%3D%3E+%22192.168.0.1%3A100%22%2C+%22type%22%3D%3E+3%2C+%22toa%22%3D%3E+0%2C+%22desc%22%3D%3E+%22test-7-19-1%22%2C+%22app_id%22%3D%3E+86%2C+%22customize_host%22%3D%3E+%22bai.com11%22%2C+%22cache_enable%22%3D%3E+1%2C+%22speedup_enable%22%3D%3E+1+%5D&secret_id=VVfNjkmvzCzK2v4vpAvnhhRPELTWPDyn&url_query=%2Fcdnapi%2FonionShield%2Fcreated_rs&signature=b4037fd118054b6faf2656479ced42d9 | String | \u662f | - |\n\n#### \u8bf7\u6c42Body\u53c2\u6570\n\n```javascript\n{\n \"name\": \"test_api-7-28-1-update\", \/\/rs\u6807\u8bc6 \u5fc5\u586b\n \"rs_main\": \"192.168.0.1:100,192.178.0.1:200\", \/\/ \u4e3b\u7ebf\u8def\u6c60 \u591a\u4e2a\u7ebf\u8def\u8bf7\u2f64\u82f1\u2f42\u9017\u53f7\u5206\u9694 \u5fc5\u586b\n \"type\": 3, \/\/ 1:TCP\u6a21\u5f0f 3:HTTP-GO \u6a21\u5f0f\n \"toa\": 0, \/\/ 0 \u6216 1\uff0c\u9ed8\u8ba4\u4e3a0\uff0c1 \u4ee3\u8868\u2f9bPP\u534f\u8bae\u56de\u6e90\n \"desc\": \"test_api-7-28-1-update\", \/\/\u63cf\u8ff0 \u5fc5\u586b\n \"app_id\": 89, \/\/\u5e94\u2f64id \u5fc5\u586b\n \"customize_host\": \"www.bai.com\", \/\/\u56de\u6e90host \n \"cache_enable\": 0, \/\/\u7f13\u5b58\u52a0\u901f\u5f00\u5173\n \"speedup_enable\": 0, \/\/\u56de\u6e90\u52a0\u901f\u5f00\u5173\uff0c0:\u5173\u95ed\uff0c1:CN2-HongKong\uff0c2:GA-HongKong\uff0c3:G\n \"rs_id\": 1060 \/\/rs_id \u5fc5\u586b\n}\n```\n\n| \u53c2\u6570\u540d | \u793a\u4f8b\u503c | \u53c2\u6570\u7c7b\u578b | \u662f\u5426\u5fc5\u586b | \u53c2\u6570\u63cf\u8ff0 |\n| -------------- | ------------------------------- | -------- | -------- | -------------------------------------------------------- |\n| name | ddd | String | \u662f | rs\u6807\u8bc6 \u5fc5\u586b |\n| rs_main | 192.168.0.1:100,192.178.0.1:200 | String | \u662f | \u4e3b\u7ebf\u8def\u6c60 \u591a\u4e2a\u7ebf\u8def\u8bf7\u2f64\u82f1\u2f42\u9017\u53f7\u5206\u9694 \u5fc5\u586b |\n| type | 1 | Integer | \u662f | 1:TCP\u6a21\u5f0f 3:HTTP-GO \u6a21\u5f0f |\n| toa | 0 | Integer | \u662f | 0 \u6216 1\uff0c\u9ed8\u8ba4\u4e3a0\uff0c1 \u4ee3\u8868\u2f9bPP\u534f\u8bae\u56de\u6e90 |\n| desc | dddd | String | \u662f | \u63cf\u8ff0 \u5fc5\u586b |\n| app_id | 12 | Integer | \u662f | \u5e94\u2f64id \u5fc5\u586b |\n| customize_host | bai.com | String | \u662f | \u56de\u6e90host |\n| cache_enable | 0 | Integer | \u662f | \u7f13\u5b58\u52a0\u901f\u5f00\u5173 |\n| speedup_enable | 0 | Integer | \u662f | \u56de\u6e90\u52a0\u901f\u5f00\u5173\uff0c0:\u5173\u95ed\uff0c1:CN2-HongKong\uff0c2:GA-HongKong\uff0c3:G |\n| rs_id | 327 | Integer | \u662f | rs_id \u5fc5\u586b |\n\n#### \u8ba4\u8bc1\u65b9\u5f0f\n\n```text\nnoauth\n```"}