{"type":"api","title":"List OPM packages","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/626dd804-6373-331d-9071-0ed2b4ccac21","info":{"description":"This API provides operations for managing OPM packages, including uploading, deleting, listing, and retrieving logs.","version":"7.1.0","title":"Cisco Crosswork OPM Operations API","contact":{"name":"API Support","url":"https://www.cisco.com/support","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"http://www.cisco.com/public/sw-license-agreement.html"}},"swagger":"2.0","host":"localhost:30603","basePath":"/crosswork/nbi/optimization/v3/restconf","securityDefinitions":{"api_key":{"description":"Authentication: Bearer $JWT","type":"apiKey","name":"api_key","in":"header"}}},"spec":{"operationId":"listOpmPackage","tags":["cisco-crosswork-optimization-engine-opm-operations"],"summary":"List OPM packages","description":"Lists all installed OPM packages.","parameters":[],"responses":{"200":{"description":"Correct response","schema":{"type":"object","properties":{"output":{"type":"object","properties":{"message":{"type":"string","description":"The details of status above"},"status":{"description":"Enumeration of the request state","type":"string","enum":["error","accepted","rejected"],"$$ref":"#/definitions/common.RequestStatus"},"installed-packages":{"type":"array","items":{"type":"object","properties":{"version":{"type":"string","description":"Version of the OPM package."},"package-name":{"type":"string","description":"Name of the OPM package."}},"$$ref":"#/definitions/opm.operations.listopmpackage.output.InstalledPackages"}}},"$$ref":"#/definitions/opm.operations.listopmpackage.Output"}}}},"204":{"description":"No response"},"400":{"description":"Internal error"}},"__originalOperationId":"listOpmPackage","consumes":["application/yang-data+json"],"produces":["application/yang-data+json"],"method":"post","path":"/operations/cisco-crosswork-optimization-engine-opm-operations:list-opm-package"}}