{"type":"api","title":"Inventory Insight Device Link Mismatch API","meta":{"id":"/apps/pubhub/media/dna-center-235/0e427c513038595590fc5a0593cb0e208dd78571/2192edf3-d24e-3461-ab8c-12a97b547df4","swagger":"2.0","info":{"description":"Cisco DNA Center Platform v. 2.3.5","version":"2.3.5","title":"Intent API"},"schemes":["https"],"x-parser-conf":{"expand":0,"labelConfig":{"endpoint":"summary"}}},"spec":{"operationId":"inventoryInsightDeviceLinkMismatchAPI","tags":["Devices"],"summary":"Inventory Insight Device Link Mismatch API","description":"Find all devices with link mismatch (speed / vlan)","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"siteId","description":"siteId","required":true,"type":"string","in":"path"},{"name":"offset","description":"Row Number. Default value is 1","required":false,"type":"string","in":"query"},{"name":"limit","description":"Default value is 500","required":false,"type":"string","in":"query"},{"name":"category","description":"Links mismatch category. Value can be speed-duplex or vlan.","required":true,"type":"string","in":"query"},{"name":"sortBy","description":"Sort By","required":false,"type":"string","in":"query"},{"name":"order","description":"Order. Value can be asc or desc. Default value is asc","required":false,"type":"string","in":"query"}],"responses":{"200":{"description":"The request was successful. The result is contained in the response body","schema":{"type":"object","properties":{"response":{"type":"array","items":{"type":"object","properties":{"endPortAllowedVlanIds":{"type":"string"},"endPortNativeVlanId":{"type":"string"},"startPortAllowedVlanIds":{"type":"string"},"startPortNativeVlanId":{"type":"string"},"linkStatus":{"type":"string"},"endDeviceHostName":{"type":"string"},"endDeviceId":{"type":"string"},"endDeviceIpAddress":{"type":"string"},"endPortAddress":{"type":"string"},"endPortDuplex":{"type":"string"},"endPortId":{"type":"string"},"endPortMask":{"type":"string"},"endPortName":{"type":"string"},"endPortPepId":{"type":"string"},"endPortSpeed":{"type":"string"},"startDeviceHostName":{"type":"string"},"startDeviceId":{"type":"string"},"startDeviceIpAddress":{"type":"string"},"startPortAddress":{"type":"string"},"startPortDuplex":{"type":"string"},"startPortId":{"type":"string"},"startPortMask":{"type":"string"},"startPortName":{"type":"string"},"startPortPepId":{"type":"string"},"startPortSpeed":{"type":"string"},"lastUpdated":{"type":"string"},"numUpdates":{"type":"number"},"avgUpdateFrequency":{"type":"number"},"type":{"type":"string"},"instanceUuid":{"type":"string"},"instanceTenantId":{"type":"string"}}}},"version":{"type":"string"}},"$$ref":"#/definitions/InventoryInsightDeviceLinkMismatchAPIResponse"}},"204":{"description":"The request was successful, however no content was returned.\t"},"400":{"description":"The client made a request that the server could not understand (for example, the request syntax is incorrect).\t"},"500":{"description":"The server could not fulfill the request"}},"__originalOperationId":"inventoryInsightDeviceLinkMismatchAPI","method":"get","path":"/dna/intent/api/v1/network-device/insight/{siteId}/device-link"}}