GET /api2/tm/rulesets/
viewer
POST /api2/tm/rulesets/
user
GET /api2/tm/rulesets/<id>
viewer
PUT /api2/tm/rulesets/<id>
user
DELETE /api2/tm/rulesets/<id>
userPOST api2/tm/rulesets/import
userGET api2/tm/rulesets/export?ids=<rules_set_ids_list>
user{
"id": 1,
"name": "set_name",
"description": "set_description",
"created_by": "user1",
"created_at": 1542373932,
"modified_at": 1542373932
}
{
"api_ver": 1,
"sw_ver": "v0.0.test_alpha",
"model": "x2-3200g",
"date": 1563185883,
"rulesets": [
{
"name": "ruleset_name",
"description": "ruleset_description",
"created_by": "",
"created_at": 1562065130,
"modified_at": 1563185878,
"vid_groups": [
...
],
"l4_port_groups": [
...
],
"rules": [
...
]
}
]
}