/siberhttp/manage/check_template
{
"manage_mode": "CREATE",
"check_template": {
"template_name": "测试",
"checker": [
{
"key": "$ResponseStatus",
"relation": "=",
"content": 200
}
]
}
}
{
"template_id": "60f91dedbdbbe1f8432bf023",
"template_name": "测试",
"checker": [
{
"key": "$ResponseStatus",
"relation": "=",
"content": 200
}
],
"insert_time": "1626938861",
"update_time": "1626938861"
}
/siberhttp/list/check_template
{
"filterContent": {
"": ""
}
}
{
"check_template": [
{
"template_id": "60f94f40bdbbe1f8432bf024",
"template_name": "测试",
"update_time": "1626951488"
}
]
}
message CheckTemplate {
string template_id = 1;
string template_name = 2;
repeated CheckSub checker = 3;
int64 invalid_date = 4;
int64 insert_time = 5;
int64 update_time = 6;
string user_update = 7;
}
message ManageCheckTemplateInfo {
string manage_mode = 1;
CheckTemplate check_template = 2;
}
message CheckTemplateList{
repeated CheckTemplate check_template = 1;
}
message CheckTemplateList{
repeated CheckTemplate check_template = 1;
}
rpc ManageCheckTemplate(ManageCheckTemplateInfo) returns (CheckTemplate){
option (google.api.http) = {
post:"/siberhttp/manage/check_template"
body:"*"
};
}
rpc ManageTemplateList (FilterInfo) returns (CheckTemplateList){
option (google.api.http) = {
post:"/siberhttp/list/check_template"
body:"*"
};
}