UNPKG

@itentialopensource/adapter-eai

Version:

Itential Ericsson Adaptive Inventory Adapter

1,617 lines (1,616 loc) 171 kB
{ "openapi": "3.1.0", "info": { "title": "", "version": "1.0.0" }, "paths": { "/oci/card/{pathv1}": { "get": { "tags": [ "card" ], "operationId": "getCards", "description": "The parameters and request body are for method: getCards. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "type": { "type": "string" }, "id": { "type": "number" }, "href": { "type": "string" }, "transientAttributes": { "type": "object" }, "name": { "type": "string" }, "_type": { "type": "string" }, "role": { "type": "string" }, "description": { "type": "string" }, "slotOccupancy": { "type": "number" }, "serialNumber": { "type": "string" }, "inServiceDate": { "type": "string" }, "status": { "type": "string" }, "key": { "type": "object", "properties": { "type": { "type": "string" }, "keyValue": { "type": "number" } } } } }, "example": { "type": "oci/card", "id": 1, "href": "oci/card/1", "transientAttributes": {}, "name": "04|WS-X6716-10G-3C", "_type": "WS-X6716-10G-3C", "role": "", "description": "", "slotOccupancy": 1, "serialNumber": "", "inServiceDate": "2011-05-11T00:00:00.000Z", "status": "Live", "key": { "type": "oci/cardKey", "keyValue": 1 } } } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } }, "put": { "tags": [ "card" ], "operationId": "updateCard", "description": "The parameters and request body are for method: updateCard. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "type": { "type": "string" }, "id": { "type": "number" }, "href": { "type": "string" }, "transientAttributes": { "type": "object" }, "name": { "type": "string" }, "_type": { "type": "string" }, "role": { "type": "string" }, "description": { "type": "string" }, "slotOccupancy": { "type": "number" }, "serialNumber": { "type": "string" }, "inServiceDate": { "type": "string" }, "status": { "type": "string" }, "key": { "type": "object", "properties": { "type": { "type": "string" }, "keyValue": { "type": "number" } } } } }, "example": { "type": "oci/card", "id": 1, "href": "oci/card/1", "transientAttributes": {}, "name": "04|WS-X6716-10G-3C", "_type": "WS-X6716-10G-3C", "role": "", "description": "", "slotOccupancy": 1, "serialNumber": "", "inServiceDate": "2011-05-11T00:00:00.000Z", "status": "Live", "key": { "type": "oci/cardKey", "keyValue": 1 } } } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/oci/cardtemplate/{pathv1}": { "get": { "tags": [ "card" ], "operationId": "getCardTemplates", "description": "The parameters and request body are for method: getCardTemplates. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "type": { "type": "string" }, "id": { "type": "number" }, "href": { "type": "string" }, "transientAttributes": { "type": "object" }, "_type": { "type": "string" }, "slotOccupancy": { "type": "number" }, "status": { "type": "string" }, "name": { "type": "string" }, "key": { "type": "object", "properties": { "type": { "type": "string" }, "keyValue": { "type": "number" } } } } }, "example": { "type": "oci/cardtemplate", "id": 1, "href": "oci/cardtemplate/1", "transientAttributes": {}, "_type": "CardType1", "slotOccupancy": 1, "status": "Ordered", "name": "MIKETESTsfafdf", "key": { "type": "oci/cardtemplateKey", "keyValue": 1 } } } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } }, "put": { "tags": [ "card" ], "operationId": "updateCardTemplate", "description": "The parameters and request body are for method: updateCardTemplate. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "type": { "type": "string" }, "id": { "type": "number" }, "href": { "type": "string" }, "transientAttributes": { "type": "object" }, "_type": { "type": "string" }, "slotOccupancy": { "type": "number" }, "status": { "type": "string" }, "name": { "type": "string" }, "key": { "type": "object", "properties": { "type": { "type": "string" }, "keyValue": { "type": "number" } } } } }, "example": { "type": "oci/cardtemplate", "id": 1, "href": "oci/cardtemplate/1", "transientAttributes": {}, "_type": "CardType1", "slotOccupancy": 1, "status": "Ordered", "name": "MIKETESTsfafdf", "key": { "type": "oci/cardtemplateKey", "keyValue": 1 } } } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } }, "delete": { "tags": [ "card" ], "operationId": "deleteCardTemplate", "description": "The parameters and request body are for method: deleteCardTemplate. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/oci/card": { "post": { "tags": [ "card" ], "operationId": "createCard", "description": "The parameters and request body are for method: createCard. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "type": { "type": "string" }, "id": { "type": "number" }, "href": { "type": "string" }, "transientAttributes": { "type": "object" }, "name": { "type": "string" }, "_type": { "type": "string" }, "role": { "type": "string" }, "description": { "type": "string" }, "slotOccupancy": { "type": "number" }, "serialNumber": { "type": "string" }, "inServiceDate": { "type": "string" }, "status": { "type": "string" }, "key": { "type": "object", "properties": { "type": { "type": "string" }, "keyValue": { "type": "number" } } } } }, "example": { "type": "oci/card", "id": 1, "href": "oci/card/1", "transientAttributes": {}, "name": "04|WS-X6716-10G-3C", "_type": "WS-X6716-10G-3C", "role": "", "description": "", "slotOccupancy": 1, "serialNumber": "", "inServiceDate": "2011-05-11T00:00:00.000Z", "status": "Live", "key": { "type": "oci/cardKey", "keyValue": 1 } } } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/oci/cardtemplate": { "post": { "tags": [ "card" ], "operationId": "createCardTemplate", "description": "The parameters and request body are for method: createCardTemplate. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "type": { "type": "string" }, "id": { "type": "number" }, "href": { "type": "string" }, "transientAttributes": { "type": "object" }, "key": { "type": "object", "properties": { "type": { "type": "string" }, "keyValue": { "type": "number" } } } } }, "example": { "type": "oci/containertemplate", "id": 1, "href": "oci/containertemplate/1", "transientAttributes": {}, "key": { "type": "oci/containertemplateKey", "keyValue": 1 } } } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/oci/card/{pathv1}/cascadeDelete": { "post": { "tags": [ "card" ], "operationId": "deleteCard", "description": "The parameters and request body are for method: deleteCard. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "type": { "type": "string" }, "id": { "type": "number" }, "href": { "type": "string" }, "transientAttributes": { "type": "object" }, "name": { "type": "string" }, "_type": { "type": "string" }, "role": { "type": "string" }, "description": { "type": "string" }, "slotOccupancy": { "type": "number" }, "serialNumber": { "type": "string" }, "inServiceDate": { "type": "string" }, "status": { "type": "string" }, "key": { "type": "object", "properties": { "type": { "type": "string" }, "keyValue": { "type": "number" } } } } }, "example": { "type": "oci/card", "id": 1, "href": "oci/card/1", "transientAttributes": {}, "name": "04|WS-X6716-10G-3C", "_type": "WS-X6716-10G-3C", "role": "", "description": "", "slotOccupancy": 1, "serialNumber": "", "inServiceDate": "2011-05-11T00:00:00.000Z", "status": "Live", "key": { "type": "oci/cardKey", "keyValue": 1 } } } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/oci/container/{pathv1}": { "get": { "tags": [ "container" ], "operationId": "getContainers", "description": "The parameters and request body are for method: getContainers. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "type": { "type": "string" }, "id": { "type": "number" }, "href": { "type": "string" }, "transientAttributes": { "type": "object" }, "name": { "type": "string" }, "_type": { "type": "string" }, "vendor": { "type": "string" }, "model": { "type": "string" }, "unitOfMeasure": { "type": "string" }, "networkId": { "type": "string" }, "serialNumber": { "type": "string" }, "status": { "type": "string" }, "dimensionUnits": { "type": "string" }, "dimDepth": { "type": "number" }, "dimHeight": { "type": "number" }, "dimWidth": { "type": "number" }, "key": { "type": "object", "properties": { "type": { "type": "string" }, "keyValue": { "type": "number" } } } } }, "example": { "type": "oci/container", "id": 1, "href": "oci/container/1", "transientAttributes": {}, "name": "001.02", "_type": "RACK", "vendor": "ERICSSON", "model": "", "unitOfMeasure": "Inch", "networkId": "", "serialNumber": "", "status": "Live", "dimensionUnits": "INCHES", "dimDepth": 0, "dimHeight": 0, "dimWidth": 0, "key": { "type": "oci/containerKey", "keyValue": 1 } } } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } }, "put": { "tags": [ "container" ], "operationId": "updateContainer", "description": "The parameters and request body are for method: updateContainer. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "type": { "type": "string" }, "id": { "type": "number" }, "href": { "type": "string" }, "transientAttributes": { "type": "object" }, "name": { "type": "string" }, "_type": { "type": "string" }, "vendor": { "type": "string" }, "model": { "type": "string" }, "unitOfMeasure": { "type": "string" }, "networkId": { "type": "string" }, "serialNumber": { "type": "string" }, "status": { "type": "string" }, "dimensionUnits": { "type": "string" }, "dimDepth": { "type": "number" }, "dimHeight": { "type": "number" }, "dimWidth": { "type": "number" }, "key": { "type": "object", "properties": { "type": { "type": "string" }, "keyValue": { "type": "number" } } } } }, "example": { "type": "oci/container", "id": 1, "href": "oci/container/1", "transientAttributes": {}, "name": "001.02", "_type": "RACK", "vendor": "ERICSSON", "model": "", "unitOfMeasure": "Inch", "networkId": "", "serialNumber": "", "status": "Live", "dimensionUnits": "INCHES", "dimDepth": 0, "dimHeight": 0, "dimWidth": 0, "key": { "type": "oci/containerKey", "keyValue": 1 } } } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/oci/containertemplate/{pathv1}": { "get": { "tags": [ "container" ], "operationId": "getContainerTemplates", "description": "The parameters and request body are for method: getContainerTemplates. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "type": { "type": "string" }, "id": { "type": "number" }, "href": { "type": "string" }, "transientAttributes": { "type": "object" }, "_type": { "type": "string" }, "vendor": { "type": "string" }, "status": { "type": "string" }, "name": { "type": "string" }, "key": { "type": "object", "properties": { "type": { "type": "string" }, "keyValue": { "type": "number" } } } } }, "example": { "type": "oci/containertemplate", "id": 3, "href": "oci/containertemplate/3", "transientAttributes": {}, "_type": "ROUTER", "vendor": "SIEMENS", "status": "Ordered", "name": "MIKETEST", "key": { "type": "oci/containertemplateKey", "keyValue": 3 } } } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } }, "put": { "tags": [ "container" ], "operationId": "updateContainerTemplate", "description": "The parameters and request body are for method: updateContainerTemplate. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "type": { "type": "string" }, "id": { "type": "number" }, "href": { "type": "string" }, "transientAttributes": { "type": "object" }, "_type": { "type": "string" }, "vendor": { "type": "string" }, "status": { "type": "string" }, "name": { "type": "string" }, "key": { "type": "object", "properties": { "type": { "type": "string" }, "keyValue": { "type": "number" } } } } }, "example": { "type": "oci/containertemplate", "id": 3, "href": "oci/containertemplate/3", "transientAttributes": {}, "_type": "ROUTER", "vendor": "SIEMENS", "status": "Ordered", "name": "MIKETEST", "key": { "type": "oci/containertemplateKey", "keyValue": 3 } } } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } }, "delete": { "tags": [ "container" ], "operationId": "deleteContainerTemplate", "description": "The parameters and request body are for method: deleteContainerTemplate. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/oci/container": { "post": { "tags": [ "container" ], "operationId": "createContainer", "description": "The parameters and request body are for method: createContainer. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "type": { "type": "string" }, "id": { "type": "number" }, "href": { "type": "string" }, "transientAttributes": { "type": "object" }, "name": { "type": "string" }, "_type": { "type": "string" }, "vendor": { "type": "string" }, "model": { "type": "string" }, "unitOfMeasure": { "type": "string" }, "networkId": { "type": "string" }, "serialNumber": { "type": "string" }, "status": { "type": "string" }, "dimensionUnits": { "type": "string" }, "dimDepth": { "type": "number" }, "dimHeight": { "type": "number" }, "dimWidth": { "type": "number" }, "key": { "type": "object", "properties": { "type": { "type": "string" }, "keyValue": { "type": "number" } } } } }, "example": { "type": "oci/container", "id": 1, "href": "oci/container/1", "transientAttributes": {}, "name": "001.02", "_type": "RACK", "vendor": "ERICSSON", "model": "", "unitOfMeasure": "Inch", "networkId": "", "serialNumber": "", "status": "Live", "dimensionUnits": "INCHES", "dimDepth": 0, "dimHeight": 0, "dimWidth": 0, "key": { "type": "oci/containerKey", "keyValue": 1 } } } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/oci/containertemplate": { "post": { "tags": [ "container" ], "operationId": "createContainerTemplate", "description": "The parameters and request body are for method: createContainerTemplate. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "type": { "type": "string" }, "id": { "type": "number" }, "href": { "type": "string" }, "transientAttributes": { "type": "object" }, "key": { "type": "object", "properties": { "type": { "type": "string" }, "keyValue": { "type": "number" } } } } }, "example": { "type": "oci/containertemplate", "id": 3, "href": "oci/containertemplate/3", "transientAttributes": {}, "key": { "type": "oci/containertemplateKey", "keyValue": 3 } } } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/oci/container/{pathv1}/cascadeDelete": { "post": { "tags": [ "container" ], "operationId": "deleteContainer", "description": "The parameters and request body are for method: deleteContainer. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "type": { "type": "string" }, "id": { "type": "number" }, "href": { "type": "string" }, "transientAttributes": { "type": "object" }, "name": { "type": "string" }, "_type": { "type": "string" }, "vendor": { "type": "string" }, "model": { "type": "string" }, "unitOfMeasure": { "type": "string" }, "networkId": { "type": "string" }, "serialNumber": { "type": "string" }, "status": { "type": "string" }, "dimensionUnits": { "type": "string" }, "dimDepth": { "type": "number" }, "dimHeight": { "type": "number" }, "dimWidth": { "type": "number" }, "key": { "type": "object", "properties": { "type": { "type": "string" }, "keyValue": { "type": "number" } } } } }, "example": { "type": "oci/container", "id": 1, "href": "oci/container/1", "transientAttributes": {}, "name": "001.02", "_type": "RACK", "vendor": "ERICSSON", "model": "", "unitOfMeasure": "Inch", "networkId": "", "serialNumber": "", "status": "Live", "dimensionUnits": "INCHES", "dimDepth": 0, "dimHeight": 0, "dimWidth": 0, "key": { "type": "oci/containerKey", "keyValue": 1 } } } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/oci/equipment": { "get": { "tags": [ "equipment" ], "operationId": "getEquipments", "description": "The parameters and request body are for method: getEquipments. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string" }, "id": { "type": "number" }, "href": { "type": "string" }, "transientAttributes": { "type": "object" }, "name": { "type": "string" }, "_type": { "type": "string" }, "vendor": { "type": "string" }, "model": { "type": "string" }, "unitOfMeasure": { "type": "string" }, "networkId": { "type": "string" }, "serialNumber": { "type": "string" }, "status": { "type": "string" }, "dimensionUnits": { "type": "string" }, "dimDepth": { "type": "number" }, "dimHeight": { "type": "number" }, "dimWidth": { "type": "number" }, "key": { "type": "object", "properties": { "type": { "type": "string" }, "keyValue": { "type": "number" } } } } } }, "example": [ { "type": "oci/container", "id": 1, "href": "oci/container/1", "transientAttributes": {}, "name": "001.02", "_type": "RACK", "vendor": "ERICSSON", "model": "", "unitOfMeasure": "Inch", "networkId": "", "serialNumber": "", "status": "Live", "dimensionUnits": "INCHES", "dimDepth": 0, "dimHeight": 0, "dimWidth": 0, "key": { "type": "oci/containerKey", "keyValue": 1 } }, { "type": "oci/container", "id": 2, "href": "oci/container/2", "transientAttributes": {}, "name": "001.02", "_type": "RACK", "vendor": "ERICSSON", "model": "", "unitOfMeasure": "Inch", "networkId": "", "serialNumber": "", "status": "Live", "dimensionUnits": "INCHES", "dimDepth": 0, "dimHeight": 0, "dimWidth": 0, "key": { "type": "oci/containerKey", "keyValue": 2 } }, { "type": "oci/shelf", "id": 63, "href": "oci/shelf/63", "transientAttributes": {}, "name": "001.02.1F.CATALYST 6509-E SWITCH", "_type": "SWITCH", "vendor": "CISCO", "model": "6509-E", "swRev": "", "unitOfMeasure": "Inch", "networkId": "", "serialNumber": "", "inServiceDate": "2007-01-10T00:00:00.000Z", "status": "Live", "dimensionUnits": "INCHES", "dimDepth": 0, "dimDistToBase": 0, "dimHeight": 0, "dimWidth": 0, "shelf": "", "key": { "type": "oci/shelfKey", "keyValue": 63 } }, { "type": "oci/shelf", "id": 64, "href": "oci/shelf/64", "transientAttributes": {}, "name": "CORE-ATL-1", "_type": "ROUTER", "vendor": "CISCO", "model": "CSR1000v", "status": "Live", "lastModifiedOn": "2018-08-16T04:34:09.108Z", "lastModifiedBy": "jonathonspaeth", "lockedOn": "2018-08-16T04:32:36.336Z", "lockedBy": "jonathonspaeth", "lockOwner": "session:d8bcd38a-7d9b-4177-b589-80f464829755", "key": { "type": "oci/shelfKey", "keyValue": 64 } } ] } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/oci/port/{pathv1}": { "get": { "tags": [ "port" ], "operationId": "getPorts", "description": "The parameters and request body are for method: getPorts. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "type": { "type": "string" }, "id": { "type": "number" }, "href": { "type": "string" }, "transientAttributes": { "type": "object" }, "name": { "type": "string" }, "status": { "type": "string" }, "role": { "type": "string" }, "connectorType": { "type": "string" }, "bandWidth": { "type": "string" }, "key": { "type": "object", "properties": { "type": { "type": "string" }, "keyValue": { "type": "number" } } } } }, "example": { "type": "oci/port", "id": 1, "href": "oci/port/1", "transientAttributes": {}, "name": "1", "status": "Admin",