{"type":"api","title":"Get IP Hosts Configuration","meta":{"id":"/apps/pubhub/media/nfvis-api/e3678dda6abe6c2a26c7698d553a4574e3f45071/262737b2-b3c2-32cd-b07b-fdbdcd23918f","info":{"title":"NFVIS API","description":"NFVIS RESTCONF API Documentation","version":"4.14.1"},"x-parser-conf":{"overview":{"markdownPath":"reference/overview.md"}},"swagger":"2.0","basePath":"/{nfvis_ip}/restconf","schemes":["https"],"securityDefinitions":{"basicAuth":{"type":"basic"}}},"spec":{"tags":["IP Configuration"],"summary":"Get IP Hosts Configuration","description":"Retrieve Global IP configurations","operationId":"data_nfvis_ip_ip_hosts_get","produces":["application/yang-data+json"],"parameters":[{"name":"content","in":"query","description":"controlling descendant nodes in response","required":false,"type":"string","format":"enumeration","default":"config","enum":["config","nonconfig","all"],"$$ref":"#/parameters/content"}],"responses":{"200":{"description":"Add an entry to the ip hostname table","schema":{"type":"object","properties":{"nfvis_ip:hosts":{"description":"Add an entry to the ip hostname table (non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"host":{"type":"array","description":"Add an entry to the ip hostname table (list)","x-yang":{"type":"list"},"items":{"type":"object","properties":{"hostname":{"description":"Name of host (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"ip-address":{"type":"array","x-yang":{"type":"leaf-list"},"items":{"description":"A.B.C.D Host IP address (leaf-list)","type":"string","format":"union"}}}}}}}},"$$ref":"#/definitions/data_nfvis_ip_ip_hosts"}},"204":{"description":"No Content","$$ref":"#/responses/204"},"400":{"description":"Bad Request","$$ref":"#/responses/400"},"401":{"description":"Unauthorized","$$ref":"#/responses/401"},"404":{"description":"Not Found","$$ref":"#/responses/404"},"405":{"description":"Method Not Allowed","$$ref":"#/responses/405"},"409":{"description":"Conflict","$$ref":"#/responses/409"}},"security":[{"basicAuth":[]}],"__originalOperationId":"data_nfvis_ip_ip_hosts_get","consumes":["application/yang-data+json"],"method":"get","path":"/data/nfvis_ip:ip/hosts"}}