{"type":"api","title":"Update IP Host 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":"Update IP Host Configuration","description":"Update an entry to the ip hostname table","operationId":"data_nfvis_ip_ip_hosts_host_host_hostname_put","produces":["application/yang-data+json"],"parameters":[{"name":"host-hostname","in":"path","description":"Name of host","required":true,"type":"string","format":"string","$$ref":"#/parameters/host-hostname"},{"name":"host","in":"body","description":"Add an entry to the ip hostname table","required":true,"schema":{"type":"object","properties":{"nfvis_ip: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_host_host-hostname"},"$$ref":"#/parameters/data_nfvis_ip_ip_hosts_host_host-hostname"},{"name":"insert","in":"query","description":"controlling the order when adding new list elements","required":false,"type":"string","format":"enumeration","default":"first","enum":["first","last","before","after"],"$$ref":"#/parameters/insert"},{"name":"point","in":"query","description":"used to specify the insertion point","required":false,"type":"string","format":"string","$$ref":"#/parameters/point"}],"responses":{"201":{"description":"list host created or replaced"},"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_host_host_hostname_put","consumes":["application/yang-data+json"],"method":"put","path":"/data/nfvis_ip:ip/hosts/host={host-hostname}"}}