{"type":"api","title":"Get Network Manager Jobs","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/e7cf6406-31b8-3f42-91c0-19f86a4708d2","info":{"title":"Crosswork VM Node Install APIs","description":"Crosswork VM Node Install APIs allow users to add and delete nodes.","version":"3.0.0","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"https://www.cisco.com/public/sw-license-agreement.html"}},"security":[{"bearerAuth":[]}],"x-parser-conf":{"overview":{"markdownPath":"reference/INFRA/VM_INSTALL/vm-install-overview.md"}},"swagger":"2.0","basePath":"/crosswork/platform/v1","schemes":["http","https"],"securityDefinitions":{"bearerAuth":{"type":"apiKey","name":"Authorization","in":"header","description":"Bearer token for API authentication."}}},"spec":{"description":"Get Network Manager Jobs","summary":"Get Network Manager Jobs","operationId":"CwVmMangager_GetVMMTasks","responses":{"200":{"description":"A successful response.","schema":{"type":"object","properties":{"NmTasks":{"type":"array","items":{"type":"object","properties":{"NmTaskId":{"type":"string"},"NmTaskType":{"type":"string","enum":["None","Deploy","Erase","Refresh","Plan","Add","Update","Delete","DrainRemove"],"default":"None","example":"Deploy","$$ref":"#/definitions/install_apiVMMTaskTypes"},"CwVMs":{"type":"array","items":{"type":"string"}},"TimeInitiated":{"type":"string"},"TimeCompleted":{"type":"string"},"Status":{"type":"string","enum":["CANCELLED","FAILED","SUCCESSFUL","QUEUED","RUNNING","IDLE"],"default":"CANCELLED","example":"SUCCESSFUL","$$ref":"#/definitions/install_apiOpStatus"},"Username":{"type":"string"},"InstallerVersion":{"type":"string"},"RunOpts":{"type":"object","additionalProperties":{"type":"string"}},"Output":{"type":"string"},"Error":{"type":"string"},"ClusterId":{"type":"string"},"DcId":{"type":"string"},"ManifestFile":{"type":"string"}},"example":{"NmTaskId":"task1","NmTaskType":"Deploy","CwVMs":["vm1","vm2"],"TimeInitiated":"2023-10-01T12:00:00Z","TimeCompleted":"2023-10-01T14:00:00Z","Status":"SUCCESSFUL","Username":"admin","InstallerVersion":"1.0","RunOpts":{"option1":"value1"},"Output":"Task completed successfully.","Error":"","ClusterId":"cluster1","DcId":"dc1","ManifestFile":"manifest.json"},"$$ref":"#/definitions/install_apiVMMTask"}}},"example":{"NmTasks":[{"NmTaskId":"task1","NmTaskType":"Deploy","CwVMs":["vm1","vm2"],"TimeInitiated":"2023-10-01T12:00:00Z","TimeCompleted":"2023-10-01T14:00:00Z","Status":"SUCCESSFUL","Username":"admin","InstallerVersion":"1.0","RunOpts":{"option1":"value1"},"Output":"Task completed successfully.","Error":"","ClusterId":"cluster1","DcId":"dc1","ManifestFile":"manifest.json"}]},"$$ref":"#/definitions/install_apiVMMTaskResults"}},"default":{"description":"An unexpected error response.","schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"type_url":{"type":"string"},"value":{"type":"string","format":"byte"}},"example":{"type_url":"type.googleapis.com/google.protobuf.Any","value":"Error details in binary format"},"$$ref":"#/definitions/protobufAny"}}},"example":{"error":"RuntimeException","code":500,"message":"An unexpected error occurred during execution.","details":[{"type_url":"type.googleapis.com/google.protobuf.Any","value":"Error details in binary format"}]},"$$ref":"#/definitions/runtimeError"}}},"parameters":[{"name":"filter.pageSize","in":"query","required":false,"type":"integer","format":"int32","description":"Number of items per page."},{"name":"filter.pageNum","in":"query","required":false,"type":"integer","format":"int32","description":"Current page number."},{"name":"filterData.status","in":"query","required":false,"type":"string","description":"Filter by job status."},{"name":"filterData.jobType","in":"query","required":false,"type":"string","description":"Filter by type of job."},{"name":"filterData.jobName","in":"query","required":false,"type":"string","description":"Filter by name of job."}],"tags":["CwVmMangager"],"__originalOperationId":"CwVmMangager_GetVMMTasks","consumes":["application/json"],"produces":["application/json"],"security":[{"bearerAuth":[]}],"method":"get","path":"/node-manager/tasks"}}