{"type":"api","title":"Deploy cat-function-packs","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/7dc17182-c0a2-3a06-aef0-fb5fc1dcca2f","info":{"title":"cat-fp-deployment-manager service APIs","description":"APIs exposed by cat-fp-deployment-manager service","termsOfService":"http://www.cisco.com/web/siteassets/legal/terms_condition.html","contact":{"name":"Cisco Systems","url":"https://www.cisco.com","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"http://www.cisco.com/public/sw-license-agreement.html"},"version":"7.1.0"},"security":[{"bearerAuth":[]}],"x-parser-conf":{"overview":{"markdownPath":"reference/CNC/cat-fp-deployment-manager-api-overview.md"}},"openapi":"3.0.1","servers":[{"url":"https://{cnc-host}:{cnc-port}/crosswork/cat/cat-fp-deployment-manager-service/v1","variables":{"cnc-host":{"default":"127.0.0.1","description":"host name or ip address of the target CNC Cluster"},"cnc-port":{"default":"30603","description":"port number of the target CNC Cluster"}}}],"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"spec":{"tags":["cat-fp-deployer"],"summary":"Deploy cat-function-packs","description":"Deploys or redeploys the cat function packages specified that are in packages directory by running the 2 phase commit.","operationId":"deploy","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"},"example":"{\"deployment_result\":\"CNC Function Packs DEPLOYED At time: 2023-06-13_19-08-32\",\"status\":\"OK\"}"}}},"500":{"description":"Internal server error"},"503":{"description":"Service Unavailable"}},"__originalOperationId":"deploy","security":[{"bearerAuth":[]}],"method":"post","path":"/twophasecommitrunner/deploy"}}