summaryrefslogtreecommitdiff
path: root/docs/development/vyos_api/show.json
blob: 3576e436815a5bbd4c3b58bf3d80dee4925dba4f (plain)
1
2
{"command":"show","operation":"show","description":"Execute show commands to display system information.","endpoint":"/show","method":"POST","request":{"payload":{"data":{"op":"show","path":["system","image"]},"key":"your-api-key"},"example":{"op":"show","path":["system","image"]}},"response":{"success":{"success":true,"data":"Name                   Default boot    Running\n------------------------  --------------  ---------\n1.5-rolling-202407300021       Yes           Yes","error":null},"error":{"success":false,"data":null,"error":"Command not found"}},"parameters":{"path":{"type":"array","required":false,"description":"Command path for show operation","default":[],"example":["system","image"]}},"python_usage":"device.show(path=[\"system\", \"image\"])"}