{"type":"api","title":"Get Supported Commands List","meta":{"id":"/apps/pubhub/media/sd-wan-api-20-16/58fb893fa751949ea20a40274e9ab219a20e19fa/e77267b5-7b4b-3f93-807c-c6d1c6b41343","info":{"title":"Cisco Catalyst SD-WAN Manager API","description":"The vManage API exposes the functionality of operations maintaining devices and the overlay network","contact":{"email":"vmanage@cisco.com"},"license":{"name":"Commercial License","url":"https://www.cisco.com/c/en/us/solutions/enterprise-networks/sd-wan/index.html"},"version":"2.0.0"},"openapi":"3.0.1","servers":[{"url":"/dataservice"}]},"spec":{"tags":["File based RealTime Data Collection - Get Supported Commands List for a Device UUID"],"description":"Get Supported Command list for given Device UUID","operationId":"getSupportedCommandsList","parameters":[{"name":"deviceUUID","in":"path","description":"Device UUID","required":true,"schema":{"type":"string"},"example":"C8K-5e87e5c3-0923-4364-a729-d65d40298d76"}],"responses":{"200":{"description":"Supported Command list for given Device","content":{"application/json":{"schema":{"type":"string"},"examples":{"Response for Device with Supported Commands":{"description":"Response for Device with Supported Commands","value":[{"options":["csv-file","json-file"],"command":"OMP Advertised Routes"},{"options":["csv-file","json-file"],"command":"OMP Received Routes"}],"$$ref":"#/components/examples/supported-commands200"},"Response for Device with No Supported Commands":{"description":"Response for Device with No Supported Commands","value":{}}}}}},"400":{"description":"Bad Request or Parameter","content":{"application/json":{"schema":{"type":"object","properties":{"errorMessage":{"type":"string","description":"Message about bad request or parameters errors"},"errorType":{"type":"string","description":"Type of error"},"operation":{"type":"string","description":"Operation title"}},"$$ref":"#/components/schemas/HttpError"},"examples":{"400 - Bad Request or Parameters":{"description":"400 - Bad Request or Parameters","value":{"operation":"Initiate file generation","errorType":"Invalid Payload or Parameter(s)","errorMessage":"Empty/Invalid Device IP"},"$$ref":"#/components/examples/supported-commands400"}}}}},"403":{"description":"Forbidden"},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"errorMessage":{"type":"string","description":"Message about bad request or parameters errors"},"errorType":{"type":"string","description":"Type of error"},"operation":{"type":"string","description":"Operation title"}},"$$ref":"#/components/schemas/HttpError"},"examples":{"500 - Internal Error":{"description":"500 - Internal Error","value":{"operation":"Download generated file for UUID : b81467bb-9827-46a0-8db8-f742d4d91c0a","errorType":"General or Internal Error","errorMessage":"Data Collection state is in-progress, Cannot download file at this moment"},"$$ref":"#/components/examples/supported-commands500"}}}}}},"x-roles-required":"System-read,System-write","__originalOperationId":"getSupportedCommandsList","method":"get","path":"/device/file-based/data-collection/supported-commands/{deviceUUID}"}}