{"type":"api","title":"Get Supported Commands List","meta":{"id":"/apps/pubhub/media/cisco-catalyst-sd-wan-api-guide-20-18/1c4807bcb76af36988ebb37dc2e455b1787a155e/744a8207-9965-344e-aed3-d3ef846a4950","info":{"title":"Others","description":"Other APIs\n- Include APIs that do not belong to other categories\n","contact":{"email":"vmanage@cisco.com"},"version":"20.18 - 2025-08-15"},"openapi":"3.1.0","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/ComViptelaVmanageServerFilebasedRealtimeDatacollectionDatacollectionapiResponseExampleSupportedCommands200"},"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/ComViptelaVmanageServerFilebasedRealtimeDatacollectionDatacollectionapiResponseExampleSupportedCommands400"}}}}},"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/ComViptelaVmanageServerFilebasedRealtimeDatacollectionDatacollectionapiResponseExampleSupportedCommands500"}}}}}},"x-roles-required":"System-read,System-write","method":"get","path":"/device/file-based/data-collection/supported-commands/{deviceUUID}"}}