{"type":"api","title":"Retrieve DLM Inventory Config","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/4ecd3a14-d0be-3ef0-ba5d-c3cd958217a7","info":{"title":"Crosswork Device Lifecycle Management (DLM) Inventory API","description":"Crosswork DLM Inventory APIs allow the user to perform CRUD operations on Crosswork Tags, Credentials, Providers and Nodes.","version":"1.0.0","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"https://www.cisco.com/public/sw-license-agreement.html"}},"security":[{"bearerAuth":[]}],"x-parser-conf":{"overview":{"markdownPath":"reference/INFRA/DLM/nodedbapi-overview.md"}},"swagger":"2.0","basePath":"/crosswork/inventory/v1","schemes":["http","https"],"securityDefinitions":{"bearerAuth":{"type":"apiKey","description":"bearer auth","name":"Authorization","in":"header"}}},"spec":{"summary":"Retrieve DLM Inventory Config","description":"Get the DLM Inventory Config, input is empty body, e.g. {} RobotInventoryConfig object as an input is just to satisfy API.","operationId":"NodeDb_GetInventoryConfig","responses":{"200":{"description":"A successful response.","schema":{"type":"object","properties":{"name":{"type":"string"},"device":{"type":"object","properties":{"host_identifier":{"type":"string","enum":["INVAILD","HOSTNAME_ONLY","HOSTNAME_AND_DOMAIN"],"default":"INVAILD","$$ref":"#/definitions/robotapiHostNameIdentifier"}},"$$ref":"#/definitions/robotapiDeviceConfig"}},"example":{"name":"string","device":{"host_identifier":"INVAILD"}},"$$ref":"#/definitions/robotapiRobotInventoryConfig"}},"default":{"description":"An unexpected error response.","schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"type_url":{"type":"string"},"value":{"type":"string","format":"byte"}},"$$ref":"#/definitions/protobufAny"}}},"example":{"error":"string","code":0,"message":"string","details":[{"type_url":"string","value":"string"}]},"$$ref":"#/definitions/runtimeError"}}},"parameters":[{"name":"body","in":"body","description":"Get the DLM Inventory Config request","required":true,"schema":{"type":"object","properties":{"name":{"type":"string"},"device":{"type":"object","properties":{"host_identifier":{"type":"string","enum":["INVAILD","HOSTNAME_ONLY","HOSTNAME_AND_DOMAIN"],"default":"INVAILD","$$ref":"#/definitions/robotapiHostNameIdentifier"}},"$$ref":"#/definitions/robotapiDeviceConfig"}},"example":{"name":"string","device":{"host_identifier":"INVAILD"}},"$$ref":"#/definitions/robotapiRobotInventoryConfig"}}],"tags":["NodeDb"],"__originalOperationId":"NodeDb_GetInventoryConfig","consumes":["application/json"],"produces":["application/json"],"security":[{"bearerAuth":[]}],"method":"post","path":"/inventoryconfig/query"}}