{"type":"api","title":"Reboots CDG. Users with R/W privileges execute","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/e05c97f6-c05c-3a2b-97ed-ca9f414d72b7","info":{"title":"Crosswork Data Gateway Troubleshooting API","description":"APIs to support CDG 3.0.0 troubleshooting","version":"7.1.0","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"http://www.cisco.com/public/sw-license-agreement.html"}},"security":[{"bearerAuth":[]}],"x-parser-conf":{"overview":{"markdownPath":"reference/CDG/cdg_troubleshooting_api_overview.md"}},"swagger":"2.0","basePath":"/crosswork/dg-manager/v1","schemes":["https"],"securityDefinitions":{"bearerAuth":{"type":"apiKey","name":"Authorization","in":"header","description":"Bearer Auth Token"}}},"spec":{"summary":"Reboots CDG. Users with R/W privileges execute.","operationId":"SubmitRebootCommand","deprecated":false,"produces":["application/json"],"consumes":["application/json "],"parameters":[{"name":"Body","in":"body","required":true,"description":"Request payload to reboot CDG","schema":{"title":"RebootCommandPayload","example":{"id":"3003","commandName":"REBOOT_VM","clientId":{"uuid":"c9582aba-456c-43b7-aab0-605e28c6f131"}},"type":"object","properties":{"id":{"type":"string"},"commandName":{"type":"string"},"clientId":{"title":"ClientId","example":{"uuid":"d58de587-5da2-4a62-b010-32395acc8dbc"},"type":"object","properties":{"uuid":{"type":"string"}},"required":["uuid"],"$$ref":"#/definitions/ClientId"}},"required":["id","commandName","clientId"],"$$ref":"#/definitions/SubmitRebootCommand"}}],"responses":{"200":{"description":"OK. The reboot data gateway command got submitted. Check the operational status of Data Gateway to determine it got rebooted.","schema":{"title":"RebootStatusResponse","example":{"clientId":{"uuid":"f3395806-a44f-45fa-9760-01d35425d002"},"responseId":"e8507fb4-1163-42f3-b656-df1fdacd17f9","commandName":"REBOOT_VM","value":{"cdgRebootResponse":{"rebootTriggerTime":"2024-02-02T07:04:10.059577857Z"}},"status":"SUCCESS"},"type":"object","properties":{"clientId":{"type":"object"},"uuid":{"type":"string"},"responseId":{"type":"string"},"commandName":{"type":"string"},"value":{"type":"object"},"cdgRebootResponse":{"type":"object"},"rebootTriggerTime":{"type":"string"},"status":{"type":"string"}},"$$ref":"#/definitions/RebootStatusResponse"},"headers":{}},"400":{"description":"Bad Request. The request is malformed in some way and the server cannot process it."}},"__originalOperationId":"SubmitRebootCommand","security":[{"bearerAuth":[]}],"method":"post","path":"/command/reboot"}}