{"type":"api","title":"Generate Sample Inventory File","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/e7cf6406-31b8-3f42-91c0-19f86a4708d2","info":{"title":"Crosswork VM Node Install APIs","description":"Crosswork VM Node Install APIs allow users to add and delete nodes.","version":"3.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/VM_INSTALL/vm-install-overview.md"}},"swagger":"2.0","basePath":"/crosswork/platform/v1","schemes":["http","https"],"securityDefinitions":{"bearerAuth":{"type":"apiKey","name":"Authorization","in":"header","description":"Bearer token for API authentication."}}},"spec":{"description":"Request a sample inventory base64 encoded file.","summary":"Generate Sample Inventory File","operationId":"CwVmMangager_GetSampleInventoryFile","responses":{"200":{"description":"A successful response.","schema":{"type":"object","properties":{"filedata":{"type":"object","properties":{"name":{"type":"string"},"size":{"type":"string","format":"int64"},"type":{"type":"string"},"content":{"type":"string","format":"byte"}},"example":{"name":"inventory.json","size":"1024","type":"application/json","content":"eyJrZXkiOiAidmFsdWUifQ=="},"$$ref":"#/definitions/install_apiFiledata"}},"example":{"filedata":{"name":"inventory.json","size":"1024","type":"application/json","content":"eyJrZXkiOiAidmFsdWUifQ=="}},"$$ref":"#/definitions/install_apiSmallFileChunk"}},"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"}},"example":{"type_url":"type.googleapis.com/google.protobuf.Any","value":"Error details in binary format"},"$$ref":"#/definitions/protobufAny"}}},"example":{"error":"RuntimeException","code":500,"message":"An unexpected error occurred during execution.","details":[{"type_url":"type.googleapis.com/google.protobuf.Any","value":"Error details in binary format"}]},"$$ref":"#/definitions/runtimeError"}}},"tags":["CwVmMangager"],"__originalOperationId":"CwVmMangager_GetSampleInventoryFile","consumes":["application/json"],"produces":["application/json"],"security":[{"bearerAuth":[]}],"method":"get","path":"/node-manager/inventory/sample"}}