@itentialopensource/adapter-versa_director
Version:
This adapter integrates with system described as: versaDirectorApi.
231 lines • 6.54 kB
JSON
{
"actions": [
{
"name": "getAllDeviceGroups",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/nextgen/deviceGroup?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getAllDeviceGroups-default.json"
}
]
},
{
"name": "createDeviceGroup",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/nextgen/deviceGroup?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/createDeviceGroup-default.json"
}
]
},
{
"name": "bulkDeleteDeviceGroup",
"protocol": "REST",
"method": "DELETE",
"entitypath": "{base_path}/{version}/nextgen/deviceGroup/bulkDelete/{pathv1}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "getAllDeviceGroupsNames",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/nextgen/deviceGroup/deviceGroupNames?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getAllDeviceGroupsNames-default.json"
}
]
},
{
"name": "getAllDeviceGroupsByAnyTemplateAndOrg",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/nextgen/deviceGroup/deviceGroupNamesByAnyTemplate?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getAllDeviceGroupsByAnyTemplateAndOrg-default.json"
}
]
},
{
"name": "getAllDeviceGroupsByTemplate",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/nextgen/deviceGroup/deviceGroupNamesByTemplate?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getAllDeviceGroupsByTemplate-default.json"
}
]
},
{
"name": "getDeviceGroupById",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/nextgen/deviceGroup/{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/getDeviceGroupById-default.json"
}
]
},
{
"name": "updateDeviceGroup",
"protocol": "REST",
"method": "PUT",
"entitypath": "{base_path}/{version}/nextgen/deviceGroup/{pathv1}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/updateDeviceGroup-default.json"
}
]
},
{
"name": "deleteDeviceGroup",
"protocol": "REST",
"method": "DELETE",
"entitypath": "{base_path}/{version}/nextgen/deviceGroup/{pathv1}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "getDeviceGroupStandbyInfo",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/nextgen/deviceGroup/{pathv1}/standby?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getDeviceGroupStandbyInfo-default.json"
}
]
},
{
"name": "getDeviceGroupTemplateAssociation",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/nextgen/deviceGroup/{pathv1}/template/{pathv2}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getDeviceGroupTemplateAssociation-default.json"
}
]
}
]
}