@itentialopensource/adapter-sevone
Version:
Itential SevOne Adapter
127 lines • 3.55 kB
JSON
{
"actions": [
{
"name": "getDeviceGroupsRules",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/api/v1/devicegroups/rules?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getDeviceGroupsRules-default.json"
}
]
},
{
"name": "createDeviceGroupRule",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/api/v1/devicegroups/rules?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/createDeviceGroupRule-default.json"
}
]
},
{
"name": "getDeviceGroupRule",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/api/v1/devicegroups/rules/{pathv1}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getDeviceGroupRule-default.json"
}
]
},
{
"name": "updateDeviceGroupRule",
"protocol": "REST",
"method": "PUT",
"entitypath": "{base_path}/{version}/api/v1/devicegroups/rules/{pathv1}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/updateDeviceGroupRule-default.json"
}
]
},
{
"name": "deleteDeviceGroupRule",
"protocol": "REST",
"method": "DELETE",
"entitypath": "{base_path}/{version}/api/v1/devicegroups/rules/{pathv1}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/deleteDeviceGroupRule-default.json"
}
]
},
{
"name": "getDeviceGroupRules",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/api/v1/devicegroups/{pathv1}/rules?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getDeviceGroupRules-default.json"
}
]
}
]
}